how to use cuda as device #93
Answered
by
thomaswantstobeaskeleton
Thundercup
asked this question in
Q&A
|
I only find CPU in the device option. How could I choose GPU CUDA as the device for OCR? |
Answered by
thomaswantstobeaskeleton
May 5, 2026
Replies: 1 comment 1 reply
|
Some models only have access to cpu due to dependency conflicts Please check this first using the same Python executable that starts BallonsTranslator: python -c "import torch; print(torch.__version__); print(torch.version.cuda); print(torch.cuda.is_available()); print(torch.cuda.device_count())" |
1 reply
Answer selected by
Thundercup
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some models only have access to cpu due to dependency conflicts
Please check this first using the same Python executable that starts BallonsTranslator:
python -c "import torch; print(torch.__version__); print(torch.version.cuda); print(torch.cuda.is_available()); print(torch.cuda.device_count())"