Skip to content

Commit 9a0fd7c

Browse files
committed
test(audio): only install torchcodec when required
1 parent b17bbdd commit 9a0fd7c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/test_inf2_transformers.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ jobs:
5656
uses: ./.github/actions/prepare_venv
5757
- name: Install optimum-neuron
5858
uses: ./.github/actions/install_optimum_neuron
59+
- name: Install datasets dependencies
60+
run: |
61+
source aws_neuron_venv_pytorch/bin/activate
62+
pip install datasets[audio]
5963
- name: Run transformers export CLI tests
6064
run: |
6165
source aws_neuron_venv_pytorch/bin/activate

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ tests = [
6868
"librosa",
6969
"controlnet-aux",
7070
"hf_transfer",
71-
"torchcodec < 0.6.0",
7271
]
7372
quality = [
7473
"pre-commit",

0 commit comments

Comments
 (0)