not available
root@68c1e4141477:/workspace# python -c "
import torch
print(f'CUDA available: {torch.cuda.is_available()}')
print(f'CUDA device count: {torch.cuda.device_count()}')
if torch.cuda.is_available():
print(f'Current device: {torch.cuda.current_device()}')
print(f'Device name: {torch.cuda.get_device_name()}')
else:
print('CUDA not accessible from PyTorch')
"
/usr/local/lib/python3.11/dist-packages/torch/cuda/init.py:174: UserWarning: CUDA initialization: CUDA driver initialization failed, you might not have a CUDA gpu. (Triggered internally at /pytorch/c10/cuda/CUDAFunctions.cpp:109.)
return torch._C._cuda_getDeviceCount() > 0
CUDA available: False
CUDA device count: 8
CUDA not accessible from PyTorch
1 Reply
Unknown User•4mo ago
Message Not Public
Sign In & Join Server To View