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

Switch from HIP_PLATFORM_HCC to HIP_PLATFORM_AMD #4539

Merged
merged 3 commits into from Oct 19, 2023

Conversation

loadams
Copy link
Contributor

@loadams loadams commented Oct 18, 2023

This appears to have been deprecated a while ago. AMD docs here and here.

@loadams
Copy link
Contributor Author

loadams commented Oct 18, 2023

@jithunnair-amd if you could review this to make sure I'm implementing this correctly, since I believe this is deprecated: https://rocm.docs.amd.com/projects/HIP/en/latest/user_guide/hip_porting_guide.html#identifying-hip-target-platform

@loadams
Copy link
Contributor Author

loadams commented Oct 19, 2023

Need to wait for the additional one added in #4538.

@mrwyattii
Copy link
Contributor

Looks like this was added in ROCM 4.1 release (which is 2+ years old). So we shouldn't run into any issues with backwards compatibility, right? I presume most if not all AMD users are on ROCM4.1+

@loadams
Copy link
Contributor Author

loadams commented Oct 19, 2023

Looks like this was added in ROCM 4.1 release (which is 2+ years old). So we shouldn't run into any issues with backwards compatibility, right? I presume most if not all AMD users are on ROCM4.1+

That's what it looks like to me, and it will be fully deprecated in ROCm 6+ coming later this year, it also looks like that means maybe only the MI25s would be impacted? So I think we should be fine.

@loadams loadams added this pull request to the merge queue Oct 19, 2023
Merged via the queue into master with commit c7724c6 Oct 19, 2023
15 checks passed
@loadams loadams deleted the loadams/hip-platform-hcc-fix branch October 19, 2023 22:19
baodii pushed a commit to baodii/DeepSpeed that referenced this pull request Nov 7, 2023
* Switch from HIP_PLATFORM_HCC to HIP_PLATFORM_AMD

* Merge changes and fix from microsoft#4528
github-merge-queue bot pushed a commit 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>
mauryaavinash95 pushed a commit to mauryaavinash95/DeepSpeed that referenced this pull request Feb 17, 2024
* Switch from HIP_PLATFORM_HCC to HIP_PLATFORM_AMD

* Merge changes and fix from microsoft#4528
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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants