align / code /deploy /apps_only.sh
viai957's picture
Add files using upload-large-folder tool
d909bd8 verified
Raw History Blame Contribute Delete
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