diff --git a/speedrun.sh b/speedrun.sh index 330a585..73c5a27 100644 --- a/speedrun.sh +++ b/speedrun.sh @@ -12,6 +12,7 @@ # Default intermediate artifacts directory is in ~/.cache/nanochat export OMP_NUM_THREADS=1 +export PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True NANOCHAT_BASE_DIR="$HOME/.cache/nanochat" mkdir -p $NANOCHAT_BASE_DIR