Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasMoutawwakil committed Dec 10, 2024
1 parent b8515f0 commit 2389ee7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_cli_cuda_py_txi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Install requirements
run: |
pip install --upgrade pip
pip install -e .[testing,py-txi]
pip install -e .[testing,py-txi] git+https://github.com/IlyasMoutawwakil/py-txi.git
- name: Run tests
run: pytest tests/test_cli.py -x -s -k "cli and cuda and py_txi"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_cli_cuda_tensorrt_llm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ jobs:
run: |
pip install -e .[testing]
- name: Run tests (sequential)
- name: Run tests
run: |
FORCE_SEQUENTIAL=1 pytest tests/test_cli.py -x -s -k "cli and cuda and tensorrt_llm and not (tp or pp)"
pytest tests/test_cli.py -x -s -k "cli and cuda and tensorrt_llm and not (tp or pp)"
- if: ${{
(github.event_name == 'push') ||
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/test_cli_cuda_torch_ort.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,20 @@ jobs:

- name: Install dependencies
run: |
pip install -e .[testing,torch-ort,peft]
pip install optimum@git+https://github.com/huggingface/optimum.git@fxi-ort-trainer
pip install -e .[testing,torch-ort,peft] optimum@git+https://github.com/huggingface/optimum.git@fxi-ort-trainer
- name: Run tests
run: |
pytest tests/test_cli.py -x -s -k "cli and cuda and torch_ort and not (dp or ddp or device_map) and not (peft)"
- name: Run examples
- if: ${{
(github.event_name == 'push') ||
(github.event_name == 'workflow_dispatch') ||
contains( github.event.pull_request.labels.*.name, 'examples')
}}
name: Run examples
run: |
pytest tests/test_examples.py -x -s -k "cli and cuda and torch_ort and not (dp or ddp or device_map) and not (peft)"
pytest tests/test_examples.py -x -s -k "cli and cuda and torch_ort"
run_cli_cuda_torch_ort_multi_gpu_tests:
if: ${{
Expand All @@ -79,8 +83,7 @@ jobs:

- name: Install dependencies
run: |
pip install -e .[testing,torch-ort,peft]
pip install optimum@git+https://github.com/huggingface/optimum.git@fxi-ort-trainer
pip install -e .[testing,torch-ort,peft] optimum@git+https://github.com/huggingface/optimum.git@fxi-ort-trainer
- name: Run tests
run: |
Expand Down

0 comments on commit 2389ee7

Please sign in to comment.