Skip to content

installation issue #12

@haiyunho

Description

@haiyunho

error log :

Looking in indexes: https://mirror.sjtu.edu.cn/pypi/web/simple, https://pypi.ngc.nvidia.com
Processing /mnt/sh_flex_storage/home/haiyunho/projects/fast-hadamard-transform
Preparing metadata (setup.py) ... done
Requirement already satisfied: torch in /mnt/sh_flex_storage/home/haiyunho/.local/apps/mambaforge/envs/miniforgellm/lib/python3.10/site-packages (from fast_hadamard_transform==1.0.4.post1) (2.0.1)
Requirement already satisfied: packaging in /mnt/sh_flex_storage/home/haiyunho/.local/apps/mambaforge/envs/miniforgellm/lib/python3.10/site-packages (from fast_hadamard_transform==1.0.4.post1) (24.2)
Collecting ninja (from fast_hadamard_transform==1.0.4.post1)
Downloading https://mirror.sjtu.edu.cn/pypi-packages/6b/35/a8e38d54768e67324e365e2a41162be298f51ec93e6bd4b18d237d7250d8/ninja-1.11.1.3-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (422 kB)
Requirement already satisfied: filelock in /mnt/sh_flex_storage/home/haiyunho/.local/apps/mambaforge/envs/miniforgellm/lib/python3.10/site-packages (from torch->fast_hadamard_transform==1.0.4.post1) (3.17.0)
Requirement already satisfied: typing-extensions in /mnt/sh_flex_storage/home/haiyunho/.local/apps/mambaforge/envs/miniforgellm/lib/python3.10/site-packages (from torch->fast_hadamard_transform==1.0.4.post1) (4.12.2)
Requirement already satisfied: sympy in /mnt/sh_flex_storage/home/haiyunho/.local/apps/mambaforge/envs/miniforgellm/lib/python3.10/site-packages (from torch->fast_hadamard_transform==1.0.4.post1) (1.13.1)
Requirement already satisfied: networkx in /mnt/sh_flex_storage/home/haiyunho/.local/apps/mambaforge/envs/miniforgellm/lib/python3.10/site-packages (from torch->fast_hadamard_transform==1.0.4.post1) (3.4.2)
Requirement already satisfied: jinja2 in /mnt/sh_flex_storage/home/haiyunho/.local/apps/mambaforge/envs/miniforgellm/lib/python3.10/site-packages (from torch->fast_hadamard_transform==1.0.4.post1) (3.1.5)
Requirement already satisfied: MarkupSafe>=2.0 in /mnt/sh_flex_storage/home/haiyunho/.local/apps/mambaforge/envs/miniforgellm/lib/python3.10/site-packages (from jinja2->torch->fast_hadamard_transform==1.0.4.post1) (3.0.2)
Requirement already satisfied: mpmath<1.4,>=1.1.0 in /mnt/sh_flex_storage/home/haiyunho/.local/apps/mambaforge/envs/miniforgellm/lib/python3.10/site-packages (from sympy->torch->fast_hadamard_transform==1.0.4.post1) (1.3.0)
Building wheels for collected packages: fast_hadamard_transform
Building wheel for fast_hadamard_transform (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [10 lines of output]

  torch.__version__  = 2.0.1


  /mnt/sh_flex_storage/home/haiyunho/.local/apps/mambaforge/envs/minillm/pkgs/cuda-toolkit/
  running bdist_wheel
  Guessing wheel URL:  https://github.com/Dao-AILab/fast-hadamard-transform/releases/download/v1.0.4.post1/fast_hadamard_transform-1.0.4.post1+cu118torch2.0cxx11abiFALSE-cp310-cp310-linux_x86_64.whl
  Raw wheel path /tmp/pip-wheel-tfmzbj2r/fast_hadamard_transform-1.0.4.post1-cp310-cp310-linux_x86_64.whl
  error: [Errno 18] Invalid cross-device link: 'fast_hadamard_transform-1.0.4.post1+cu118torch2.0cxx11abiFALSE-cp310-cp310-linux_x86_64.whl' -> '/tmp/pip-wheel-tfmzbj2r/fast_hadamard_transform-1.0.4.post1-cp310-cp310-linux_x86_64.whl'
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for fast_hadamard_transform
Running setup.py clean for fast_hadamard_transform
Failed to build fast_hadamard_transform
ERROR: Failed to build installable wheels for some pyproject.toml based projects (fast_hadamard_transform)

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