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

Add yet another candidate for CUDA root #20858

Closed
wants to merge 1 commit into from

Conversation

daskol
Copy link

@daskol daskol commented Dec 26, 2024

@ybaturina Take a look at this pull please. It solves the issue with hermetic CUDA builds and CUDA root at /opt/cuda on some distros.

CUDA root is quite commonly located at /opt/cuda.

  • Some linux distros like Archlinux installs CUDA to /opt/cuda [1].
  • Additionally, some build systems like CMake uses this candidate for CUDA home as well [2].

CUDA root is quite commonly located at `/opt/cuda`. Some linux distros
like Archlinux installs CUDA to `/opt/cuda`. Additionally, some build
systems like CMake uses this candidate for CUDA home as well.
@daskol daskol marked this pull request as ready for review December 26, 2024 01:33
medaminezghal

This comment was marked as duplicate.

@daskol
Copy link
Author

daskol commented Jan 1, 2025

Is there any chance that this PR will merged or at least reviewed?

@ybaturina
Copy link

Hi @daskol a lot of people were on holidays. I'll try to merge this PR as soon as I get approval.

copybara-service bot pushed a commit that referenced this pull request Jan 2, 2025
Add alternative CUDA root that is used in some systems.

PiperOrigin-RevId: 711428469
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Jan 2, 2025
Add alternative CUDA root that is used in some systems.

PiperOrigin-RevId: 711428469
copybara-service bot pushed a commit that referenced this pull request Jan 2, 2025
Add alternative CUDA root that is used in some systems.

PiperOrigin-RevId: 711428469
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Jan 2, 2025
Add alternative CUDA root that is used in some systems.

PiperOrigin-RevId: 711428469
@daskol
Copy link
Author

daskol commented Jan 2, 2025

Thank you for the update! I appreciate your effort and look forward to the merge when it's ready.

copybara-service bot pushed a commit that referenced this pull request Jan 3, 2025
Add alternative CUDA root that is used in some systems.

PiperOrigin-RevId: 711428469
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Jan 3, 2025
Add alternative CUDA root that is used in some systems.

PiperOrigin-RevId: 711428469
copybara-service bot pushed a commit that referenced this pull request Jan 3, 2025
Add alternative CUDA root that is used in some systems.

PiperOrigin-RevId: 711428469
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Jan 3, 2025
Add alternative CUDA root that is used in some systems.

PiperOrigin-RevId: 711428469
copybara-service bot pushed a commit that referenced this pull request Jan 3, 2025
Add alternative CUDA root that is used in some systems.

PiperOrigin-RevId: 711428469
copybara-service bot pushed a commit that referenced this pull request Jan 3, 2025
Add alternative CUDA root that is used in some systems.

PiperOrigin-RevId: 711428469
copybara-service bot pushed a commit that referenced this pull request Jan 3, 2025
Add alternative CUDA root that is used in some systems.

PiperOrigin-RevId: 711818748
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request Jan 3, 2025
Add alternative CUDA root that is used in some systems.

PiperOrigin-RevId: 711818748
@ybaturina
Copy link

Hi, this change was submitted in another PR - tensorflow/tensorflow@f3f10af

@daskol
Copy link
Author

daskol commented Jan 3, 2025

Should I do anything else? I noticed and was very surprised that TF fully vendors XLA.

@ybaturina
Copy link

Hi @daskol no, no further actions needed.

@daskol
Copy link
Author

daskol commented Jan 8, 2025

Should I close this pull request? I noticed that PR #20971 and tensorflow/tensorflow#84029 have already been merged.

@ybaturina
Copy link

Hi @daskol. Yes, you can close it.

@daskol
Copy link
Author

daskol commented Jan 8, 2025

Great! Thank you for your time.

@daskol daskol closed this Jan 8, 2025
@daskol daskol deleted the add-another-cuda-root branch January 8, 2025 19:29
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