export NANOCHAT_BASE_DIR so child processes get it too

Export the cache directory so that users can use their own cache location
This commit is contained in:
Andrej 2025-10-14 16:01:28 -07:00 committed by GitHub
commit 67aaca98f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,7 +12,7 @@
# Default intermediate artifacts directory is in ~/.cache/nanochat
export OMP_NUM_THREADS=1
NANOCHAT_BASE_DIR="$HOME/.cache/nanochat"
export NANOCHAT_BASE_DIR="$HOME/.cache/nanochat"
mkdir -p $NANOCHAT_BASE_DIR
# -----------------------------------------------------------------------------