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

[Bug]: Device is set to gpu:0 but during training model is not using the GPU on goolge colab #28610

Open
1 of 4 tasks
marvlyngkhoi opened this issue Mar 15, 2024 · 2 comments
Open
1 of 4 tasks
Assignees
Labels
Bug Report Report bugs detected in Ivy.

Comments

@marvlyngkhoi
Copy link
Contributor

Bug Explanation

I'm trying to create demos using ivy framework to build a CNN Model for plant disease detection. Everything is Working fine on CPU as intended except that when device is set to gpu:0 model is not using GPU and its still training on CPU as shown below
Screenshot from 2024-03-15 14-14-29

Steps to Reproduce Bug

Here is the colab notebook https://colab.research.google.com/drive/1IY5L0ZUV7HDb2Cv6dt1B0lwb2uDMKMqt?usp=sharing to easily reproduce the bug

Environment

Colab Notebook

Ivy Version

0.0.8.0

Backend

  • NumPy
  • TensorFlow
  • PyTorch
  • JAX

Device

No response

@marvlyngkhoi marvlyngkhoi added the Bug Report Report bugs detected in Ivy. label Mar 15, 2024
@Kamalesh3112
Copy link

@ivy-leaves Please assign me this issue to me so that I can be able to solve this issue.

@abhi2596
Copy link

abhi2596 commented Apr 9, 2024

use ivy.set_default_device(device)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Report Report bugs detected in Ivy.
Projects
None yet
Development

No branches or pull requests

4 participants