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

how to run without GPU #42

Open
xing-zhou opened this issue Mar 8, 2020 · 2 comments
Open

how to run without GPU #42

xing-zhou opened this issue Mar 8, 2020 · 2 comments

Comments

@xing-zhou
Copy link

I find the parameters num_gpu=args.ngpu, selected_gpus=args.gpu by default they can be 0 and none,but when I run the train code, it would say Command 'nvidia-smi' returned non-zero exit status 127.. I reviewed the code, in the auto_select_gpu function, though no gpu selected, it would still try info = subprocess.check_output('nvidia-smi', shell=True).decode('utf-8'). so I wonder how can I continue in case of no GPU.

@lemonade117
Copy link

I have 1 gpu for 2GB. When I run train.py, I got "No sufficient resource, available: [], require 2 gpu".

@haojie1588
Copy link

I have 1 gpu for 2GB. When I run train.py, I got "No sufficient resource, available: [], require 2 gpu
I encountered the same problem, how can I solve it?

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