[CUDA12] Make PyTorch compatible with CUDA 12#91118
[CUDA12] Make PyTorch compatible with CUDA 12#91118jianyuh wants to merge 1 commit intopytorch:masterfrom
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/91118
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 35f7265: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
fyi @ptrblck |
torch/csrc/cuda/shared/cudart.cpp
Outdated
There was a problem hiding this comment.
does cudaProfilerInitialize not work anymore?
There was a problem hiding this comment.
Thanks! Just add some fix.
torch/csrc/cuda/shared/cudart.cpp
Outdated
There was a problem hiding this comment.
and this would prevent profiler initialization?
There was a problem hiding this comment.
Thanks! Just add some fix.
ngimel
left a comment
There was a problem hiding this comment.
Stamp to unblock, but we should have a proper task listing things that need to be done for cuda 12.
a5cc27b to
c182754
Compare
|
@jianyuh has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
c182754 to
8b876b4
Compare
|
@jianyuh has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
8b876b4 to
548f2c9
Compare
|
@jianyuh has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
548f2c9 to
c4d39a5
Compare
|
The merge job was canceled. If you believe this is a mistake,then you can re trigger it through pytorch-bot. |
|
@pytorchbot merge |
|
@jianyuh has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
|
The merge job was canceled. If you believe this is a mistake,then you can re trigger it through pytorch-bot. |
c4d39a5 to
223c56a
Compare
223c56a to
35f7265
Compare
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
|
@jianyuh has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Fix the failure when building PyTorch from source code using CUDA 12
After these fixes, we can see CUDA 12 is successfully built with OSS PyTorch instructions.
USE_CUDA=1 python setup.py develop 2>&1 | tee compile.log
cc @ngimel