fix(hpc): pip cache
This commit is contained in:
parent
a705154617
commit
3f9c751312
1 changed files with 5 additions and 0 deletions
|
|
@ -26,6 +26,11 @@ HPC_CONFIG_DIR="$VSC_DATA/$PROJ_NAME/env/hpc"
|
||||||
mkdir -p "$HPC_CONFIG_DIR"
|
mkdir -p "$HPC_CONFIG_DIR"
|
||||||
cp env/hpc/*.txt "$HPC_CONFIG_DIR/"
|
cp env/hpc/*.txt "$HPC_CONFIG_DIR/"
|
||||||
|
|
||||||
|
# Keep caches off $VSC_HOME (quota ~3 GB).
|
||||||
|
export PIP_CACHE_DIR="$VSC_SCRATCH/.cache/pip"
|
||||||
|
export UV_CACHE_DIR="$VSC_SCRATCH/.cache/uv"
|
||||||
|
mkdir -p "$PIP_CACHE_DIR" "$UV_CACHE_DIR"
|
||||||
|
|
||||||
module load vsc-venv
|
module load vsc-venv
|
||||||
|
|
||||||
echo ">>> Synchronizing and activating environment (vsc-venv)..."
|
echo ">>> Synchronizing and activating environment (vsc-venv)..."
|
||||||
|
|
|
||||||
Reference in a new issue