Skip to content

Curator pip install: flash-attn build issue: ModuleNotFoundError: No module named 'torch' #1333

@pablo-garay

Description

@pablo-garay

This is expected behavior for the OPTIONAL pip job!
The error ModuleNotFoundError: No module named 'torch' is the known flash-attn build issue:

  • flash-attn's setup.py tries to import torch during build
  • But pip can't install build-time dependencies first
Image

pip job fails , while the required uv job passes (uv handles build deps via lockfile)

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