Skip to content

Run the existing PyTorch package tests nightly - #446

Draft
nittin-murthi wants to merge 2 commits into
mainfrom
codex/nightly-pytorch-package-tests
Draft

nittin-murthi wants to merge 2 commits into
mainfrom
codex/nightly-pytorch-package-tests

Conversation

@nittin-murthi

@nittin-murthi nittin-murthi commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

First PR in the review stack. Run the existing PyTorch package suite daily at 10:17 UTC. The scheduled run uses its own concurrency group and the same package test job as the existing triggers.

The next PR, #447, extends those tests. The optional DiskGraph migration is #441, after #482.

Verification

Restores the original nightly revision 4a04a78d. Compared with main, the only changes are the schedule trigger and concurrency group.

File-by-file change map

@copy-pr-bot

copy-pr-bot Bot commented Nov 20, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@nittin-murthi
nittin-murthi temporarily deployed to gha-kumo-workflow-tests November 20, 2026 22:54 — with GitHub Actions Inactive
@nittin-murthi

nittin-murthi commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor Author

Change map

File Function / scope What changed Why
.github/workflows/kumo-pytorch-tests.yml Schedule and concurrency Run the existing workflow daily at 10:17 UTC with a dedicated nightly concurrency group. Exercise the original package tests nightly even when there is no PR or push.

@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Explain Change →

Note

.coderabbit.yaml has unrecognized properties

CodeRabbit is using all valid settings from your configuration. Unrecognized properties (listed below) have been ignored and may indicate typos or deprecated fields that can be removed.

Parsing warnings: 1

Validation error: Unrecognized key: "tone_instructions" at "reviews"
Configuration instructions

  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

No actionable comments were generated in the recent review.

Walkthrough

The workflow now runs daily at 10:17 UTC. Scheduled runs use nightly as their concurrency group. Other events continue to use the pull request number or Git ref.

Merge Risk: Minimal · up to e5ef6

This adds a daily 10:17 UTC run of the existing PyTorch tests with its own concurrency group, so a push to main cannot replace a pending nightly run. Other triggers keep their existing behavior. No merge-blocking risk was identified.

Architecture risk: Low · up to e5ef6

The changed surface does not map to a changed system, dependency edge, entrypoint, or external dependency.

Changed systems: None identified.

Architecture concerns
No architecture-level concerns identified.

Review details

Before / after behavior

  • observed — Modified behavior in .github/workflows/kumo-pytorch-tests.yml: Adds a scheduled trigger that runs the workflow daily at 10:17 UTC.
  • observed — Modified behavior in .github/workflows/kumo-pytorch-tests.yml: Scheduled runs now use nightly in the concurrency group instead of falling through to the Git ref; other events still use the pull request number or Git ref.
Pre-merge checks: Passed 2 · Inconclusive 1

Failed Failed checks: 1 inconclusive

