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

[ROCm] remove HCC references #111975

Closed
wants to merge 4 commits into from
Closed

Conversation

jeffdaily
Copy link
Collaborator

@jeffdaily jeffdaily commented Oct 24, 2023

  • rename __HIP_PLATFORM_HCC__ to __HIP_PLATFORM_AMD__
  • rename HIP_HCC_FLAGS to HIP_CLANG_FLAGS
  • rename PYTORCH_HIP_HCC_LIBRARIES to PYTORCH_HIP_LIBRARIES
  • workaround in tools/amd_build/build_amd.py until submodules are updated

These symbols have had a long deprecation cycle and will finally be removed in ROCm 6.0.

cc @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang

- rename `__HIP_PLATFORM_HCC__` to `__HIP_PLATFORM_AMD__`
- rename `HIP_HCC_FLAGS` to `HIP_CLANG_FLAGS`
- rename `PYTORCH_HIP_HCC_LIBRARIES` to `PYTORCH_HIP_LIBRARIES`
- workaround in tools/amd_build/build_amd.py until submodules are updated

These symbols have had a long deprecation cycle and will finally be removed in ROCm 6.0.
@pytorch-bot
Copy link

pytorch-bot bot commented Oct 24, 2023

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/111975

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit a502e87 with merge base b600aed (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@ezyang ezyang added release notes: rocm mandatorylabel topic: not user facing topic category labels Oct 25, 2023
@ezyang
Copy link
Contributor

ezyang commented Oct 25, 2023

lint

@jeffdaily
Copy link
Collaborator Author

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Oct 26, 2023
@pytorchmergebot
Copy link
Collaborator

Merge started

Your 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

Advanced Debugging
Check the merge workflow status
here

andreigh pushed a commit to andreigh/pytorch that referenced this pull request Oct 26, 2023
- rename `__HIP_PLATFORM_HCC__` to `__HIP_PLATFORM_AMD__`
- rename `HIP_HCC_FLAGS` to `HIP_CLANG_FLAGS`
- rename `PYTORCH_HIP_HCC_LIBRARIES` to `PYTORCH_HIP_LIBRARIES`
- workaround in tools/amd_build/build_amd.py until submodules are updated

These symbols have had a long deprecation cycle and will finally be removed in ROCm 6.0.

Pull Request resolved: pytorch#111975
Approved by: https://github.com/ezyang, https://github.com/hongxiayang
xuhancn pushed a commit to xuhancn/pytorch that referenced this pull request Nov 7, 2023
- rename `__HIP_PLATFORM_HCC__` to `__HIP_PLATFORM_AMD__`
- rename `HIP_HCC_FLAGS` to `HIP_CLANG_FLAGS`
- rename `PYTORCH_HIP_HCC_LIBRARIES` to `PYTORCH_HIP_LIBRARIES`
- workaround in tools/amd_build/build_amd.py until submodules are updated

These symbols have had a long deprecation cycle and will finally be removed in ROCm 6.0.

Pull Request resolved: pytorch#111975
Approved by: https://github.com/ezyang, https://github.com/hongxiayang
github-merge-queue bot pushed a commit to microsoft/DeepSpeed that referenced this pull request Nov 8, 2023
This PR is required in addition to
#4539 to define
HIP_PLATFORM_AMD on ROCm.

This is required for DeepSpeed non-JIT build. For JIT build we have
#4570.

This is required for DeepSpeed extensions build in those docker images
with PyTorch built before
pytorch/pytorch#111975.

cc: @jeffdaily @jithunnair-amd

Co-authored-by: Logan Adams <114770087+loadams@users.noreply.github.com>
Skylion007 pushed a commit to Skylion007/pytorch that referenced this pull request Nov 14, 2023
- rename `__HIP_PLATFORM_HCC__` to `__HIP_PLATFORM_AMD__`
- rename `HIP_HCC_FLAGS` to `HIP_CLANG_FLAGS`
- rename `PYTORCH_HIP_HCC_LIBRARIES` to `PYTORCH_HIP_LIBRARIES`
- workaround in tools/amd_build/build_amd.py until submodules are updated

These symbols have had a long deprecation cycle and will finally be removed in ROCm 6.0.

Pull Request resolved: pytorch#111975
Approved by: https://github.com/ezyang, https://github.com/hongxiayang
@jithunnair-amd jithunnair-amd added the rocm This tag is for PRs from ROCm team label Dec 13, 2023
lubosz pushed a commit to lubosz/pytorch that referenced this pull request Jan 4, 2024
- rename `__HIP_PLATFORM_HCC__` to `__HIP_PLATFORM_AMD__`
- rename `HIP_HCC_FLAGS` to `HIP_CLANG_FLAGS`
- rename `PYTORCH_HIP_HCC_LIBRARIES` to `PYTORCH_HIP_LIBRARIES`
- workaround in tools/amd_build/build_amd.py until submodules are updated

These symbols have had a long deprecation cycle and will finally be removed in ROCm 6.0.

Pull Request resolved: pytorch#111975
Approved by: https://github.com/ezyang, https://github.com/hongxiayang
mauryaavinash95 pushed a commit to mauryaavinash95/DeepSpeed that referenced this pull request Feb 17, 2024
This PR is required in addition to
microsoft#4539 to define
HIP_PLATFORM_AMD on ROCm.

This is required for DeepSpeed non-JIT build. For JIT build we have
microsoft#4570.

This is required for DeepSpeed extensions build in those docker images
with PyTorch built before
pytorch/pytorch#111975.

cc: @jeffdaily @jithunnair-amd

Co-authored-by: Logan Adams <114770087+loadams@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/rocm ciflow/trunk Trigger trunk jobs on your pull request Merged module: rocm AMD GPU support for Pytorch open source release notes: rocm mandatorylabel rocm This tag is for PRs from ROCm team topic: not user facing topic category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants