Skip to content

how to use? fastgpu library still work? #45

Description

@kincjf

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions