Skip to content

[BUG]: colossalai check -i failed after installation both from PyPl and source #2802

@MDLS-Delores

Description

@MDLS-Delores

🐛 Describe the bug

I encounter this bug using "colossalai check -i" right after the installation.
File "../anaconda3/envs/base/lib/python3.8/site-packages/torch/_ops.py", line 485, in getattr
raise AttributeError(
AttributeError: The underlying op of 'aten.upsample_nearest2d_backward' has no overload name 'vec'

And this can be traced to file 'anaconda3/envs/base/lib/python3.8/site-packages/colossalai/fx/profiler/opcount.py' at line 273, aten.upsample_nearest2d_backward.vec: elementwise_flop_counter(0, 1).

Environment

CUDA 12.0/PyTorch 2.0.0/Pytorch-cuda 11.8/python 3.8.16/colossalai 0.2.5

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