fastgpu icon indicating copy to clipboard operation
fastgpu copied to clipboard

how to use? fastgpu library still work?

Open kincjf opened this issue 2 years ago • 0 comments

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

kincjf avatar May 20 '23 23:05 kincjf