Skip to content

raise error cuda12.6 pytorch 2.10, vllm0.18.0 when install flash-attn==2.8.1  #2783

Description

@cqray1990

which flash-attn satisfied cuda 12.6 pytoch 2.10

File "anaconda3/envs/verl_env/lib/python3.12/site-packages/torch/utils/cpp_extension.py", line 545, in _check_cuda_version
raise RuntimeError(CUDA_MISMATCH_MESSAGE, cuda_str_version, torch.version.cuda)
RuntimeError: ('The detected CUDA version (%s) mismatches the version that was used to compilePyTorch (%s). Please make sure to use the same CUDA versions.', '12.6', '13.0')
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions