Skip to content

chore(github): improve PR process and rename workspace - #12

Merged
ishandhanani merged 9 commits into
mainfrom
ishan/pr-message
Mar 4, 2025
Merged

ishandhanani merged 9 commits into
mainfrom
ishan/pr-message

Conversation

@ishandhanani

Copy link
Copy Markdown
Contributor

Overview

This PR enhances the GitHub pull request process, adds PR title linting, simplifies the PR template, and renames the project workspace file.

Detailed breakdown and reasoning

We've streamlined the PR process to improve efficiency and consistency. The addition of PR title linting ensures that all PRs follow semantic versioning conventions, making it easier to track changes and generate changelogs. The simplified PR template reduces cognitive load on contributors while still capturing essential information. Lastly, renaming the workspace file aligns it with the current project name.

Changes Made

  • Added a new GitHub workflow to lint PR titles using semantic versioning
  • Simplified the pull request template, removing redundant sections and focusing on key information
  • Renamed the project workspace file from 'triton.code-workspace' to 'dynemo.code-workspace'

Comment thread .github/workflows/lint-pr-title.yaml Resolved
Comment thread .github/pull_request_template.md Resolved
Comment thread .github/pull_request_template.md Resolved
@github-actions

github-actions Bot commented Mar 4, 2025

Copy link
Copy Markdown
Contributor

Test Results

 2 files   2 suites   25s ⏱️
71 tests 71 ✅ 0 💤 0 ❌
89 runs  88 ✅ 1 💤 0 ❌

Results for commit b5a73f5.

Comment thread .github/workflows/lint-pr-title.yaml Resolved
@ishandhanani
ishandhanani merged commit 4d31cc6 into main Mar 4, 2025
@ishandhanani
ishandhanani deleted the ishan/pr-message branch March 4, 2025 22:17
kylehh pushed a commit to kylehh/dynamo that referenced this pull request Apr 11, 2025
ranrubin pushed a commit that referenced this pull request Apr 20, 2026
Fixes all actionable items from the second review:

Bug fixes:
- #1: Change returncode=4 → returncode=2 in pytest_configure exit
  (4 is reserved by pytest for EXIT_NOTESTSCOLLECTED)
- #2: Add comment clarifying HF_HUB_OFFLINE double-clear is safe
  (already in _MODELS_DIR_ENV_KEYS; loop correctly restores original)

Test quality:
- #7: Add missing assertions to test_apply_hf_home_layout
  (HF_HUB_OFFLINE, TRANSFORMERS_OFFLINE, DYNAMO_MODELS_DIR, TRANSFORMERS_CACHE)
- #8: Use monkeypatch in tests 3 & 4 for proper env isolation
  (prevents pre-existing env vars from leaking on test failure)

Design / correctness:
- #3: Fix _models_dir_env docstring ("exactly once" → "once per worker")
- #4: Add comment noting TRANSFORMERS_CACHE deprecation
- #5: Update --models-dir help text and docs to reflect both supported
  layouts (bare HF_HUB_CACHE and HF_HOME), not just bare
- #10: Restore pytest.skip() in download_lora() (test-only infra);
  remove now-redundant guard from minio_lora_service fixture
- #11: Raise hub/ detection log to WARNING with guidance
- #12: Replace shutil.rmtree(ignore_errors=True) with try/except
  so cleanup failures are logged rather than silently swallowed

Not addressed: #6 (keep gpu_0 per project marker policy), #9 (pytester
test deferred — complex due to conftest dependencies, low severity)

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

