Skip to content

ci: update trigger token - #2

Closed
nv-anants wants to merge 2 commits into
mainfrom
anants/update-ci
Closed

nv-anants wants to merge 2 commits into
mainfrom
anants/update-ci

Conversation

@nv-anants

Copy link
Copy Markdown
Member

What does the PR do?

Checklist

  • PR title reflects the change and is of format <commit_type>: <Title>
  • Changes are described in the pull request.
  • Related issues are referenced.
  • Populated github labels field
  • Added test plan and verified test passes.
  • Verified that the PR passes existing CI.
  • Verified copyright is correct on all changed files.
  • Added succinct git squash message before merging ref.
  • All template sections are filled out.
  • Optional: Additional screenshots for behavior/output changes with before/after.

Commit Type:

Check the conventional commit type
box here and add the label to the github PR.

  • build
  • ci
  • docs
  • feat
  • fix
  • perf
  • refactor
  • revert
  • style
  • test

Related PRs:

Where should the reviewer start?

Test plan:

  • CI Pipeline ID:

Caveats:

Background

Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)

  • closes GitHub issue: #xxx

@nv-anants nv-anants closed this Mar 4, 2025
elyasmnvidian added a commit that referenced this pull request Aug 13, 2025
elyasmnvidian added a commit that referenced this pull request Aug 13, 2025
elyasmnvidian added a commit that referenced this pull request Aug 13, 2025
athreesh added a commit that referenced this pull request Aug 18, 2025
elyasmnvidian added a commit that referenced this pull request Sep 23, 2025
elyasmnvidian added a commit that referenced this pull request Sep 26, 2025
Signed-off-by: Elyas Mehtabuddin <[email protected]>
elyasmnvidian added a commit that referenced this pull request Sep 26, 2025
Signed-off-by: Elyas Mehtabuddin <[email protected]>
elyasmnvidian added a commit that referenced this pull request Sep 26, 2025
Signed-off-by: Elyas Mehtabuddin <[email protected]>
elyasmnvidian added a commit that referenced this pull request Sep 26, 2025
Signed-off-by: Elyas Mehtabuddin <[email protected]>
elyasmnvidian added a commit that referenced this pull request Sep 30, 2025
Signed-off-by: Elyas Mehtabuddin <[email protected]>
keivenchang added a commit that referenced this pull request Feb 5, 2026
Changes:
- Move wait_until_events_processed to BEFORE sending requests #2 and #3
  (was AFTER each request, causing stale cache view during routing)
- Add DIS-1406/analyze_test_errors.py script to categorize A1/A2/A3/A4 errors
- Remove unnecessary sleep delays before first request attempt
- Reorganize reproduction materials into DIS-1406/ directory

Fix13 improves from Fix12 (38/50 → 39/50 passed, 24% → 22% A1 errors)
but still shows ~22% A1 failures due to non-deterministic dp_rank selection.
tedzhouhk added a commit that referenced this pull request Apr 18, 2026
Adds TestQwen235BugReproCase with the exact two picks from the original
triage report:

* Prefill: tp=4, dp=1, moe_tp=1, moe_ep=4
* Decode: tp=1, dp=8, moe_tp=2, moe_ep=4

Each test pins down a specific symptom that the old profiler path
produced:

* test_prefill_pick_satisfies_aic_identity — Bug #1 (missing moe kwargs)
  and Bug #2 (using .tp_size property) would break the identity for
  this pick. Verifies all five kwargs and the MoE identity.
* test_decode_pick_satisfies_aic_identity — same for the decode pick,
  which was the exact shape that triggered Bug #3 (missing
  attention_dp_size).
* test_tp_size_property_differs_from_aic_tp_size — direct regression
  guard: documents that the property returns 1 here while AIC's tp_size
  is 4. Anyone who wires .tp_size back into AIC kwargs will break this.
* test_end_to_end_sweep_delivers_complete_kwargs_to_aic — runs both
  sweeps and asserts every AIC call gets complete kwargs. This is the
  direct reproducer of the originally-reported failure.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Signed-off-by: hongkuanz <[email protected]>
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]>
BenHamm added a commit that referenced this pull request Jun 14, 2026
…dya review #2)

Replace the monolithic recipes.yaml / benchmarks.yaml with one file per
entry + an ordering index + a JSON schema + a validator, to cut merge
conflicts and give a cleaner per-entry ownership/validation path.

  docs/recipes/_catalog/
    index.yaml          # ordering + inclusion (10 active + 3 deferred)
    schema.json         # JSON Schema (draft 2020-12), one recipe object
    recipes/<id>.yaml   # one object per file, verbatim
    validate.py         # validates BOTH catalogs
  docs/benchmarks/_catalog/{index.yaml,schema.json,benchmarks/<id>.yaml}

