Skip to content

Commit

Permalink
ci: enable fast hub transfers
Browse files Browse the repository at this point in the history
  • Loading branch information
dacorvo committed Feb 11, 2025
1 parent ed57831 commit 2a46b6a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/inference_cache_llm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
group: aws-inf2-48xlarge
env:
AWS_REGION: us-east-1
HF_HUB_ENABLE_HF_TRANSFER: 1
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -50,6 +51,7 @@ jobs:
source aws_neuron_venv_pytorch/bin/activate
python -m pip install -U pip
python -m pip config set global.extra-index-url https://pip.repos.neuron.amazonaws.com
python -m pip install hf_transfer
- name: Install optimum neuron
run: |
source aws_neuron_venv_pytorch/bin/activate
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/inference_cache_stable_diffusion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
group: aws-inf2-8xlarge
env:
AWS_REGION: us-east-1
HF_HUB_ENABLE_HF_TRANSFER: 1
strategy:
fail-fast: false
matrix:
Expand All @@ -40,6 +41,7 @@ jobs:
source aws_neuron_venv_pytorch/bin/activate
python -m pip install -U pip
python -m pip config set global.extra-index-url https://pip.repos.neuron.amazonaws.com
python -m pip install hf_transfer
- name: Install optimum neuron
run: |
source aws_neuron_venv_pytorch/bin/activate
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test_inf2_llm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
name: Run INF2 LLM tests
runs-on:
group: aws-inf2-8xlarge
env:
HF_HUB_ENABLE_HF_TRANSFER: 1
steps:
- name: Install Neuron runtime
run: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test_inf2_tgi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
name: Run TGI tests
runs-on:
group: aws-inf2-8xlarge
env:
HF_HUB_ENABLE_HF_TRANSFER: 1
steps:
- name: Install Neuron runtime
run: |
Expand All @@ -45,6 +47,7 @@ jobs:
source aws_neuron_venv_pytorch/bin/activate
python -m pip install -U pip
python -m pip config set global.extra-index-url https://pip.repos.neuron.amazonaws.com
python -m pip install hf_transfer
- name: Install integration tests prerequisites
run: |
source aws_neuron_venv_pytorch/bin/activate
Expand Down

0 comments on commit 2a46b6a

Please sign in to comment.