Skip to content

Conversation

@fangzhou-xie
Copy link
Contributor

This is my fix of issue #1509. As also explained in the bug report, the function logic regarding "Linux installing GPU-enabled tensorflow-backend" fails to install the GPU version, but only with CPU.

I have added a "if-else" block to check if "tensorflow" was the only backend requested GPU on Linux. If so, we install tensorflow with GPU support. Otherwise, i.e. there are multiple backends requested (as tensorflow is always enabled), we need to install only the CPU version of tensorflow.

Thanks!

@t-kalinowski t-kalinowski merged commit 690e19c into rstudio:main Jun 11, 2025
8 checks passed
@t-kalinowski
Copy link
Member

Thank you!

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