Skip to content

Small Issue in the Installation Instructions #384

@EliMCosta

Description

@EliMCosta

Getting an issue when trying installation following the Readme doc.
System:

Fedora Linux 42 (Workstation Edition), amd64
96GiB RAM
Python 3.11 venv
Nvidia RTX Ada GPUs

Command:

$ uv pip install ninja triton "flash-attn>=2.5.0" --no-build-isolation

Get:

Using Python 3.11.12 environment at: nanotron
Resolved 26 packages in 177ms
  × Failed to build `flash-attn==2.8.2`
  ├─▶ The build backend returned an error
  ╰─▶ Call to `setuptools.build_meta:__legacy__.build_wheel` failed (exit status: 1)

      [stderr]
      Traceback (most recent call last):
        File "<string>", line 8, in <module>
      ModuleNotFoundError: No module named 'setuptools'

      hint: This usually indicates a problem with the package or the build environment.

Should be:

Using Python 3.11.12 environment at: nanotron
Resolved 26 packages in 14ms
     Built flash-attn==2.8.2
Prepared 1 package in 16.13s
Installed 3 packages in 2ms
+ einops==0.8.1
+ flash-attn==2.8.2
+ ninja==1.11.1.4

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