Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/_pr_gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ on:
required: false
type: string
default: |
**.ipynb
**.md
**.png
**.rst
**/*.ipynb
**/*.md
**/*.png
**/*.rst
outputs:
any_changed:
description: "Whether any relevant files changed"
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/example_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ jobs:
base_sha: ${{ steps.base.outputs.merge_base }}
sha: ${{ steps.base.outputs.head_sha }}
fail_on_initial_diff_error: true
files_ignore: |
**.ipynb
**.md
**.png
**.rst
# `common` runs every lane. Each lane lists the example directories it covers, plus any
# extra directory those tests reach into (e.g. hf_ptq's script runs lm_eval from
# ../llm_eval, and the speculative_decoding test drives hf_ptq).
Expand All @@ -64,18 +59,23 @@ jobs:
- tests/_test_utils/**
- tests/conftest.py
- tests/examples/conftest.py
- "!**/*.{md,rst,png,ipynb}"
torch:
- "{examples,tests/examples}/{llm_distill,llm_qat,llm_sparsity,specdec_bench,speculative_decoding}/**"
- examples/dataset/** # data prep for llm_qat and speculative_decoding
- examples/hf_ptq/** # the speculative_decoding test drives hf_ptq
- "!**/*.{md,rst,png,ipynb}"
trtllm:
- "{examples,tests/examples}/{gpt-oss,hf_ptq,llm_eval}/**"
- examples/dataset/** # data prep for gpt-oss
- "!**/*.{md,rst,png,ipynb}"
megatron:
- "{examples,tests/examples}/megatron_bridge/**"
- "!**/*.{md,rst,png,ipynb}"
onnx:
- "{examples,tests/examples}/{diffusers,torch_onnx,torch_trt}/**"
- examples/onnx_ptq/** # torch_trt reuses onnx_ptq
- "!**/*.{md,rst,png,ipynb}"
- id: lanes
env:
# Nightly and on-demand runs have no diff to inspect, so they run everything.
Expand Down
2 changes: 2 additions & 0 deletions examples/diffusers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -485,3 +485,5 @@ Stable Diffusion pipelines rely heavily on random sampling operations, which inc
- 💡 [Release Notes](https://nvidia.github.io/Model-Optimizer/reference/0_changelog.html)
- 🐛 [File a bug](https://github.com/NVIDIA/Model-Optimizer/issues/new?template=1_bug_report.md)
- ✨ [File a Feature Request](https://github.com/NVIDIA/Model-Optimizer/issues/new?template=2_feature_request.md)

<!-- ci gating probe -->
Loading