Skip to content

Add a Bonsai vineyard LoRA post-training skill - #454

Draft
christinayyw wants to merge 4 commits into
mainfrom
skill/bonsai-vineyard-lora
Draft

christinayyw wants to merge 4 commits into
mainfrom
skill/bonsai-vineyard-lora

Conversation

@christinayyw

@christinayyw christinayyw commented Dec 4, 2026 •

Copy link
Copy Markdown
Collaborator

Bonsai Robotics vineyard LoRA

This ports the partner recipe in #424 by Sandeep Sam Zachariah (Bonsai Robotics) and Paula Ramos (NVIDIA). The skill trains one Cosmos3-Nano LoRA for four conditioning modes and compares the released model or a local export with base Nano. Start with the skill or open the illustrated recipe and gallery.

What carried over from #424

Source scope Where to find it and what was verified
Six Framework code changes The skill launcher registers the experiment on each worker and sets Torch’s sharing strategy. The local trainer retains the no-gradient objective, callbacks, EMA, iterator behavior and per-rank validation RNG. Stock Framework code stays untouched.
Training launcher and TOML Dry run, 10-step smoke, 150-step training, distributed settings and Hydra overrides are available through the training guide. Parsed TOML values match #424, including the 3:3:2 stream split.
Three benchmark programs Spec generation, scoring and media generation are byte-identical to #424. The benchmark guide covers 48 vineyard and 16 orchard/strawberry generations across both checkpoints, six metrics and gallery regeneration.
Illustrated recipe and 20 assets Preserved all 20 original headings, all 17 tables and all 105 benchmark table cells. Downloaded all six GIFs, six MP4s, six posters and both metrics JSONs from the draft commit. All 30,095,873 bytes matched the source.
Docs and examples navigation The original GitHub docs path leads to the illustrated recipe, the SFT docs navigation renders it, and the examples index links to the launcher. The strict docs build passed and its rendered page links to all 20 assets.

The source for this audit is partner commit 81ca1de. Training now takes an explicit mode and defaults to a per-mode output directory. The effective validation seed is logged. The comparison enables guardrails by default and documents how to reproduce the partner’s setting.

Validation

Check Result
Minimal agent skill eval The bundled synthetic case prepares four native requests and checks eight output artifacts. Claude, Codex, Cursor and OpenCode each passed on their first attempt on the initial draft. Cursor passed again on audited commit ab3b841 (first attempt, static score 100). The evaluator recorded two verification corrections: an optional unavailable ffprobe and a corrected file-search path. Four-backend results · Audited-commit result.
Training behavior Colossus composed the stock 10-, 150- and 200-step configurations, including the 200-step override with seed 17, rank 32 / alpha 64 and 12 validation batches. The local trainer matched the partner implementation on 144 CPU cases. On one H100, seed 2026 and seed 17 each produced repeatable validation with restored training RNG.
Benchmark and gallery All 32 distinct requests matched the pinned public metadata and expected spec fields. Synthetic clips exercised all 64 scoring rows and regenerated all 18 media files twice with identical hashes. A separate one-clip check prepared the four real requests from pinned public vineyard data.
Documentation Strict site build and all 52 docs tests passed locally.

The training and image-quality figures in the guide are the partner’s measurements. New tests did not retrain the full model or regenerate the 64 model outputs. The partner reports camera optical flow and contrast-adjusted foliage motion in prose without a corresponding analysis script. Their observations and the available raw frame-change measurement are preserved.

Signed-off-by: Christina Wang <christwang@nvidia.com>
@christinayyw

Copy link
Copy Markdown
Collaborator Author

/run-skill-eval force cells=cosmos3-post-train-bonsai-vineyard-lora/*/prepare-vineyard-requests

@github-actions

github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Skill eval — 5fdc129 · run #47249297811 · mode force · cells=cosmos3-post-train-bonsai-vineyard-lora/*/prepare-vineyard-requests (4 selected, 0 reused)

