abetlen / abetlen/llama-cpp-python
Specify GPU Selection (e.g., CUDA:0, CUDA:1)
Open
- Dominant language
- Python
- Stars
- 10.6k
- Forks
- 1.4k
- PR merge metrics
- PR metrics pending
Description
Hi,
Is there a way to specify which GPU to use for inference, such as restricting it to only `cuda:0` or `cuda:1` in the code? Or are there any workarounds for achieving this?
Thanks in advance.
Contributor guide
Assessment
This issue has not been assessed yet.