λ uv venv && uv pip install torch --torch-backend=auto
λ uv run python -c 'import torch; print(torch.cuda.is_available())'
True
This is on Debian stable, and I don't remember doing any special setup other than installing the proprietary nvidia driver.https://cloud.google.com/compute/docs/gpus/install-drivers-g... (NOTE: not gcloud specific)