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

cuda 12.0 support request for building pytorch from source code #99722

Open
yudonglee opened this issue Apr 21, 2023 · 4 comments
Open

cuda 12.0 support request for building pytorch from source code #99722

yudonglee opened this issue Apr 21, 2023 · 4 comments
Labels
enhancement Not as big of a feature, but technically not a bug. Should be easy to fix module: build Build system issues module: cuda Related to torch.cuda, and CUDA support in general triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Comments

@yudonglee
Copy link

yudonglee commented Apr 21, 2023

🚀 The feature, motivation and pitch

Motivation:
It does support cuda 12.1, but it does not support cuda 12.0
According to the doc: https://github.com/pytorch/pytorch#from-source , the magma-cuda* that does not match the CUDA version 12.0 from https://anaconda.org/pytorch/repo. Only magma-cuda121 can be found, no magma-cuda120

feature: please support cuda 12.0 for building pytorch from source code

Thank you!

Alternatives

No response

Additional context

No response

cc @malfet @seemethere @ngimel

@ezyang ezyang added module: build Build system issues module: cuda Related to torch.cuda, and CUDA support in general triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module labels Apr 21, 2023
@malfet
Copy link
Contributor

malfet commented Apr 21, 2023

@yudonglee please do not hesitate to propose a PR against https://github.com/pytorch/builder to enable CUDA-12.0 magma builds.

But just curious, why CUDA-12.0 builds will be beneficial when 12.1 is already available?

@malfet malfet added the enhancement Not as big of a feature, but technically not a bug. Should be easy to fix label Apr 21, 2023
@ExtReMLapin
Copy link

@yudonglee please do not hesitate to propose a PR against https://github.com/pytorch/builder to enable CUDA-12.0 magma builds.

But just curious, why CUDA-12.0 builds will be beneficial when 12.1 is already available?

There are some systems with very specific drivers versions, for example nVidia GRID drivers, where are not always available in all versions on all systems.

For example here we're stuck on drivers with cuda support for 12.0 only.

@yudonglee
Copy link
Author

@yudonglee please do not hesitate to propose a PR against https://github.com/pytorch/builder to enable CUDA-12.0 magma builds.

But just curious, why CUDA-12.0 builds will be beneficial when 12.1 is already available?

On my computer environment, it's not available to update cuda's version to 12.1

Anyway, I still have any clue on how to fix this. Need some help here :)

@yudonglee yudonglee reopened this Jun 25, 2023
@bryantbiggs
Copy link
Contributor

xref pytorch/builder#1759

but if I am reading the builder repo correctly, the version of magma used is quite dated and does not support CUDA12 or Hopper arch. I don't know what "support" means in this context, otherwise if it truly wasn't supported I imagine an issue would have been raised earlier for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Not as big of a feature, but technically not a bug. Should be easy to fix module: build Build system issues module: cuda Related to torch.cuda, and CUDA support in general triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Projects
None yet
Development

No branches or pull requests

5 participants