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

Are cuda aarch64 build available anywhere? #1856

Open
gdippolito opened this issue Jun 5, 2024 · 3 comments
Open

Are cuda aarch64 build available anywhere? #1856

gdippolito opened this issue Jun 5, 2024 · 3 comments

Comments

@gdippolito
Copy link

Hello,

I'm interested in trying out a Pytorch build for CUDA 12.4 and aarch64 architecture.

Are those available anywhere?

Thanks,

@nWEIdia
Copy link
Collaborator

nWEIdia commented Jun 7, 2024

Yes, you can use
pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu124 (we are actively developing and maintaining it, e.g. tomorrow the wheel will feature cudnn v9).

As an alternative, below is a binary that has been verified as of now that you can just wget it.

https://download.pytorch.org/whl/nightly/cu124/torch-2.4.0.dev20240606%2Bcu124-cp310-cp310-linux_aarch64.whl
If you use other python version, we support 3.8 -> 3.12.

As an example: you can use ubuntu:22.04 container (on arm) to use the above command,
apt update && apt install python3 python3-pip python3-venv
apt-get install libopenblas-dev (required for libgFortran.so)

cc @tinglvv @ptrblck @atalman

@gdippolito
Copy link
Author

Thanks!
If I want to use a release tag what would the URL be? For example I would like to use 2.3.0 with CUDA 12.4 for aarch64. Would that be available somewhere?

@nWEIdia
Copy link
Collaborator

nWEIdia commented Jun 7, 2024

Currently CUDA 12.4 for aarch64 is only available in nightly. p.s. cuda 12.4 support was only added after v2.3.0, so it is not possible to use cuda12.4 with 2.3.0.
There is a very good likelihood that v2.4.0 in short future could have cuda 12.4 aarch64 binary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants