Skip to content

Cuda mismatch error when building module for ModuleNotFoundError: No module named 'MultiScaleDeformableAttention' #46

@zubairahmed-ai

Description

@zubairahmed-ai

I am facing when running I faced ModuleNotFoundError: No module named 'MultiScaleDeformableAttention' error so I tried unicorn/models/ops/python setup.py build and python setup.py install but I am getting the error below

raise RuntimeError(CUDA_MISMATCH_MESSAGE.format(cuda_str_version, torch.version.cuda)) RuntimeError: The detected CUDA version (10.1) mismatches the version that was used to compile PyTorch (11.7). Please make sure to use the same CUDA versions.

I see that Deformable-DETR is only available until 10.1 or something below, how to fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions