Skip to content

Commit

Permalink
ci: pip cache as var
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Mar 2, 2023
1 parent 8be37dd commit bc722a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .azure/gpu-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
# see: https://github.com/microsoft/azure-pipelines-agent/issues/4113#issuecomment-1439241481
TORCH_HOME: "/var/tmp/torch"
TRANSFORMERS_CACHE: "/var/tmp/huggingface"
PIP_CACHE_DIR: "/var/tmp/pip"
FREEZE_REQUIREMENTS: 1

container:
Expand All @@ -55,7 +56,6 @@ jobs:
- bash: |
echo "##vso[task.setvariable variable=CONTAINER_ID]$(head -1 /proc/self/cgroup|cut -d/ -f3)"
echo "##vso[task.setvariable variable=CUDA_VISIBLE_DEVICES]$(DEVICES)"
echo "##vso[task.setvariable variable=PIP_CACHE_DIR]/var/tmp/pip"
displayName: 'Set environment variables'
- bash: |
Expand Down

0 comments on commit bc722a7

Please sign in to comment.