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

Tensorflow using Intel GPU instead of NVIDIA GPU #67558

Closed
fzd370 opened this issue May 14, 2024 · 4 comments
Closed

Tensorflow using Intel GPU instead of NVIDIA GPU #67558

fzd370 opened this issue May 14, 2024 · 4 comments
Assignees
Labels
stale This label marks the issue/pr stale - to be closed automatically if no activity stat:awaiting response Status - Awaiting response from author subtype:windows Windows Build/Installation Issues TF 2.10 type:build/install Build and install issues

Comments

@fzd370
Copy link

fzd370 commented May 14, 2024

Issue type

Build/Install

Have you reproduced the bug with TensorFlow Nightly?

No

Source

source

TensorFlow version

2.10.1

Custom code

Yes

OS platform and distribution

Windows 11

Mobile device

No response

Python version

3.9.19

Bazel version

No response

GCC/compiler version

No response

CUDA/cuDNN version

11.2.2/8.1.0.77

GPU model and memory

Nvidia Geforce GTX 1650 - 4GB

Current behavior?

I've installed the tensorflow in virtual environment in Anaconda using official documentation and it is running fine. Whenever I'm training my model I see that the tensorflow is using Intel GPU instead of Nvidia GPU. The default GPU for tensorflow is Intel GPU. How do I change this so that tensorflow uses Nvidia GPU. I've installed CUDA and cuDNN as mentioned in the documentation.

Screenshot 2024-05-14 185258
Screenshot 2024-05-14 185346
Screenshot 2024-05-14 190253

As it is mentioned in the offical documentation that if you have more than one GPU in your system, the GPU with the lowest ID will be selected by default. How do I change this? Please help.

I

Standalone code to reproduce the issue

I followed the steps mentioned in the documentation.

Relevant log output

No response

@google-ml-butler google-ml-butler bot added the type:build/install Build and install issues label May 14, 2024
@sushreebarsa sushreebarsa added subtype:windows Windows Build/Installation Issues TF 2.10 labels May 15, 2024
@sushreebarsa
Copy link
Contributor

@fzd370 In TensorFlow v2.10, the default behavior is to choose the GPU with the lowest ID. This typically leads to selecting the integrated Intel GPU over a dedicated Nvidia GPU.Please ensure you're running your Python scripts or Jupyter notebooks within the activated virtual environment where you installed TensorFlow with GPU support. Kindly double-check your CUDA and cuDNN installations.

Thank you!

@sushreebarsa sushreebarsa added the stat:awaiting response Status - Awaiting response from author label May 15, 2024
Copy link

This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.

@github-actions github-actions bot added the stale This label marks the issue/pr stale - to be closed automatically if no activity label May 23, 2024
Copy link

This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.

Copy link

Are you satisfied with the resolution of your issue?
Yes
No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale This label marks the issue/pr stale - to be closed automatically if no activity stat:awaiting response Status - Awaiting response from author subtype:windows Windows Build/Installation Issues TF 2.10 type:build/install Build and install issues
Projects
None yet
Development

No branches or pull requests

2 participants