avoid permissions issues

This commit is contained in:
Felix Marty 2024-06-27 14:51:11 +00:00
parent bbc949ff74
commit 0a5485d8a0
1 changed files with 5 additions and 0 deletions

View File

@ -210,6 +210,11 @@ jobs:
pip3 install -U huggingface_hub
python3 integration-tests/clean_cache_and_download.py --token ${{ secrets.HF_TOKEN }} --cache-dir /data
# Avoid permissions issues in the next step not run within docker (File was unable to be removed Error: EACCES).
if [[ $PWD == *"text-generation-inference"* ]]; then
rm -rf *
fi
fi
integration_tests: