Skip to content

Commit 2bd7d1a

Browse files
update misc
1 parent 006d579 commit 2bd7d1a

5 files changed

Lines changed: 23 additions & 15 deletions

File tree

.github/workflows/test_api_misc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
fail-fast: false
3838
matrix:
3939
os: [ubuntu-latest, "macos-latest", windows-latest]
40-
python: ["3.8", "3.12"]
40+
python: ["3.10", "3.12"]
4141

4242
name: API Misc Tests - OS ${{ matrix.os }} - Python ${{ matrix.python }}
4343

@@ -50,7 +50,7 @@ jobs:
5050
- name: Install uv
5151
uses: astral-sh/setup-uv@v6
5252
with:
53-
python-version: ${{ matrix.python-version }}
53+
python-version: ${{ matrix.python }}
5454

5555
- name: Run tests
5656
run: |

.github/workflows/test_cli_misc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
fail-fast: false
3838
matrix:
3939
os: [ubuntu-latest, "macos-latest", windows-latest]
40-
python: ["3.8", "3.12"]
40+
python: ["3.10", "3.12"]
4141

4242
name: CLI Misc Tests - OS ${{ matrix.os }} - Python ${{ matrix.python }}
4343

Makefile

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -268,11 +268,11 @@ test-cli-cpu-ipex-examples:
268268
### CUDA tests
269269
test-cli-cuda-pytorch-single:
270270
uv sync --dev --extra bitsandbytes --extra deepspeed
271-
uv run pytest tests/test_cli.py -s -k "cli and cuda and pytorch and not (dp or ddp or device_map or deepspeed)"
271+
uv run pytest tests/test_cli.py -s -k "cli and cuda and pytorch and not (tp or dp or ddp or device_map or deepspeed)"
272272

273273
test-cli-cuda-pytorch-multi:
274274
uv sync --dev --extra bitsandbytes --extra deepspeed
275-
uv run pytest tests/test_cli.py -s -k "cli and cuda and pytorch and (dp or ddp or device_map or deepspeed)"
275+
uv run pytest tests/test_cli.py -s -k "cli and cuda and pytorch and (tp or dp or ddp or device_map or deepspeed)"
276276

277277
test-cli-cuda-vllm-single:
278278
uv sync --dev --extra vllm
@@ -301,11 +301,11 @@ test-cli-cuda-py-txi:
301301
### CUDA examples
302302
test-cli-cuda-pytorch-single-examples:
303303
uv sync --dev --extra bitsandbytes --extra deepspeed
304-
uv run pytest tests/test_examples.py -s -k "cli and cuda and pytorch and not (dp or ddp or device_map or deepspeed)"
304+
uv run pytest tests/test_examples.py -s -k "cli and cuda and pytorch and not (tp or dp or ddp or device_map or deepspeed)"
305305

306306
test-cli-cuda-pytorch-multi-examples:
307307
uv sync --dev --extra bitsandbytes --extra deepspeed
308-
uv run pytest tests/test_examples.py -s -k "cli and cuda and pytorch and (dp or ddp or device_map or deepspeed)"
308+
uv run pytest tests/test_examples.py -s -k "cli and cuda and pytorch and (tp or dp or ddp or device_map or deepspeed)"
309309

310310
test-cli-cuda-onnxruntime-examples:
311311
uv sync --dev --extra onnxruntime-gpu
@@ -334,16 +334,20 @@ test-cli-cuda-py-txi-examples:
334334
### ROCm tests
335335
test-cli-rocm-pytorch-single:
336336
uv sync --dev
337-
uv run pytest tests/test_cli.py -s -k "cli and cuda and pytorch and not (dp or ddp or device_map or deepspeed)"
337+
uv run pytest tests/test_cli.py -s -k "cli and cuda and pytorch and not (tp or dp or ddp or device_map or deepspeed)"
338338

339339
test-cli-rocm-pytorch-multi:
340340
uv sync --dev
341-
uv run pytest tests/test_cli.py -s -k "cli and cuda and pytorch and (dp or ddp or device_map or deepspeed)"
341+
uv run pytest tests/test_cli.py -s -k "cli and cuda and pytorch and (tp or dp or ddp or device_map or deepspeed)"
342342

343343
### ROCm examples
344-
test-cli-rocm-pytorch-examples:
344+
test-cli-rocm-pytorch-single-examples:
345345
uv sync --dev
346-
uv run pytest tests/test_examples.py -s -k "cli and rocm and pytorch"
346+
uv run pytest tests/test_examples.py -s -k "cli and rocm and pytorch and not (tp or dp or ddp or device_map or deepspeed)"
347+
348+
test-cli-rocm-pytorch-multi-examples:
349+
uv sync --dev
350+
uv run pytest tests/test_examples.py -s -k "cli and rocm and pytorch and (tp or dp or ddp or device_map or deepspeed)"
347351

348352
### MPS tests
349353
test-cli-mps-pytorch:

pyproject.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,11 @@ optimum-benchmark = "optimum_benchmark.cli:main"
8585

8686
[project.optional-dependencies]
8787
# optimum backends
88-
ipex = ["optimum-intel[ipex]>=1.25.0", "intel-extension-for-pytorch>=2.8.0", "torch>=2.8.0"]
88+
ipex = [
89+
"torch>=2.8.0",
90+
"optimum-intel[ipex]>=1.25.0",
91+
"intel-extension-for-pytorch>=2.8.0",
92+
]
8993
openvino = ["optimum-intel[openvino,nncf]>=1.25.0"]
9094
onnxruntime-gpu = ["optimum[onnxruntime-gpu]>=1.27.0"]
9195
onnxruntime = ["optimum[onnxruntime]>=1.27.0"]
@@ -138,8 +142,8 @@ dev-dependencies = [
138142
"pytest",
139143
"librosa",
140144
"diffusers",
141-
"torchcodec",
142145
"codecarbon",
143146
"setuptools",
144147
"hydra-joblib-launcher",
148+
"torchcodec ; sys_platform != 'win32'",
145149
]

uv.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)