feat(audio-alm): make ALM stages agent-ready - #2340
Open
shubhamNvidia wants to merge 1 commit into
Open
Conversation
Adds describe() contracts to the ALM data-builder/overlap stages and the pretrain extraction/io/planning stages so a planner can tell what each reads and writes before running it. Depends on the agent-ready foundation (nemo_curator/stages/audio/_agent/), which must merge first. Signed-off-by: Shubham Bhawsar <shbhawsar@nvidia.com>
Contributor
Greptile SummaryAdds agent-readable contracts and configurable payload keys to ALM window-building and pretraining stages without intentionally changing their processing behavior.
Confidence Score: 5/5The contract changes appear safe to merge once the explicitly declared agent-ready foundation dependency is present. No concrete changed-code defect remains beyond the acknowledged prerequisite dependency, and the reviewed declarations align with the visible stage behavior. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart LR
A[Long-form manifest reader] --> B[Overlap filter]
B --> C[Snippet cut planner]
C --> D[Repetition filter]
D --> E[Snippet extraction]
E --> F[Manifest writer]
E --> G[Audio tar shards]
B --> H[Metrics aggregator]
C --> H
D --> H
E --> H
F --> I[Finalization]
G --> I
H --> I
Reviews (1): Last reviewed commit: "feat(audio-alm): make ALM stages agent-r..." | Re-trigger Greptile |
shubhamNvidia
requested review from
ayushdg,
mohammadaaftabv and
sarahyurick
and removed request for
ayushdg
August 25, 2026 12:01
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contracts only — no behavior change. Adds
describe()+*_keyparams to the ALM data-builder / overlap stages and the pretrain extraction / io / planning stages.Because window-building replaces the row rather than adding to it, the contract also declares
preserves_upstream_keys=Falseand lists the fields it drops (removes_keys) — so the planner knows a key consumed upstream of ALM will not survive past it, instead of discovering that at runtime.Source only — the
tests/stages/audio/alm/folder is untouched and identical tomain.Depends on the agent-ready foundation, #2332 — that must merge first (this branch imports
nemo_curator/stages/audio/_agent/, so CI here stays red until it lands).