4 / 4 cells done · 4 passed · 0 failed · 0 no report · 0 errors · 0 reused · started 2026-12-04 02:09:07 UTC · updated 2026-12-04 02:34:44 UTC

cosmos3-post-train-bonsai-vineyard-lora · dashboard overview · static 100/100

Case claude codex cursor opencode
prepare-vineyard-requests ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report

Legend: ⏳ queued · 🟢 running · ✅ PASS · ❌ FAIL · ⚠️ PARTIAL · ❔ NO-REPORT (the agent finished without writing a report) · ⛔ ERROR (model gateway / agent / node error, see the report) · 💥 error (launcher failed before publishing) · reused (progress line) = cells this run did not execute: another run's newest result of this skill version, shown like a fresh one · (not selected) = outside the trigger's cells= with no result of this skill version yet · (not re-run: n report-less attempts) = 3 consecutive NO-REPORT/ERROR results for this skill version, treated as a harness-side failure (force or cells= re-runs it) · not run = the runner lost docker (job stopped)

✅ done — 4/4 passed (0 failed, 0 no report, 0 errors)

Signed-off-by: Christina Wang <christwang@nvidia.com>
@christinayyw

Copy link
Copy Markdown
Collaborator Author

/run-skill-eval force cells=cosmos3-post-train-bonsai-vineyard-lora/cursor/prepare-vineyard-requests

Signed-off-by: Christina Wang <christwang@nvidia.com>
@github-actions

github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Skill eval — ab3b841 · run #47251377949 · mode force · cells=cosmos3-post-train-bonsai-vineyard-lora/cursor/prepare-vineyard-requests (1 selected, 0 reused)

1 / 1 cells done · 1 passed · 0 failed · 0 no report · 0 errors · 0 reused · started 2026-12-04 02:34:29 UTC · updated 2026-12-04 02:38:07 UTC

cosmos3-post-train-bonsai-vineyard-lora · dashboard overview · static 100/100

Case claude codex cursor opencode
prepare-vineyard-requests — not selected — not selected ✅ PASS · report — not selected

Previous runs on this PR

Legend: ⏳ queued · 🟢 running · ✅ PASS · ❌ FAIL · ⚠️ PARTIAL · ❔ NO-REPORT (the agent finished without writing a report) · ⛔ ERROR (model gateway / agent / node error, see the report) · 💥 error (launcher failed before publishing) · reused (progress line) = cells this run did not execute: another run's newest result of this skill version, shown like a fresh one · (not selected) = outside the trigger's cells= with no result of this skill version yet · (not re-run: n report-less attempts) = 3 consecutive NO-REPORT/ERROR results for this skill version, treated as a harness-side failure (force or cells= re-runs it) · not run = the runner lost docker (job stopped)

✅ done — 1/1 passed (0 failed, 0 no report, 0 errors)

…partner-branch paths

The partner's recipe page told readers to clone a fork of the Framework at the commit of the partner submission,
because that submission changed Framework code and added a launcher and helpers under examples/. The skill needs
no such clone: it runs from a stock checkout that contains it. Remove the clone block and point to the skill's
training guide. No file clones or links the fork any more; the partner's original commands are referenced through
pull request #424.

Smaller leftovers of the partner branch on the same page:
- the second Prerequisites block (COSMOS_FRAMEWORK_DIR and the old launcher) becomes a note that names the skill
  launcher and its defaults;
- the experiment file, the TOML, the scoring and media helpers and the dry-run command name the skill's files;
- the unconditional LD_LIBRARY_PATH reset is gone with the clone block;
- a note gives the measured checkpoint size (about 58 GB, six saved by the default run) next to the partner's
  ~200 GB disk figure, here and in the training guide;
- the status line no longer says draft;
- the Pipeline block is marked as the partner's original commands, kept for reference, with the skill guide for
  each stage.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: Christina Wang <christwang@nvidia.com>

This branch has not been deployed

No deployments
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