Skip to content
Merged
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
3 changes: 3 additions & 0 deletions .github/workflows/gpu_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ jobs:
COVERAGE_FILE: ${{ github.workspace }}/.coverage
# Explicit: HOME is /github/home in container jobs, not the /root the cache steps use
MODELOPT_WHEELHOUSE: /root/.cache/wheelhouse
# sys.monitoring records the same lines as the default C tracer at a fraction of the
# overhead on import-heavy worker processes. Needs Python 3.12+.
COVERAGE_CORE: sysmon
Comment thread
coderabbitai[bot] marked this conversation as resolved.
run: |
# Use `python3` (the vllm image has no `python` on PATH)
python3 -m pip install nox && nox -s ${{ matrix.example }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/regression_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ jobs:
env:
COVERAGE_PROCESS_START: ${{ github.workspace }}/pyproject.toml
COVERAGE_FILE: ${{ github.workspace }}/.coverage
# sys.monitoring records the same lines as the default C tracer at a fraction of the
# overhead on import-heavy worker processes. Needs Python 3.12+.
COVERAGE_CORE: sysmon
run: python -m pip install nox && nox -s regression
- name: Upload regression coverage to Codecov
uses: codecov/codecov-action@v7
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ jobs:
COVERAGE_FILE: ${{ github.workspace }}/.coverage
# Everything but PRs also runs the slow tests marked ``manual`` (e.g. AutoNAS).
PYTEST_EXTRA: ${{ github.event_name != 'pull_request' && '--run-manual' || '' }}
# sys.monitoring records the same lines as the default C tracer at a fraction of the overhead
COVERAGE_CORE: sysmon
# One single-threaded xdist worker per vCPU (`-n auto` counts physical cores); torch's
# default threads per worker oversubscribe the runner and run slower than serial.
PYTEST_ADDOPTS: -n 4 --dist loadfile
Expand Down
Loading