validate.py checks index<->file correspondence, id/filename match, no
dups, schema conformance, page/asset path resolution, and cross-catalog
referential integrity; exits non-zero on failure. Stdlib-only with
graceful degradation (prefers pyyaml+jsonschema, falls back to a builtin
parser + required-keys check). All entries preserved verbatim
(round-trip diff: 0 mismatches). Wiring the validator into CI is a
tracked follow-up.

Co-Authored-By: Claude Fable 5 <[email protected]>
nnshah1 added a commit that referenced this pull request Jun 23, 2026
Address graham-code-review feedback on PR #10351:

- Drop the secondary `owners` map; store `Owner = (instance_id,
  lora_slug)` inline with each entry value. One lock, one source of
  truth, no nested-write-lock hazard, no two-map sync risk.
- `register` takes `&Owner` (one clone inside, not per-file).
- Panic on collision: re-registering the same (slug, suffix, filename)
  with a different owner is a programming error (two attaches of the
  same model+suffix in one process would let detach-#1 wipe files
  detach-#2 still needs). Same-owner re-register is fine and just
  updates the path.
- Doc + local var naming aligned on `instance_id` to match
  `local_model.rs`'s existing usage (the value populates
  `DiscoveryInstance::Model.instance_id`).
- Tests: collision panic + same-owner update path coverage.

Signed-off-by: nnshah1 <[email protected]>
KavinKrishnan added a commit to KavinKrishnan/dynamo that referenced this pull request Jun 24, 2026
Adds a new `dynamo.vllm.mx_refit` module that ports NeMo-RL's
`VllmInternalWorkerExtension.update_weights_via_mx` into Dynamo's
vLLM worker so external trainers can publish per-rank tensor shards
via NIXL RDMA into a running AsyncLLM mid-training without going
through HF-format round-tripping.

Two paths are supported:

  1. DTensor / v1 path: trainer publishes torch.distributed DTensors;
     receiver does a full-tensor pull (`.full_tensor()`-equivalent over
     NIXL) and lets vLLM's standard load_weights re-shard.

  2. Megatron-Core / v2 path: trainer publishes per-rank Megatron-native
     shards with a sidecar describing the model's transformer config and
     a name_map. Receiver builds a slice plan against its own vLLM TP/EP
     layout, pulls each rank's contribution directly into a pre-allocated
     global tensor, then applies role-aware translation (QKV
     un-interleave, gated-MLP split, name remap) via the vendored Bridge
     helpers shipped with the modelexpress Python client. Supports both
     matched-TP (source_tp == target_tp) and mixed-TP (source_tp != target_tp,
     with v1 sliced-pull for contiguous narrows + v0 host-scratch+slice
     for strided / per-expert dict assembly).

The Megatron client-side machinery (slice planner, translator, vendored
Bridge helpers, v1 NIXL sliced-pull primitive) lives in
ai-dynamo/modelexpress PR ai-dynamo#429 (merged). The trainer-side publisher
lives in NeMo-RL PR ai-dynamo#2 (merged into the dynamo-k8s-integration branch).

This file has been carried as a private kubectl-overlay against
ai-dynamo's container image and validated end-to-end on GB200 against:

  - Qwen3-4B-Thinking-2507: 398/398 HF tensors byte-identical
    (matched-TP).
  - Qwen3-MoE-30B-A3B: 18,867/18,867 HF tensors byte-identical
    (matched-TP, grouped-MoE).
  - Mixed-TP target-wider (trainer TP=1 -> vLLM TP=2): 16/16
    byte-identical via v1 NIXL sliced-pull.

No public Dynamo APIs change; the extension is opt-in via the standard
`mx_refit.MxRefitWorkerExtension` registration on the vLLM worker.

A separate follow-up PR adds buffer-caching across refit cycles to
avoid re-allocating + re-registering NIXL buffers on every cycle.
jthomson04 pushed a commit that referenced this pull request Jun 25, 2026
Adds a new `dynamo.vllm.mx_refit` module that ports NeMo-RL's
`VllmInternalWorkerExtension.update_weights_via_mx` into Dynamo's
vLLM worker so external trainers can publish per-rank tensor shards
via NIXL RDMA into a running AsyncLLM mid-training without going
through HF-format round-tripping.

