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 1e1d900 commit 4629a4e
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_api_cuda.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:

- name: Run examples
run: |
pytest tests/test_examples.py -x -s -k "api and cuda"
pytest tests/test_examples.py -x -s -k "api and cuda and pytorch"
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
PUSH_REPO_ID: optimum-benchmark/cuda
4 changes: 2 additions & 2 deletions .github/workflows/test_cli_cpu_llama_cpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
pip install -e .[testing,llama-cpp]
- name: Run tests
run: pytest tests/test_cli.py -s -k "llama_cpp"
run: pytest tests/test_cli.py -s -k "cli and cpu and llama_cpp"

- name: Run examples
run: pytest tests/test_examples.py -s -k "llama_cpp"
run: pytest tests/test_examples.py -s -k "cli and cpu and llama_cpp"
2 changes: 1 addition & 1 deletion .github/workflows/test_cli_cpu_py_txi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ jobs:
run: pytest tests/test_cli.py -s -k "cli and cpu and py_txi"

# - name: Run examples
# run: pytest tests/test_examples.py -s -k "cli and cpu and py_txi"
# run: pytest tests/test_examples.py -s -k "cli and cpu and tgi"
4 changes: 2 additions & 2 deletions .github/workflows/test_cli_cuda_onnxruntime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@ jobs:
run: |
pytest tests/test_cli.py -x -s -k "cli and cuda and onnxruntime"
- name: Run examples
run: pytest tests/test_examples.py -x -s -k "cli and cuda and onnxruntime"
# - name: Run examples
# run: pytest tests/test_examples.py -x -s -k "cli and cuda and onnxruntime"
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 @@ -51,4 +51,4 @@ jobs:
run: pytest tests/test_cli.py -x -s -k "cli and cuda and py_txi"

- name: Run examples
run: pytest tests/test_examples.py -x -s -k "cli and cuda and (tgi or tei)"
run: pytest tests/test_examples.py -x -s -k "cli and cuda and tgi"
2 changes: 1 addition & 1 deletion .github/workflows/test_cli_cuda_pytorch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
pytest tests/test_cli.py -x -s -k "cli and cuda and pytorch and not (dp or ddp or device_map or deepspeed)"
- name: Run examples
run: pytest tests/test_examples.py -x -s -k "cli and cuda and pytorch and not (dp or ddp or device_map or deepspeed)"
run: pytest tests/test_examples.py -x -s -k "cli and cuda and pytorch"

run_cli_cuda_pytorch_multi_gpu_tests:
if: ${{
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_cli_cuda_tensorrt_llm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
pytest tests/test_cli.py -x -s -k "cli and cuda and tensorrt_llm and not (tp or pp)"
- name: Run examples
run: pytest tests/test_examples.py -x -s -k "cli and cuda and tensorrt_llm and not (tp or pp)"
run: pytest tests/test_examples.py -x -s -k "cli and cuda and trt"

cli_cuda_tensorrt_llm_multi_gpu_tests:
if: ${{
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_cli_cuda_vllm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ jobs:
run: |
FORCE_SEQUENTIAL=1 pytest tests/test_cli.py -x -s -k "cli and cuda and vllm and not (tp or pp)"
- name: Run examples (sequential)
- name: Run examples
run: |
FORCE_SEQUENTIAL=1 pytest tests/test_examples.py -x -s -k "cli and cuda and vllm and not (tp or pp)"
pytest tests/test_examples.py -x -s -k "cli and cuda and vllm"
run_cli_cuda_vllm_multi_gpu_tests:
if: ${{
Expand Down
File renamed without changes.

0 comments on commit 4629a4e

Please sign in to comment.