Skip to content

Commit 419c3b1

Browse files
committed
Address nv-tusharma's review comments
- Clarify that critical dependencies are explicitly maintained in config - Add framework versions (TensorRT-LLM, vLLM, SGLang) to critical list - Add comment explaining latest.csv workflow to avoid confusion - Document that optional dependencies are already extracted from pyproject.toml Addresses review feedback from PR #3547 Signed-off-by: Dan Gil <[email protected]>
1 parent aa65c60 commit 419c3b1

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed

.github/reports/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,12 @@ Critical dependencies are flagged in the CSV to highlight components that requir
7272
- Production stability
7373
- Compliance requirements
7474

75-
The list of critical dependencies is maintained in `../workflows/extract_dependency_versions_config.yaml` under the `critical_dependencies` section. Examples include:
75+
The list of critical dependencies is **explicitly maintained** in `../workflows/extract_dependency_versions_config.yaml` under the `critical_dependencies` section. Only dependencies listed in this configuration file are marked as critical. Examples include:
7676
- CUDA (compute platform)
7777
- PyTorch (ML framework)
78+
- TensorRT-LLM (inference framework)
79+
- vLLM (inference framework)
80+
- SGLang (inference framework)
7881
- Python (runtime)
7982
- Kubernetes (orchestration)
8083
- NATS (message broker)

.github/workflows/extract_dependency_versions.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,6 +1031,10 @@ def extract_pyproject_toml(self, pyproject_path: Path, component: str) -> None:
10311031
in_dependencies = True
10321032
continue
10331033
elif stripped.startswith("[project.optional-dependencies]"):
1034+
# Extract optional dependencies (e.g., trtllm, vllm, sglang)
1035+
# These are component-specific dependency groups in pyproject.toml
1036+
# Future enhancement: Consider using pyproject.toml as the single
1037+
# source of truth for all dependencies instead of multiple files
10341038
in_optional = True
10351039
continue
10361040
elif stripped.startswith("[") and in_dependencies:
@@ -2031,6 +2035,11 @@ def main():
20312035
latest_csv = args.latest_csv
20322036
if latest_csv is None:
20332037
# Look for dependency_versions_latest.csv in .github/reports/
2038+
# Note: The nightly workflow always overwrites this same file in the repo.
2039+
# There's no version conflict because:
2040+
# 1. This file is committed to the repo (one canonical "latest" version)
2041+
# 2. Timestamped artifacts are uploaded separately with unique names
2042+
# 3. Each run reads the committed latest.csv, generates new data, then overwrites it
20342043
reports_dir = repo_root / ".github/reports"
20352044
latest_candidate = reports_dir / "dependency_versions_latest.csv"
20362045
if latest_candidate.exists():

.github/workflows/extract_dependency_versions_config.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,18 @@ critical_dependencies:
4343
reason: "TensorRT-LLM base container"
4444
- name: "CUDA-dl-base"
4545
reason: "vLLM/SGLang base container"
46+
- name: "TensorRT-LLM"
47+
reason: "NVIDIA TensorRT-LLM inference framework"
48+
- name: "tensorrt-llm"
49+
reason: "TensorRT-LLM Python package"
50+
- name: "vLLM"
51+
reason: "vLLM inference framework"
52+
- name: "vllm"
53+
reason: "vLLM Python package"
54+
- name: "SGLang"
55+
reason: "SGLang inference framework"
56+
- name: "sglang"
57+
reason: "SGLang Python package"
4658

4759
# Network & Communication (ARG names are formatted: NIXL_REF -> Nixl Ref)
4860
- name: "Nixl"

0 commit comments

Comments
 (0)