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

Stuck on this error. #23

Open
hydropix opened this issue Sep 13, 2022 · 6 comments
Open

Stuck on this error. #23

hydropix opened this issue Sep 13, 2022 · 6 comments

Comments

@hydropix
Copy link

RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument index in method wrapper__index_select)

Any idea ?

@nicolai256
Copy link
Owner

RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument index in method wrapper__index_select)

Any idea ?

are you using a gpu ?
local or colab?

@hydropix
Copy link
Author

local with a 3090ti

@nicolai256
Copy link
Owner

nicolai256 commented Sep 14, 2022

local with a 3090ti

hmm weird, this repo is now being used in VoC https://softology.pro/voc.htm
so u could do it in there, will be much easier for you too
its a local gui with a huge amount of scripts so maybe try that :)

@ndemar
Copy link

ndemar commented Sep 15, 2022

Update : I had to change the --gpus 0, to --gpus=1 and it started working. Eating a lot of VRAM now

--Same error-- and the VoC download is 404 now. Also using a Nvidia 3090ti on a intel platform.

@hydropix
Copy link
Author

Great, I had seen on Reddit that you have to indicate gpus=1, but I didn't think the "=" was necessary! It works now! Thanks a lot

@nicolai256
Copy link
Owner

yeah the --gpus thing is different for everyone for some it's 0 for some it's 1, no idea why

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

3 participants