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

Using GPU with gcnn_keras #118

Open
Rhys-McAlister opened this issue Nov 20, 2023 · 1 comment
Open

Using GPU with gcnn_keras #118

Rhys-McAlister opened this issue Nov 20, 2023 · 1 comment

Comments

@Rhys-McAlister
Copy link

Hi, I am using the torch backend with gcnn_keras but my gpu is not being used. If i called torch.cuda.isavaliable() I get true but I'm unsure what I need to do on the keras side to make this work any help would be appreciated.

@PatReis
Copy link
Collaborator

PatReis commented Nov 21, 2023

Hello, last time I checked gpu acceleration worked with kgcnn and torch.

A few things to check:

  1. Does your pytorch installation works on GPU apart from keras_core.
  2. Could you run a simple non-linear dense layer with keras_core on GPU and torch.

If all above works, then I would be interested what script are you trying to run on gpu.
I thought that all backend torch functions are supported by torch gpu but maybe I added something that isn't.
I would then have to start searching...
Note that with torch at the moment jagged input is not yet supported.

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

No branches or pull requests

2 participants