ATOM (atom-ai): code snapshot (100fae0 + batched-train), README with measured numbers, curated checkpoints (part 4)
b9301f1 verified Download scripts/ensure_venv.sh from thefinalboss/atom-ai: direct link, hf CLI and curl.
- Browser
- Download file 648 Bytes
-
https://huggingface.co/thefinalboss/atom-ai/resolve/main/scripts/ensure_venv.sh
- Command line
-
hf download hf://thefinalboss/atom-ai/scripts/ensure_venv.sh
-
curl -L -o ensure_venv.sh https://huggingface.co/thefinalboss/atom-ai/resolve/main/scripts/ensure_venv.sh
648 Bytes
| # Recreate .venv if a box restart/restore lost it (it is gitignored). CPU torch + numpy + pytest. | |
| # Measured on 2026-09-30: torch 2.14.1+cpu reproduces the committed val2048 of K128 1104k exactly (0.3954/0.4653). | |
| set -eu | |
| cd /workspace/exports/atom-ai | |
| if .venv/bin/python -c "import torch, numpy" 2>/dev/null; then echo "venv ok: $(.venv/bin/python -c 'import torch;print(torch.__version__)')"; exit 0; fi | |
| python3 -m venv .venv | |
| .venv/bin/pip install -q --index-url https://download.pytorch.org/whl/cpu torch | |
| .venv/bin/pip install -q numpy pytest | |
| .venv/bin/python -c "import torch;print('venv rebuilt: torch', torch.__version__)" | |