Instructions to use lucaosti/corn-inspection-openvla-checkpoints with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lucaosti/corn-inspection-openvla-checkpoints with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("lucaosti/corn-inspection-openvla-checkpoints", device_map="auto") - Notebooks
- Google Colab
- Kaggle
corn-inspection-openvla-checkpoints
LoRA fine-tuning of an OpenVLA-7B policy that inspects corn cobs for
insect damage from a mobile manipulator, trained on anonymized
teleoperation demonstrations (my_robot_dataset, RLDS).
This repo publishes the OpenVLA line of the thesis experiments: Condition A1 β a faithful replication of the reference fine-tuning recipe over three seeds (42, 43, 44) β plus the cob-holdout fine-tunes (a real held-out-generalisation split). It holds, per A1 run, the final merged checkpoint and the step-2500 campaign rung: the two checkpoints the reported numbers come from. See What's in this repo and Storage policy.
What's in this repo
| Prefix | Contents |
|---|---|
runs/A1_openvla_ours_seed<SEED>/final_8000/ |
step-8000 merged full-precision OpenVLA-7B model + dataset_statistics.json + manifests_<jid>/ |
campaign-rungs/A1_openvla_ours_seed<SEED>/step_2500/ |
the step-2500 merged model β the rung the closed-loop campaign servers load |
cob-holdout/<split>/<seed>/final_8000/ |
6 fine-tunes for the held-out-cob-identity validation (sub-project A) + manifests/ + rlds_DATASET_INFO.md per split |
Canonical dataset
Every A1 run here was trained on the canonical dataset build:
| fingerprint (sha256) | |
|---|---|
| RLDS (OpenVLA input) | 30d7cefab9da9107f3068ebe5e0bec9029a345deb71df0045501056cc2e075ac |
| LeRobot twin (Ο0) | 3532405f02eb4a8866f585102a8d01a4fc12e85c4f75db2076d789e66716233e |
Built by cluster/build_canonical_dataset.sh (SLURM job 149026) from the
same 60 raw teleoperation episodes as the Ο0 build, pinned toolchain.
RLDS integrity is gated by sha256sum -c CHECKSUMS.sha256 at job start;
the fingerprint is recorded per run. Dataset repo:
lucaosti/corn-inspection-vla-dataset
(private + gated), RLDS build under its rlds/ prefix. The cob-holdout
runs use per-split RLDS builds β fingerprints in each
cob-holdout/<split>/rlds_DATASET_INFO.md.
Training recipe (A1)
| Base model | openvla/openvla-7b (openvla @ c8f03f4 + committed my_robot_dataset patch) |
| Method | LoRA (rank 32, dropout 0.0, all-linear), merged into the backbone at each save |
| Batch size | 8 |
| Learning rate | 5e-4 |
| Image augmentation | on |
| Steps | 8000, checkpoint every 500 β 16-rung ladder |
| Seeds | 42, 43, 44 |
| Hardware | SLU Libra, 1Γ NVIDIA H100 NVL per seed (machinelearning partition, array 149040) |
| Final loss | train_loss β 0.10β0.34 / l1_loss β 0.0008β0.025 |
canonical run β SLURM job id
| seed | manifest job id |
|---|---|
| 42 | 149250 |
| 43 | 149252 |
| 44 | 149040 |
Training was array job 149040 (--array=0-2, 2026-09-04); the
per-seed suffixes above come from a later capture_run_manifest.sh
re-stamp and are the ids on the run manifests. Each run's manifests carry
the git SHAs, resolved config, pip freeze, and the
openvla @ c8f03f4 + committed my_robot_dataset patch β OK gate line.
cob-holdout/ β held-out-cob-identity validation (sub-project A)
Same A1 recipe, but the training set is split by cob identity so the eval cob is never seen in training:
| split | trained on | evaluated on (held out) |
|---|---|---|
H1_train_rp1 |
red_point_1 (31 episodes) |
red_point_2 (29) |
H2_train_rp2 |
red_point_2 (29 episodes) |
red_point_1 (31) |
3 seeds (42/43/44) per split β 6 fine-tunes. Only the step-8000 merged
model is published here (final_8000/); the full ladders stay on the
training cluster. The GR00T counterpart of this split lives in
lucaosti/corn-inspection-groot-checkpoints
under the same cob-holdout/ layout.
Usage
from transformers import AutoModelForVision2Seq, AutoProcessor
repo = "lucaosti/corn-inspection-openvla-checkpoints"
sub = "runs/A1_openvla_ours_seed42/final_8000" # or campaign-rungs/.../step_2500
# or cob-holdout/H1_train_rp1/seed42/final_8000
processor = AutoProcessor.from_pretrained(repo, subfolder=sub, trust_remote_code=True)
model = AutoModelForVision2Seq.from_pretrained(
repo, subfolder=sub, trust_remote_code=True, torch_dtype="bfloat16"
)
dataset_statistics.json inside each checkpoint dir is required by OpenVLA
for action de-normalization at inference. The serving venv pins
transformers==4.40.1, tokenizers==0.19.1, peft==0.11.1,
timm==0.9.16 β see openvla-yolo-reconstruction/serving/README.md.
Storage policy
See docs/superpowers/plans/2026-09-06-artifact-storage-policy.md.
Rule 0: the project cluster keeps every artifact at full fidelity and is
never pruned for space. Rule 1 (2026-09-10): this repo is the
publishable showcase, not a backup β A1 finals, the step-2500 campaign
rung, and the cob-holdout finals. The complete _chkpt ladders (A1 and
cob-holdout alike) and the pre-canonical runs are kept on the cluster only.
GitHub run-ledger/ carries the text record; no weights.
Provenance and supersession
- The provisional pre-canonical A1 tree (job 148414, full 16-rung
ladders) was superseded by the canonical re-training (array 149040):
their training-dataset checksums were never committed and the resolved
config was never dumped. It was held as the tag
provisional-full-ladders-2026-09-04until 2026-09-10, then removed from this repo and kept on the project cluster only. - The canonical runs published here close that gap: dirty-tree gate at
submit,
openvla HEAD + committed patchcheck logged per seed, canonical RLDS fingerprint gated bysha256sum -c. - Published content carries no personal name of the demonstrator.
Companion Ο0 / Ο0-FAST sweep:
lucaosti/corn-inspection-pi0-checkpoints.
Model tree for lucaosti/corn-inspection-openvla-checkpoints
Base model
openvla/openvla-7b