Skip to content

[BUG]: ImportError: cannot import name 'ColoInitContext' from 'colossalai.zero' #3447

@Luoyang144

Description

@Luoyang144

🐛 Describe the bug

I have install colossal with CUDA_EXT=1 pip install colossalai, and get following error:
ImportError: cannot import name 'ColoInitContext' from 'colossalai.zero' (/xxx/xxxx/anaconda3/envs/colossai/lib/python3.9/site-packages/colossalai/zero/__init__.py)
Command are same as here, how can I solve this problem?

Environment

Install with requirements.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions