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

Changes for spack #2578

Merged
merged 2 commits into from
Jul 12, 2024
Merged

Changes for spack #2578

merged 2 commits into from
Jul 12, 2024

Conversation

afzpatel
Copy link

@afzpatel afzpatel commented Jul 8, 2024

  • Add some rocm libs to the rpath so they link when running with spack built rocm binaries
  • Add conditions to check if HIP_DEVICE_LIB_PATH and LLVM_PATH are set because the bitcode and LLVM bin directories are not contained in the ROCM_PATH when using spack built ROCm

@afzpatel afzpatel marked this pull request as ready for review July 10, 2024 20:02
@afzpatel
Copy link
Author

retest Ubuntu-GPU-single please

@afzpatel
Copy link
Author

retest Ubuntu-GPU-single please

@i-chaochen
Copy link

there are some issues on Ubuntu-GPU-single , since it's no problem on Run @local_xla unit tests and gpu-pycpp @afzpatel you can merge this PR :)

@afzpatel afzpatel merged commit 8b7fccc into ROCm:develop-upstream Jul 12, 2024
8 of 9 checks passed
copybara-service bot pushed a commit to google/tsl that referenced this pull request Aug 5, 2024
Imported from GitHub PR openxla/xla#14854

Thanks @afzpatel for this work and this changes is for spack using ROCm libraries from ROCm/tensorflow-upstream#2578

@xla-rotation

Copybara import of the project:

--
588be97790756155b507ac840ef3c15ddf61c683 by Chao Chen <[email protected]>:

changes for spack by afzpatel

Merging this change closes #14854

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#14854 from ROCm:ci_spack_change 588be97790756155b507ac840ef3c15ddf61c683
PiperOrigin-RevId: 659517988
copybara-service bot pushed a commit to openxla/xla that referenced this pull request Aug 5, 2024
Imported from GitHub PR #14854

Thanks @afzpatel for this work and this changes is for spack using ROCm libraries from ROCm/tensorflow-upstream#2578

@xla-rotation

Copybara import of the project:

--
588be97 by Chao Chen <[email protected]>:

changes for spack by afzpatel

Merging this change closes #14854

FUTURE_COPYBARA_INTEGRATE_REVIEW=#14854 from ROCm:ci_spack_change 588be97
PiperOrigin-RevId: 659517988
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Aug 5, 2024
Imported from GitHub PR openxla/xla#14854

Thanks @afzpatel for this work and this changes is for spack using ROCm libraries from ROCm#2578

@xla-rotation

Copybara import of the project:

--
588be97790756155b507ac840ef3c15ddf61c683 by Chao Chen <[email protected]>:

changes for spack by afzpatel

Merging this change closes #14854

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#14854 from ROCm:ci_spack_change 588be97790756155b507ac840ef3c15ddf61c683
PiperOrigin-RevId: 659517988
copybara-service bot pushed a commit to google/tsl that referenced this pull request Aug 6, 2024
Imported from GitHub PR openxla/xla#14854

Thanks @afzpatel for this work and this changes is for spack using ROCm libraries from ROCm/tensorflow-upstream#2578

@xla-rotation

Copybara import of the project:

--
588be97790756155b507ac840ef3c15ddf61c683 by Chao Chen <[email protected]>:

changes for spack by afzpatel

Merging this change closes #14854

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#14854 from ROCm:ci_spack_change 588be97790756155b507ac840ef3c15ddf61c683
PiperOrigin-RevId: 659517988
copybara-service bot pushed a commit to openxla/xla that referenced this pull request Aug 6, 2024
Imported from GitHub PR #14854

Thanks @afzpatel for this work and this changes is for spack using ROCm libraries from ROCm/tensorflow-upstream#2578

@xla-rotation

Copybara import of the project:

--
588be97 by Chao Chen <[email protected]>:

changes for spack by afzpatel

Merging this change closes #14854

FUTURE_COPYBARA_INTEGRATE_REVIEW=#14854 from ROCm:ci_spack_change 588be97
PiperOrigin-RevId: 659517988
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Aug 6, 2024
Imported from GitHub PR openxla/xla#14854

Thanks @afzpatel for this work and this changes is for spack using ROCm libraries from ROCm#2578

@xla-rotation

Copybara import of the project:

--
588be97790756155b507ac840ef3c15ddf61c683 by Chao Chen <[email protected]>:

changes for spack by afzpatel

Merging this change closes #14854

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#14854 from ROCm:ci_spack_change 588be97790756155b507ac840ef3c15ddf61c683
PiperOrigin-RevId: 659517988
copybara-service bot pushed a commit to google/tsl that referenced this pull request Aug 6, 2024
Imported from GitHub PR openxla/xla#14854

Thanks @afzpatel for this work and this changes is for spack using ROCm libraries from ROCm/tensorflow-upstream#2578

@xla-rotation

Copybara import of the project:

--
588be97790756155b507ac840ef3c15ddf61c683 by Chao Chen <[email protected]>:

changes for spack by afzpatel

Merging this change closes #14854

PiperOrigin-RevId: 659932164
copybara-service bot pushed a commit to openxla/xla that referenced this pull request Aug 6, 2024
Imported from GitHub PR #14854

Thanks @afzpatel for this work and this changes is for spack using ROCm libraries from ROCm/tensorflow-upstream#2578

@xla-rotation

Copybara import of the project:

--
588be97 by Chao Chen <[email protected]>:

changes for spack by afzpatel

Merging this change closes #14854

COPYBARA_INTEGRATE_REVIEW=#14854 from ROCm:ci_spack_change 588be97
PiperOrigin-RevId: 659932164
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Aug 6, 2024
Imported from GitHub PR openxla/xla#14854

Thanks @afzpatel for this work and this changes is for spack using ROCm libraries from ROCm#2578

@xla-rotation

Copybara import of the project:

--
588be97790756155b507ac840ef3c15ddf61c683 by Chao Chen <[email protected]>:

changes for spack by afzpatel

Merging this change closes #14854

PiperOrigin-RevId: 659932164
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.

3 participants