Signed-off-by: rrubin <[email protected]>
kangclzjc added a commit to kangclzjc/dynamo that referenced this pull request Jun 4, 2026
…auge reset (review ai-dynamo#12/ai-dynamo#13/ai-dynamo#19)

Hot-path quality fixes — none change a scaling decision.

ai-dynamo#12 pipeline durations use Clock.monotonic(), not Clock.now()
  Clock's contract reserves now() for wall-clock timestamps and monotonic()
  for duration measurement. Six duration sites (predict latency, fan-out
  call latency, whole-tick duration) used now(); under WallClock a backward
  NTP step mid-tick distorted the latency/duration histograms. Switched all
  six to monotonic(). VirtualClock.monotonic() is synced to trace time in
  replay, so replay/test behavior is unchanged.

ai-dynamo#13 ProposeResult derives result_kind + enforces the oneof
  ProposeResult carries the same accept/override/reject oneof as the stage
  responses but, unlike them, had no model_post_init — so building it the
  natural way (override=...) left result_kind='' and the proto round-trip
  came back 'override', breaking round-trip equality; a two-payload oneof
  violation also went unchecked. Extracted the derive+validate logic into a
  shared _derive_result_kind() helper used by both _StageOneofResponse and
  ProposeResult. +round-trip test (derive + oneof-violation reject).

ai-dynamo#19 override_active gauge reset covers errored plugins
  _emit_override_active reset the gauge only for plugins in plugin_results;
  a plugin whose call raised is absent from that list, so a 1 it set on a
  prior tick lingered. Now reset every ATTEMPTED plugin id (triggered +
  inherited) before setting the contributors.

828 planner tests pass (+1 round-trip test).

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
BenHamm added a commit that referenced this pull request Aug 20, 2026
- SPDX headers on synthesize-user-workload openai.yaml and all .codex files (#1)
- CODEOWNERS entries for .codex/, agents/, agent-docs/ (#2)
- lycheeignore the two agent-docs links that 404 until this PR merges (#3)
- .gitignore: remove local-dev leftovers that ignored two tracked skill
  dirs; keep an anchored /runs/ for EXP_ROOT artifacts (#4-7)
- vllm.md: scope the parallelism constraint to gpus_per_replica (#10)
- tensorrt-llm.md: drop engine-era/C++-executor KV fields and use_cuda_graph
  in favor of the surfaces real configs use (#11)
- vllm.md: normalize flag spellings to hyphenated form; hedge the
  unverifiable v0.18 scheduler-default claim (#12)
- kubernetes-recipe-workflow.md: define DEPLOY_ROOT before use (#14)

agent-reported label created in the repo (#13). Findings 8-9 (stop-request
record location) tracked separately pending a design decision.

Co-Authored-By: Claude Fable 5 <[email protected]>
copy-pr-bot Bot pushed a commit that referenced this pull request Aug 27, 2026
* fix(recipes): pin GB200 TP groups to one NVLink clique

A TP8 worker spans 2 GB200 nodes. deep_gemm_mega_moe allocates a symmetric
memory buffer across all 8 ranks via torch.distributed._symmetric_memory
.rendezvous, and that import cannot cross an NVLink72 clique boundary. The
recipes asked for 2 GB200 nodes without constraining them to one clique, so
whether a deployment started depended on scheduler placement.

When the group is split, engine init fails with:
  CUDA driver error: invalid resource handle. Rank 0 failed to import memory
  from rank 4, NCCL_MNNVL_CLIQUE_ID: unset

Observed on dgx-cloud: an agg lane placed on tj86 (clique b2daed23) + 24wk
(clique 9b7e5103) failed, while a disagg lane with both nodes in b2daed23 ran
normally -- same image, same cluster, same ComputeDomain. Reported as NVBug
6678925.

Adds podAffinity with topologyKey nvidia.com/gpu.clique to all three multinode
worker components (agg VllmDecodeWorker, disagg VllmPrefill, disagg VllmDecode).
matchLabelKeys scopes each rule to that TP group's own podcliquescalinggroup,
whose value is operator-generated and truncated so it cannot be hardcoded.
required rather than preferred: cross-clique is a hard startup failure, so
remaining Pending under capacity pressure is the correct outcome.

VLLM_ALLREDUCE_USE_SYMM_MEM=0 does not help -- it gates vLLM's allreduce path,
not DeepGEMM's own symmetric buffer.

Validation: patched agg recipe deployed on a GB200 cluster; both TP ranks placed
in clique b2daed23 and the gang scheduled with no deadlock from the
self-referential affinity.

Signed-off-by: Shubham <[email protected]>

* Update deploy.yaml

Signed-off-by: shugandhi <[email protected]>

* Update deploy.yaml

Signed-off-by: shugandhi <[email protected]>

---------

Signed-off-by: Shubham <[email protected]>
Signed-off-by: shugandhi <[email protected]>
copy-pr-bot Bot pushed a commit that referenced this pull request Aug 27, 2026
* fix(recipes): pin GB200 TP groups to one NVLink clique

A TP8 worker spans 2 GB200 nodes. deep_gemm_mega_moe allocates a symmetric
memory buffer across all 8 ranks via torch.distributed._symmetric_memory
.rendezvous, and that import cannot cross an NVLink72 clique boundary. The
recipes asked for 2 GB200 nodes without constraining them to one clique, so
whether a deployment started depended on scheduler placement.

When the group is split, engine init fails with:
  CUDA driver error: invalid resource handle. Rank 0 failed to import memory
  from rank 4, NCCL_MNNVL_CLIQUE_ID: unset

Observed on dgx-cloud: an agg lane placed on tj86 (clique b2daed23) + 24wk
(clique 9b7e5103) failed, while a disagg lane with both nodes in b2daed23 ran
normally -- same image, same cluster, same ComputeDomain. Reported as NVBug
6678925.

Adds podAffinity with topologyKey nvidia.com/gpu.clique to all three multinode
worker components (agg VllmDecodeWorker, disagg VllmPrefill, disagg VllmDecode).
matchLabelKeys scopes each rule to that TP group's own podcliquescalinggroup,
whose value is operator-generated and truncated so it cannot be hardcoded.
required rather than preferred: cross-clique is a hard startup failure, so
remaining Pending under capacity pressure is the correct outcome.

VLLM_ALLREDUCE_USE_SYMM_MEM=0 does not help -- it gates vLLM's allreduce path,
not DeepGEMM's own symmetric buffer.

Validation: patched agg recipe deployed on a GB200 cluster; both TP ranks placed
in clique b2daed23 and the gang scheduled with no deadlock from the
self-referential affinity.

Signed-off-by: Shubham <[email protected]>

* Update deploy.yaml

Signed-off-by: shugandhi <[email protected]>

* Update deploy.yaml

Signed-off-by: shugandhi <[email protected]>

---------

Signed-off-by: Shubham <[email protected]>
Signed-off-by: shugandhi <[email protected]>

This branch was previously deployed

1 inactive deployment
GITLAB — b8baddaf Deployed Mar 4, 2025 by ishandhanani
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants