Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Fix torch install on ARM #2095

Open
2 tasks done
dagardner-nv opened this issue Jan 3, 2025 · 0 comments
Open
2 tasks done

[BUG]: Fix torch install on ARM #2095

dagardner-nv opened this issue Jan 3, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@dagardner-nv
Copy link
Contributor

dagardner-nv commented Jan 3, 2025

Version

25.02

Which installation method(s) does this occur on?

Docker

Describe the bug.

Pre-built wheels for torch with Cuda support for ARM are new:
https://discuss.pytorch.org/t/pytorch-arm-cuda-support/208857/4

The CUDA builds for x86_64 contain a version postfix of +cu124 in the metadata of the wheel, allowing the user to specify the CUDA build.

The wheels for ARM lack this, requiring torch to be installed with:

pip install --index-url https://download.pytorch.org/whl/cu124 torch==2.4.0

However specifying --index-url in a requirements file would prevent other dependencies from being installed, and performing pip install --extra-index-url https://download.pytorch.org/whl/cu124 torch==2.4.0 will install a CPU-only version of torch.

Minimum reproducible example

pip install --extra-index-url https://download.pytorch.org/whl/cu124 torch==2.4.0+cu124

Relevant log output

Click here to see error details

[Paste the error here, it will be hidden by default]

Full env printout

Click here to see environment details

[Paste the results of print_env.sh here, it will be hidden by default]

Other/Misc.

No response

Code of Conduct

  • I agree to follow Morpheus' Code of Conduct
  • I have searched the open bugs and have found no duplicates for this bug report
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

1 participant