Check name Status Explanation Resolution
Change Map Design Review Inconclusive The check assesses the PR conversation comment that starts with <!-- kumo-pr-change-map -->. That comment holds the Change map, with its problem statement, rationale, and verification. I could not r… To complete this check, supply the text of the PR conversation comment that begins with <!-- kumo-pr-change-map --> (comment 7052605522 on NVIDIA/kumo-engine PR #446). Then re-run the check. The review should confirm: 1. The problem or ex…
Passed Passed checks: 2 passed

Check name Status Explanation
Pr Size Passed The PR size check counts changed files and fails only if the count exceeds 40. git diff --name-status refs/coderabbit/pre-merge-check/base refs/coderabbit/pre-merge-check/head lists one changed file…
Public Resource Access Passed The pull request changes one file, .github/workflows/kumo-pytorch-tests.yml. The diff adds a schedule trigger (cron: '17 10 * * *') and changes the concurrency.group expression. The added line…
Full details: Pr Size

Explanation

The PR size check counts changed files and fails only if the count exceeds 40. git diff --name-status refs/coderabbit/pre-merge-check/base refs/coderabbit/pre-merge-check/head lists one changed file: M .github/workflows/kumo-pytorch-tests.yml. The file count is 1, which does not exceed 40, so the check passes. Line counts were ignored, as the check requires.

Full details: Public Resource Access

Explanation

The pull request changes one file, .github/workflows/kumo-pytorch-tests.yml. The diff adds a schedule trigger (cron: '17 10 * * *') and changes the concurrency.group expression. The added lines contain no URL, repository location, or package source location. The workflow_dispatch and schedule keys and the github.* expressions are workflow configuration, not external resource references. No external resource reference is added or modified, so the check does not apply and passes.

Full details: Change Map Design Review

Explanation

The check assesses the PR conversation comment that starts with &lt;!-- kumo-pr-change-map --&gt;. That comment holds the Change map, with its problem statement, rationale, and verification. I could not read it. The PR description links it as issuecomment-7052605522, but no tool here fetches PR conversation comments. The repository checkout and refs do not contain the marker text. The only match is the convention note in docs/development/review.md, which states that the map is a conversation comment and not a repository file. I checked the code evidence that is available. The changed-file inventory has one file, .github/workflows/kumo-pytorch-tests.yml. The patch adds schedule: cron: '17 10 * * *' and changes the concurrency group to use nightly for schedule events. Other events keep the PR number or ref. This matches the description and the raw summary. The patch does not change the job, the test steps, or any other behavior. The cancel-in-progress expression is unchanged. The design questions cannot be decided from the code alone. These include whether a nightly schedule is the observed failure or an explicitly requested release requirement, and whether the Change map records inspected alternatives and a stopping condition. The description's claim that 4a04a78d is restored is also not verified here.

Resolution

To complete this check, supply the text of the PR conversation comment that begins with &lt;!-- kumo-pr-change-map --&gt; (comment 7052605522 on NVIDIA/kumo-engine PR #446). Then re-run the check. The review should confirm: 1. The problem or explicit release requirement behind the nightly schedule is stated. 2. Existing behavior, such as the current triggers and the pull_request cancel-in-progress setting, is recorded as inspected. 3. The single workflow edit is the smallest sufficient change, and the map explains why the nightly concurrency group does not block or cancel PR runs. 4. Verification is focused, and the stopping condition is stated.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 11fe5e0 and e5ef6c9.

Files selected for processing: 1

  • .github/workflows/kumo-pytorch-tests.yml

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review.

@nittin-murthi
nittin-murthi temporarily deployed to gha-kumo-workflow-tests November 21, 2026 22:00 — with GitHub Actions Inactive
@nittin-murthi
nittin-murthi marked this pull request as ready for review November 22, 2026 21:33
@nittin-murthi nittin-murthi changed the title Run the existing PyTorch package tests nightly [kumo-pytorch] Optional DiskGraph migration for the legacy package tests Nov 23, 2026
@nittin-murthi
nittin-murthi changed the base branch from main to codex/pytorch-suite-plan November 23, 2026 02:43
@nittin-murthi
nittin-murthi added this pull request to stack #484 November 23, 2026 02:44
@nittin-murthi
nittin-murthi removed this pull request from stack #484 November 23, 2026 02:55
@nittin-murthi nittin-murthi changed the title [kumo-pytorch] Optional DiskGraph migration for the legacy package tests Run the existing PyTorch package tests nightly Nov 23, 2026
@nittin-murthi
nittin-murthi changed the base branch from codex/pytorch-suite-plan to main November 23, 2026 02:56
@nittin-murthi
nittin-murthi force-pushed the codex/nightly-pytorch-package-tests branch from 04ca163 to 4a04a78 Compare November 23, 2026 02:56
@nittin-murthi
nittin-murthi temporarily deployed to gha-kumo-workflow-tests November 23, 2026 02:56 — with GitHub Actions Inactive
@nittin-murthi
nittin-murthi added this pull request to stack #485 November 23, 2026 02:56
@bberger62

Copy link
Copy Markdown
Contributor

Proposed first merge — initial throughput support

Please put up one focused PR off current main with a manual DiskGraph throughput benchmark. It should carry selected pieces of #453, #479, and #482. Those provide the workloads and fixtures, the L01 model, and the bounded runner, respectively.

The first PR should offer three choices, with one workload per dispatch.

Workload Dataset Batch and model
M04 MBD Client transaction graph and GraphSAGE for 30-day transaction count
S02 Synthetic Medium Customer event history and a sequence model for next-token prediction
L01 AML LI Medium Graph, packed history and count features with a combined model for next-transfer amount and currency

Pin one raw dataset version and one shared anchor population per dataset. Here a workload means the batch contract and the model that consumes it. Distinct model types can use the same raw data and anchors. Keep one workload per model type per dataset. Model adapters can derive the columns they need from the shared anchors. For example, the MBD graph sampling cutoff can be derived from the prediction time in the shared anchor table. The M03/M04 v1/v2 anchor split is the kind of duplication to avoid. M04 is the MBD workload in this first cut.

#453 — fixture and workload setup

  • Keep the selected dataset pins, checksum verification and staging helpers. Keep the table bindings, anchor bindings and API contracts that produce the M04, S02 and L01 batches. Stage the selected fixture only when its benchmark is requested.
  • Review the new source-oracle and behavior assertions separately. Examples include reconstructing M04's graph and future counts from source transactions, checking S02's chronological history and shifted labels, checking L01's target and loss math, and testing H&M purchase ties. These are new correctness coverage. The other dataset and workload variants, Streaming fixtures and scheduled dataset staging can come up separately when needed.

#479 — L01 model consumer

  • Keep the small model in tests/e2e/l01_model.py that consumes the L01 graph, packed history and aggregates and produces amount and currency predictions. Use the shared benchmark loop for optimizer steps and timing.
  • Review the native graph/history length-planning and fallback changes as product behavior changes. The first benchmark uses the existing fixed-size native batching path. Keep the separate 512-anchor variant, fresh/reloaded fits, index reopen, length-cache checks, cold/warm file pages, and HI Small 25k/400k memory runs with their own diagnostic work.

#482 — bounded runner and manual dispatch

  • Keep the prepared, checksum-pinned inputs for the three selected datasets and the M04/S02 model consumers. Use one package runner and one manual workflow that lets the caller choose a workload. Reuse the candidate DiskGraph wheel and require native batch delivery from Parquet anchors, with the fallback guard enabled.
  • Build the index and fit on a fixed bounded selection of training anchors. Use fixed-size batches, 10 warmup batches and 100 timed batches, then stop. Time native loading through the synchronized CUDA training step. Record actual optimizer updates along with delivered samples, elapsed time, samples/s and tokens/s where applicable. Record the commit, fixture identity, runner and batch settings. Show staging, index preparation and fit time separately from training throughput.
  • Keep the first report small. A clock, CUDA synchronization and counters are sufficient. Review the full-population modes, validation/test passes, checkpoint and lifecycle coverage, profiling APIs, NVML, allocator and transfer instrumentation, cgroup memory collection, and consolidated evidence gate separately. Keep the GPU jobs on manual dispatch initially.

Follow-up reviews and acceptance

The existing nightly on main already runs the package conformance suite on both engines with extra generated cases. The November 23 run passed all 1,271 cases. The new behavioral tests in #447, including cases that expose existing native defects, should be reviewed as coverage changes and paired with the relevant fixes. The Streaming 25B campaigns in #456–#457, profiling in #458 and #476–#478, legacy-test migration in #441, and changes to schedules, PR triggers, sharding or required checks each belong in follow-up reviews. Existing nightly conformance run

For acceptance, attach one successful manual candidate run per workload from the approved GPU runner. The #482 PR run was rejected by the self-hosted runner's PR-event policy, and the manual replay was denied read access to the new extract objects. The first PR needs a working manual path through staging, native training and report upload. Include the total job duration alongside the timed training window so reviewers can assess how quick it is to run. PR runner result · Manual replay

@bberger62

Copy link
Copy Markdown
Contributor

Proposed next phase after initial throughput support

After #506 lands, use #447 as an inventory of native DiskGraph behavior to review one case at a time. Start each focused PR from current main. #447 case map

  1. Reproduce the case with the smallest fixture that exercises the public API and the native DiskGraph path. Identify the existing API guarantee or expected behavior and confirm the failure on main.
  2. For a confirmed defect, land the fix with the regression test that fails before the change and passes after it. If a case raises a contract question, agree on the intended behavior first. Record documented early refusals as such.
  3. Keep each PR focused on one behavior or root cause so the new test coverage and any runtime change are easy to review together.

Start with C-023, saved-cursor resume after fitted-state reload. The case consumes the first batch from a Parquet AnchorTable, saves the cursor and fitted state, and rematerializes the same logical task. The rematerialized task rejects the cursor as belonging to a different task. The existing artifact guarantee covers this workflow. Done means rematerializing the same anchors with the saved fitted state preserves task identity and the cursor resumes at the correct batch, with the expected remaining sample IDs and labels. The small native fixture in #447 is sufficient for this PR. Documented reproducer and guarantee

After that, work through the other #447 findings in the same way. Review selected #453 workload correctness checks separately, initially on demand, using the fixtures and shared anchors from #506. Those checks verify that the dataset adapter, batch contract and expected outputs work together. #453

nittin-murthi added a commit that referenced this pull request Nov 23, 2026
## Summary

Run one bounded DiskGraph training benchmark on an approved GPU by
selecting M04 (MBD GraphSAGE transaction count), S02 (Synthetic Medium
next-token prediction), or L01 (AML LI Medium amount and currency). Each
selection stages its checksum-pinned dataset, builds the candidate
index, and fits on 8,192 training anchors. L01 consumes packed history,
graph neighbors and aggregate counts.

Each dispatch uses one native Parquet-anchor iterator and one optimizer
for 10 warmup and 100 timed batches of 32. The training clock covers
native loading through the synchronized CUDA step. The report records
samples, history tokens, actual updates, setup times, and runner and
fixture identity. The existing package tests remain the default manual
selection.

[Requested first
merge](#446 (comment))

## Change map

[Files and
rationale](#506 (comment))

## Testing

- Ran all three pinned workloads locally with the candidate DiskGraph
wheel. Each completed 10 warmup and 100 timed batches, delivering 3,200
measured samples. Verified the fixed batch count with an ineligible
batch.
- Verified fixture checksums, the single pinned M04 target, and package
Ruff checks.

## Manual GPU results

Each run on `c9febc8ea` completed 10 warmup batches followed by 100
timed batches of 32 samples and 100 timed optimizer updates. The timed
window starts at native batch loading and ends after the final CUDA
synchronization.

| Run | Stage (s) | Open (s) | Index (s) | Fit (s) | Train 100 batches
(s) | Samples/s | History tokens/s | Report |
| --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: | --- |
| [M04](https://github.com/NVIDIA/kumo-engine/actions/runs/45269474896)
| 3.96 | 0.12 | 4.23 | 2.05 | 0.612 | 5,225 | N/A (graph-only) |
[JSON](https://github.com/NVIDIA/kumo-engine/actions/runs/45269474896/artifacts/14865035711)
|
| [S02](https://github.com/NVIDIA/kumo-engine/actions/runs/45269487579)
| 9.02 | 0.19 | 8.12 | 2.93 | 1.861 | 1,719 | 964,368 |
[JSON](https://github.com/NVIDIA/kumo-engine/actions/runs/45269487579/artifacts/14865610374)
|
| [L01](https://github.com/NVIDIA/kumo-engine/actions/runs/45269501655)
| 4.11 | 0.06 | 1.16 | 1.62 | 1.482 | 2,160 | 195,625 |
[JSON](https://github.com/NVIDIA/kumo-engine/actions/runs/45269501655/artifacts/14865130602)
|

## Follow-ups

- **Profiling** — Measure loader-only throughput, GPU utilization, peak
RAM, scratch allocation, and storage I/O independently of the basic
training benchmark.
- **M04 correctness** — Compare the generated 30-day count with the
pinned training label for the same client and prediction time.

This branch was previously deployed

1 inactive deployment
gha-kumo-workflow-tests — 4a04a78d Deployed Nov 23, 2026 by nittin-murthi via import #3006
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.

2 participants