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 use? fastgpu library still work? #45

Open
kincjf opened this issue May 20, 2023 · 0 comments
Open

how to use? fastgpu library still work? #45

kincjf opened this issue May 20, 2023 · 0 comments

Comments

@kincjf
Copy link

kincjf commented May 20, 2023

hello. I wonder if the function of fastgpu is still working normally - is it possible to use it?

how do i use it? How are you running it? I would be grateful if you could give me some examples of how to run it.

These are the commands I entered.

CUDA_VISIBLE_DEVICES=1,2 fastgpu_poll ~/jupyter-workspace/fastgpu

CUDA_VISIBLE_DEVICES=1,2 fastgpu_poll --path=to_run

CUDA_VISIBLE_DEVICES=1,2 fastgpu_poll hub_test.py

CUDA_VISIBLE_DEVICES=1,2 fastgpu_poll --path=to_run hub_test.py

error message 1: fastgpu_poll: error: unrecognized arguments: /root/jupyter-workspace/fastgpu

error message 2: Traceback (most recent call last):
File "/opt/conda/envs/py38/bin/fastgpu_poll", line 8, in
sys.exit(fastgpu_poll())
File "/opt/conda/envs/py38/lib/python3.8/site-packages/fastscript/core.py", line 76, in _f
func(**args.dict)
File "/opt/conda/envs/py38/lib/python3.8/site-packages/fastgpu/cli.py", line 12, in fastgpu_poll
rp.poll_scripts(exit_when_empty=exit)
File "/opt/conda/envs/py38/lib/python3.8/site-packages/fastgpu/core.py", line 79, in poll_scripts
sleep(poll_interval)
NameError: name 'sleep' is not defined

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

1 participant