Two paths are supported:

  1. DTensor / v1 path: trainer publishes torch.distributed DTensors;
     receiver does a full-tensor pull (`.full_tensor()`-equivalent over
     NIXL) and lets vLLM's standard load_weights re-shard.

  2. Megatron-Core / v2 path: trainer publishes per-rank Megatron-native
     shards with a sidecar describing the model's transformer config and
     a name_map. Receiver builds a slice plan against its own vLLM TP/EP
     layout, pulls each rank's contribution directly into a pre-allocated
     global tensor, then applies role-aware translation (QKV
     un-interleave, gated-MLP split, name remap) via the vendored Bridge
     helpers shipped with the modelexpress Python client. Supports both
     matched-TP (source_tp == target_tp) and mixed-TP (source_tp != target_tp,
     with v1 sliced-pull for contiguous narrows + v0 host-scratch+slice
     for strided / per-expert dict assembly).

The Megatron client-side machinery (slice planner, translator, vendored
Bridge helpers, v1 NIXL sliced-pull primitive) lives in
ai-dynamo/modelexpress PR #429 (merged). The trainer-side publisher
lives in NeMo-RL PR #2 (merged into the dynamo-k8s-integration branch).

This file has been carried as a private kubectl-overlay against
ai-dynamo's container image and validated end-to-end on GB200 against:

  - Qwen3-4B-Thinking-2507: 398/398 HF tensors byte-identical
    (matched-TP).
  - Qwen3-MoE-30B-A3B: 18,867/18,867 HF tensors byte-identical
    (matched-TP, grouped-MoE).
  - Mixed-TP target-wider (trainer TP=1 -> vLLM TP=2): 16/16
    byte-identical via v1 NIXL sliced-pull.

No public Dynamo APIs change; the extension is opt-in via the standard
`mx_refit.MxRefitWorkerExtension` registration on the vLLM worker.

A separate follow-up PR adds buffer-caching across refit cycles to
avoid re-allocating + re-registering NIXL buffers on every cycle.
copy-pr-bot Bot pushed a commit that referenced this pull request Jul 20, 2026
fix(glm-5.2): align H200 agg replicas with perf table; unify TTFT units
dmitry-tokarev-nv added a commit that referenced this pull request Aug 3, 2026
The fixture hangs rather than fails: worker #2 dies during launch, the
router then blocks forever waiting for two workers, and the declared
timeout cannot fire because the signal is swallowed at a C-level syscall.
The parallel orchestrator has no hard-kill for a child that outlives its
timeout, so the job runs to its step cap with this test holding a 12 GiB
reservation and three workers queued behind it.

The existing note said it passed reliably outside nightly and scoped the
skip there. Measured over five days that is not what happens: 82% of
nightly runs but also 63% of post_merge, with observed hangs of 3659s,
4235s and 6077s -- about 220 runner-hours in five days, and three of the
last four runs on this branch.

Skip it and record what would let it come back: fixing the launch race, or
giving the orchestrator a hard-kill. Either turns this from a lost job
into an ordinary failure. The scenario is worth keeping; the hang is not.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Signed-off-by: Dmitry Tokarev <[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]>
tzulingk added a commit that referenced this pull request Sep 3, 2026
Follow-up to #12991 addressing the architecture review of scale_elastic_ep:

- #1 Outer timeout backstop: wrap the scale in asyncio.wait_for
  (DYN_SCALE_EP_TIMEOUT_S, default 600s). Without it, a scale that hangs
  past vLLM's own limits leaves _scale_ep_in_progress stuck True and wedges
  the endpoint forever. A timed-out scale is a wedged engine -> fail fast.
- #2 Warm the heavy 'ray' import off the event loop (asyncio.to_thread) so
  the first scale on a worker does not block the loop.
- #3 Document that the ray.util.state.list_nodes patch mutates a
  process-global (safe: serialised by _scale_ep_in_progress, restored in
  finally).
- #4 Document that an externally-cancelled scale (shutdown / client
  disconnect) intentionally does not force a restart.

Adds test_hung_grow_times_out_and_restarts.

Signed-off-by: Tzu-Ling <[email protected]>

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
copy-pr-bot Bot pushed a commit that referenced this pull request Oct 20, 2026
feat(sglang): verify controller admission and project optional policy taints

This branch had an error being deployed

1 failed deployment
GITLAB — 1b936c6e Deployed Mar 4, 2025 by nv-anants
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.

1 participant