Repository navigation
Add native AutoML search and GEPA prompt optimization - #288
Draft
ramanathan831 wants to merge 19 commits into
Draft
ramanathan831 wants to merge 19 commits into
ramanathan831 wants to merge 19 commits into
Conversation
Make iopath available to converters, declare the supported Liger API, and retain optional storage imports. Include the validated uv 0.12.21 lockfile.
Preserve runtime permissions, local package installation, and image provenance. Exclude generated Python bytecode from the build context. Signed-off-by: Ramanathan Arunachalam <rarunachalam@nvidia.com>
Restore model export declarations, honor process CPU affinity, and limit benchmark NCCL environment defaults to CLI startup.
Normalize distributor seeds, preserve contiguous batches across epochs, and support bounded sequences with spawned preprocessing workers. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Use the shared video metadata probe and preserve Qwen timestamps and modality metadata throughout preprocessing.
Pad the variable sequence dimension before restoring position axes. Select supported attention implementations while honoring explicit overrides. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: Ramanathan Arunachalam <rarunachalam@nvidia.com>
Decode FP8 cache entries on pre-Ada devices while retaining native FP8 masked-load semantics on supported architectures.
Inject adapters before sharding, restore adapter-only trainability after materialization, and report logical parameter scope and token loss statistics. Include Qwen patch-embedding compatibility and the scalar Liger loss API.
Batch uniform vision attention chunks and cache deterministic validation features without desynchronizing distributed ranks. Honor frozen-weight precision without FSDP, deterministic FlashAttention, and cuDNN 9.15 support. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Signed-off-by: Ramanathan Arunachalam <rarunachalam@nvidia.com>
Expose checkpoint and validation cadence through TOML, report progress and terminal failures, and handle padded checkpoint markers. Preserve ranked loss logs and resolve configuration types without optional Megatron.
Provide local video-QA datasets, deterministic overrides, runtime model profiles, rank-local decoding, decoded-frame caching, and launch examples. Retain scoped decoder mocks in the existing recipe regression coverage. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Signed-off-by: Ramanathan Arunachalam <rarunachalam@nvidia.com>
…overy Restore parameter and optimizer snapshots after gradient spikes. Bound baseline inflation, coalesce clustered backoff, and gate rate recovery on demonstrated health. Keep the guard disabled by default. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Signed-off-by: Ramanathan Arunachalam <rarunachalam@nvidia.com>
Export native distributed reasoner checkpoints and resolve source provenance correctly from both ordinary and linked Git worktrees.
Build rumdl 0.1.62 from its pinned release source using an isolated Rust toolchain, then run the original full hook configuration unchanged.
Move reusable video processing and sharding into existing shared modules, replace the external dataset and status contracts with Framework-native implementations, and register the four dataset-neutral recipes directly. Preserve their configuration values and behavioral tests; add native dataset coverage.
Replace dataset-specific names and environment variables with the shared Cosmos video contract while retaining the Nano, Edge, and task-aware schedules.
Keep explicit release provenance fail-closed, allow ordinary builds without inventing a source identity, and use Framework-native manifest paths. Cover missing, partial, dirty, and complete provenance.
…ibility work Signed-off-by: Ramanathan Arunachalam <rarunachalam@nvidia.com>
This was referenced Oct 12, 2026
Signed-off-by: Ramanathan Arunachalam <rarunachalam@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.
Stack and review scope
This draft is based directly on #277's current head (
e4481fc3bc18994ff63b6ab62e9eb331d5e77e1d), not on the broad workflow/skills migration. Its GitHub base ismainbecause #277's source branch exists only in the contributor fork. Until #277 lands, this PR's Files changed also includes the parent change.AutoML-only comparison: #277 head to this branch.
Supersedes the fork-only AutoML draft #4. The broader fork runtime/skills PRs are not merge prerequisites for this focused change.
Included
cosmos-automlCLI/skill, including random, Bayesian (GP/expected improvement), BFBO, Hyperband, Hyperband-ES, BOHB, ASHA, DEHB, PBT, LLM, hybrid and autoresearch; GEPA prompt optimization is a separate evaluation workflow under the same entrypoint.reasoner-evaldependencies instead of the broad workflow extra; Apache attribution/provenance retained only for included material. Consumers require no TAO checkout or SDK.nvidia-automl-core==1.0.0.dev0), explicit image/wheel identities, bounded controller/recovery policies and truthful validation limits.Validation
COMPLETED, exit0:0. Same WTS 64-training/16-validation subset, at most five cumulative optimizer steps, eight GPUs per SFT stage and one GPU per GEPA batch. See the scheduler reconciliation below; this was not a clean first-attempt matrix pass.Before review/merge
tao-automl/packages/automl-core; local wheels only. Core dependency changes require the repository's TAO Infra review before its core PR/publication can proceed. Do not bypass that gate.Refactor artifact identity
Focused commit:
14505ff0933dd303fc2793319cb6f8c6e95f2924. Framework wheel SHA256:c600ccb7bcff213fac5d0718eeead0bd1c126c6de0ceecec063bead0340eee34. Core wheel SHA256:ed279d7329de333380b9d649c541b6b75d30d9500ca42f3b3ee8c35d8ee3305f.Validation image:
nvcr.io/nvstaging/tao/cosmos-framework:automl-wts-cu128-focused-20261012, digestsha256:a4dd7851d3af16bcc89deb6729ae1417681ed128158a06f5629ea1550595f2a9. Exact installed-file verification passed (854 Framework files, 19 core package files), including absence of omitted workflow modules. Fresh Python 3.12 CPU controller imports passed without Torch. CPU-only SQSH conversion job36427241passed in 27m59s (nativeCOMPLETED, exit0:0), including in-SQSH package verification. SQSH SHA256:0f162751b85e480a77d99e937ee7c093d7bb4958ff792814b94c0e2ce7e0293a. All 13 plans passed and parallel controller36429196was submitted with 41 sealed input files. Monitoring continued through terminal native accounting and artifact validation. Runtime code remains the exact commit above; follow-up commit72f7e88only records the results in documentation.Completed regression and scheduler reconciliation
All 13 modes produced completed validated handoffs. SFT stage counts: random 1, Bayesian 4, BFBO 2, Hyperband 3, Hyperband-ES 3, BOHB 6, ASHA 3, DEHB 6, PBT 4, LLM 1, hybrid 2, autoresearch 2. GEPA completed four evaluation batches. Bayesian reached its GP/expected-improvement proposal; BOHB and DEHB recorded KDE and differential-evolution proposals. All 37 SFT stages had native training/evaluation success, complete validation records and valid full-state DCPs. Seven promotions/continuations produced 56 matching eight-rank restore receipts, including optimizer-configuration checks for both PBT continuations. All six API calls returned HTTP 200 and reported 5,997 total tokens.
The original matrix controller
36429196endedFAILED, exit1:0, after 38m16s: Bayesian, BFBO and PBT's initialsbatch --parsablecalls exceeded the unchanged core's 30-second command timeout, leaving unknown outcomes and no job IDs. No blind retry was performed. Repeated queue/accounting checks over more than five minutes on the submission host and two reachable peers found no matching jobs; no worker receipts or native logs existed. A fourth configured login name did not resolve.Fresh searches under controller
36429728reused only the ten unspent SFT stages, with staggered starts and the original absolute deadline. It completed natively in 26m11s, exit0:0. The image/core wheel and total 37-stage GPU budget were unchanged. Final accounting again found no late jobs for the three original names. Original errors and stale ledgers are preserved. This is manual reconciliation, not proof of automatic submission recovery.All 53 sealed input files retained their hashes, credential sidecars were removed, and no tracked allocations remained running or queued. SFT scores all tied at 8/16; GEPA's best validation score was 8/16. This validates bounded execution, not quality or algorithm superiority.
The final audit also found an existing GEPA monitoring gap:
evaluate_promptscalls the evaluator directly and does not emit theevaluation/status.jsonfile declared by its plan. GEPA completion was verified from successful worker exits, metrics and exact per-example IDs, not that missing signal. Progress publication/no-progress monitoring remains a follow-up; this code is unchanged by the focused split.Full evidence and artifact identities: focused regression results. No new unit tests, version bumps or release publication were introduced.