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

fix build: stream type #30

Merged
merged 1 commit into from
Oct 9, 2024
Merged

fix build: stream type #30

merged 1 commit into from
Oct 9, 2024

Conversation

tenpercent
Copy link
Collaborator

#9 24.95 /opt/xformers/xformers/csrc/attention/hip_decoder/attention_forward_decoder.hip:100:27: error: no member named 'getCurrentHIPStream' in namespace 'at::cuda'; did you mean 'getCurrentCUDAStream'?
#9 24.95   100 |   auto stream = at::cuda::getCurrentHIPStream().stream();
#9 24.95       |                 ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
#9 24.95       |                           getCurrentCUDAStream
#9 24.95 /.venv/lib/python3.11/site-packages/torch/include/c10/hip/HIPStream.h:244:20: note: 'getCurrentCUDAStream' declared here
#9 24.95   244 | C10_API CUDAStream getCurrentCUDAStream(DeviceIndex device_index = -1);
#9 24.95       |                    ^

@qianfengz qianfengz merged commit 93524db into ROCm:develop Oct 9, 2024
3 of 6 checks passed
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

Successfully merging this pull request may close these issues.

2 participants