Download code/deploy/apps_only.sh from viai957/align: direct link, hf CLI and curl.
- Browser
- Download file 815 Bytes
-
https://huggingface.co/viai957/align/resolve/main/code/deploy/apps_only.sh
- Command line
-
hf download hf://viai957/align/code/deploy/apps_only.sh
-
curl -L -o apps_only.sh https://huggingface.co/viai957/align/resolve/main/code/deploy/apps_only.sh
815 Bytes
| # All downloads, caches and temp files go to /apps (2026-10-19 rule). Never /, /home or /tmp. | |
| # Sourced from ~/.bashrc and ~/.config/environment.d (systemd user services); enforced by | |
| # align/scripts/hostguard.py (refuses jobs whose temp/cache paths are outside /apps). | |
| B=/apps/development/rlhf/hostcache | |
| export TMPDIR=$B/claude-tmp TMP=$B/claude-tmp TEMP=$B/claude-tmp | |
| export XDG_CACHE_HOME=$B/cache | |
| export HF_HOME=${HF_HOME:-/apps/development/rlhf/hf_cache} HF_HUB_DISABLE_XET=1 | |
| export PIP_CACHE_DIR=$B/pip UV_CACHE_DIR=$B/uv npm_config_cache=$B/npm | |
| export TORCH_HOME=$B/torch TRITON_CACHE_DIR=$B/triton TORCHINDUCTOR_CACHE_DIR=$B/inductor CUDA_CACHE_PATH=$B/cuda | |
| export GOCACHE=$B/go-build GOMODCACHE=$B/gomod | |
| export PLAYWRIGHT_BROWSERS_PATH=$B/cache/ms-playwright PUPPETEER_CACHE_DIR=$B/cache/puppeteer | |
| unset B | |