Download scripts/check_env.sh from tony0014/zombie-weights-code: direct link, hf CLI and curl.
- Browser
- Download file 324 Bytes
-
https://huggingface.co/datasets/tony0014/zombie-weights-code/resolve/main/scripts/check_env.sh
- Command line
-
hf download hf://datasets/tony0014/zombie-weights-code/scripts/check_env.sh
-
curl -L -o check_env.sh https://huggingface.co/datasets/tony0014/zombie-weights-code/resolve/main/scripts/check_env.sh
324 Bytes
| set -euo pipefail | |
| echo "python: $(python --version 2>&1)" | |
| python -c "import torch, sys; print('torch', torch.__version__, 'cuda_available', torch.cuda.is_available())" | |
| echo "code mount:" | |
| ls /code | |
| echo "scripts:" | |
| ls /code/scripts | |
| echo "gpu:" | |
| nvidia-smi --query-gpu=name,memory.total --format=csv,noheader || true | |