|
@@ -28,6 +28,8 @@ jobs:
|
|
|
pip install -r requirements.txt
|
|
|
- name: Delete previous model, if exists
|
|
|
run: |
|
|
|
+ echo $(env)
|
|
|
+ exit 255
|
|
|
export HF_TAG=$(python -c "import os; print(os.environ.get('GITHUB_REF_NAME') or os.environ.get('GITHUB_BASE_REF') or 'main')")
|
|
|
python -c "from huggingface_hub import delete_repo; delete_repo(token='$BLOOM_TESTING_WRITE_TOKEN', \
|
|
|
name='test-bloomd-350m-$HF_TAG', organization='bloom-testing')" || true
|