deepspeedai / deepspeedai/DeepSpeed
Error Inference via command line for CPU
Open
@mrwyattii is already working on this.
Since Aug 22, 2023.
bug
inference
- Dominant language
- Python
- Stars
- 43.1k
- Forks
- 5k
- Avg merge
- 4d 15h
- Merged PRs (30d)
- 112
Description
Describe the bug
I am trying to run an inference on colab using only CPU
Using Deepspeed CMD for inference
i am using the below command with my transcribe.py file and model_folder saved model folder
!deepspeed --include= localhost:0 "/content/vistaar/transcribe.py" "/content/manifest.json" "/content/model_folder/" "Hindi" 1 "/content/output_path.txt".
Required Output
what should i specify the parameter for device to use only cpu for inference "--include" or "--exclude" or install intel-extension-for-deepspeed
Existing output
[INFO] [real_accelerator.py:158:get_accelerator] Setting ds_accelerator to cuda (auto detect)
[2023-08-22 11:30:51,120] [WARNING] [runner.py:201:fetch_hostfile] Unable to find hostfile, will proceed with training with local resources only.
Traceback (most recent call last):
File "/usr/local/bin/deepspeed", line 6, in <module>
main()
File "/usr/local/lib/python3.10/dist-packages/deepspeed/launcher/runner.py", line 420, in main
raise RuntimeError("Unable to proceed, no GPU resources available")
RuntimeError: Unable to proceed, no GPU resources available
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.