Skip to content

Commit

Permalink
ci: drop Azure cache dues to huge performance issue (#1541)
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda authored Feb 22, 2023
1 parent e4e04f9 commit e0508c8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .azure/gpu-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,14 @@ jobs:
python -c "import torch ; mgpu = torch.cuda.device_count() ; assert mgpu >= 2, f'GPU: {mgpu}'"
displayName: 'Sanity check'
- task: Cache@2
inputs:
key: transformers
path: $(TRANSFORMERS_CACHE)
cacheHitVar: HF_CACHE_RESTORED
#- task: Cache@2
# inputs:
# key: transformers
# path: $(TRANSFORMERS_CACHE)
# cacheHitVar: HF_CACHE_RESTORED
- bash: |
printf "cache location: $(TRANSFORMERS_CACHE)\n"
printf "hit the HF cache: $(variables.HF_CACHE_RESTORED)\n"
# printf "hit the HF cache: $(variables.HF_CACHE_RESTORED)\n"
mkdir -p $(TRANSFORMERS_CACHE) # in case cache was void
ls -lh $(TRANSFORMERS_CACHE) # show what was restored...
displayName: 'Show HF cache'
Expand Down

0 comments on commit e0508c8

Please sign in to comment.