feat(audio): agent-ready stages + the audio curation agent (full branch, draft) - #2343
Draft
shubhamNvidia wants to merge 1 commit into
Draft
feat(audio): agent-ready stages + the audio curation agent (full branch, draft)#2343shubhamNvidia wants to merge 1 commit into
shubhamNvidia wants to merge 1 commit into
Conversation
The complete audio agent work as one branch: the same stage-side contracts split across PRs NVIDIA-NeMo#2332-NVIDIA-NeMo#2342, plus the agent that consumes them. Stages (nemo_curator/stages/audio/): - the _agent/ contract layer (AgentReady, StageContract, roles, input residency, discovery, planning, conformance) and the public agent.py entry point - describe() contracts and *_key params across common, preprocessing, io, filtering, metrics, segmentation, tagging, inference, alm, datasets and advanced_pipelines - new stages: ChannelCount, SampleRateFilter, CreateInitialManifestAudioFolder, PreserveByValueConditions, ManifestCheckpoint, ManifestGroupExport, DocumentBatchJsonlWriter Agent (nemo_curator/audio_agent/): - deterministic verbs (discover/describe/validate/smoke/run/report/reuse/delta), knowledge cards, recipes, and the host skills Supporting: resource telemetry used by smoke calibration (utils/performance_utils.py, opt-in via RESOURCE_PROBE in backends/base.py), the nemo-curator-audio console script, and the audio_agent CI matrix entry. Verified: 51/51 stages pass static conformance, the stage-compatibility baseline hash is unchanged, and whole-repo `ruff check` is clean. Signed-off-by: Shubham Bhawsar <shbhawsar@nvidia.com>
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.
Draft — for anyone who wants to try the audio agent end to end. Not intended to merge as-is.
This is the complete audio-agent work in one branch: the same stage-side contracts that are up
for review as #2332–#2342, plus the agent that consumes them. It exists so the agent can be
run and evaluated without waiting for eleven PRs to land — review and merge should still happen
through those, starting with #2332 (Foundation).
What's here
Stages (
nemo_curator/stages/audio/) — identical content to the 11 PRs:_agent/contract layer:AgentReady,StageContract, semantic roles, input residency,discovery, planning and the conformance harness, behind the public
agent.pyentry pointdescribe()contracts and*_keyparams across common, preprocessing, io, filtering, metrics,segmentation, tagging, inference, alm, datasets and advanced_pipelines
ChannelCount,SampleRateFilter,CreateInitialManifestAudioFolder,PreserveByValueConditions,ManifestCheckpoint,ManifestGroupExport,DocumentBatchJsonlWriterThe agent (
nemo_curator/audio_agent/) — the part not in any of the 11 PRs:discover/describe/context/validate/smoke/run/report/verify/reuse-scan/delta-run/plan-checkpoint/doctorpipeline serves the user's intent, not just whether it runs
Supporting: resource telemetry for smoke calibration (
utils/performance_utils.py, opt-in viaRESOURCE_PROBEinbackends/base.py) and anemo-curator-audioconsole script.Trying it
uv sync --extra audio_cuda12 # or --extra audio_cpu python -m nemo_curator.audio_agent discover python -m nemo_curator.audio_agent context --data /path/to/audioNotes
nemo_curator/stages/audio/andnemo_curator/audio_agent/this touches five files:pyproject.toml(console script + acheck-manifestignore for.agents/),.gitignore,AGENTS.md,utils/performance_utils.pyandbackends/base.py. It makes no change to CIconfiguration.
tests/audio_agent/has no CI matrix entry on this branch, so those tests do not run here. Thestage-side tests under
tests/stages/audio/do run via the existingstages-audioentry.unchanged, and whole-repo
ruff checkis clean.