Skip to content

Add a runbook for the one-node Olmo 3 7B SFT starting point - #1835

Merged
abhishekraok merged 2 commits into
mainfrom
claude/sft-running-guide-ce4980
Aug 20, 2026
Merged

abhishekraok merged 2 commits into
mainfrom
claude/sft-running-guide-ce4980

Conversation

@abhishekraok

@abhishekraok abhishekraok commented Aug 19, 2026 •

Copy link
Copy Markdown
Collaborator

docs/algorithms/finetune.md documents the SFT flags but not the sequence, so anyone starting a run reconstructs it from scripts and Beaker specs. This adds docs/algorithms/sft_running_guide.md: a step-by-step page for the setting worth defaulting to — Olmo 3 7B dense, one epoch of Dolci-Instruct-SFT, one 8xH100 node — plus the evaluation instructions.

Covers, in order: the CPU tokenization job, the training job and what a healthy run looks like, per-checkpoint HF conversion, and the olmo-eval sweep, with the measured reference numbers (base + all five checkpoints on ifeval_ood and gsm8k) to compare against.

Kept deliberately thin. The recipe's non-obvious flag choices are already documented in scripts/train/debug/oc_sft_olmo3_7b_1node.sh's header, so the page points there rather than duplicating them. Intended as a live document, updated in place as the recipe moves. No absolute checkpoint paths, since this is a public repo.

Every command and number is taken from runs that actually happened, linked from the page:

  1. Olmo 3 7B SFT, 1 epoch, 1x8: Beaker · W&B report
  2. Same recipe on Olmo-Hybrid-7B: Beaker · W&B report

uv run mkdocs build is clean; the new page produces no warnings. make style && make quality pass. Docs-only, so no open_instruct/ behaviour changes.

CHANGELOG=docs only; no changes under open_instruct/
GPU_TESTS=bypass

🤖 Generated with Claude Code

`finetune.md` documents the flags but not the sequence, so anyone starting an
SFT run has been reconstructing it from scripts and Beaker specs. This adds a
step-by-step page for the setting that is worth defaulting to -- Olmo 3 7B
dense, one epoch of Dolci-Instruct-SFT, one 8xH100 node -- covering the
tokenize job, the training job, HF conversion, and the eval sweep, with the
measured reference numbers to compare against.

Kept deliberately thin: the recipe's non-obvious flag choices already live in
`oc_sft_olmo3_7b_1node.sh`'s header, so the page points there instead of
duplicating them. Intended as a live document.

Co-Authored-By: Claude Opus 5 <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

Documentation Changes Detected

📄 404.html
--- site-base/404.html	2026-08-19 18:44:03.894549558 +0000
+++ site-pr/404.html	2026-08-19 18:43:58.919663584 +0000
@@ -706,6 +706,34 @@
   
   
     <li class="md-nav__item">
+      <a href="/allenai/open-instruct/algorithms/sft_running_guide/" class="md-nav__link">
+        
+  
+  
📄 DGX_SPARK/index.html
--- site-base/DGX_SPARK/index.html	2026-08-19 18:44:03.894728452 +0000
+++ site-pr/DGX_SPARK/index.html	2026-08-19 18:43:58.919839322 +0000
@@ -713,6 +713,34 @@
   
   
     <li class="md-nav__item">
+      <a href="../algorithms/sft_running_guide/" class="md-nav__link">
+        
+  
+  
📄 ai2_internal/index.html
--- site-base/ai2_internal/index.html	2026-08-19 18:44:03.894811747 +0000
+++ site-pr/ai2_internal/index.html	2026-08-19 18:43:58.919925984 +0000
@@ -708,6 +708,34 @@
   
   
     <li class="md-nav__item">
+      <a href="../algorithms/sft_running_guide/" class="md-nav__link">
+        
+  
+  
📄 algorithms/dataset_transformation/index.html
--- site-base/algorithms/dataset_transformation/index.html	2026-08-19 18:44:03.890111547 +0000
+++ site-pr/algorithms/dataset_transformation/index.html	2026-08-19 18:43:58.915102242 +0000
@@ -775,6 +775,34 @@
   
   
     <li class="md-nav__item">
+      <a href="../sft_running_guide/" class="md-nav__link">
+        
+  
+  
📄 algorithms/dpo/index.html
--- site-base/algorithms/dpo/index.html	2026-08-19 18:44:03.879567324 +0000
+++ site-pr/algorithms/dpo/index.html	2026-08-19 18:43:58.904675765 +0000
@@ -11,7 +11,7 @@
         <link rel="canonical" href="https://github.com/allenai/open-instruct/algorithms/dpo/">
       
       
-        <link rel="prev" href="../finetune/">
+        <link rel="prev" href="../sft_running_guide/">
       
       

Showing first 10 lines of diff for each changed file (up to 5 files, excluding search indices).

The page is in a public repo, so it should not carry our internal filesystem
layout. Replace the hardcoded checkpoint paths in the conversion and eval
commands with the `$CKPT`/`$STEP` variables, and state the checkpoint cadence in
terms of `CHECKPOINT_OUTPUT_DIR` rather than the directory it points at.

Also trims the opening and the Olmo-Hybrid row to what a reader needs.

Co-Authored-By: Claude Opus 5 <[email protected]>
@abhishekraok
abhishekraok marked this pull request as ready for review August 19, 2026 18:59
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@github-actions

Copy link
Copy Markdown
Contributor

Documentation Changes Detected

📄 404.html
--- site-base/404.html	2026-08-19 19:00:16.150047834 +0000
+++ site-pr/404.html	2026-08-19 19:00:12.805389426 +0000
@@ -706,6 +706,34 @@
   
   
     <li class="md-nav__item">
+      <a href="/allenai/open-instruct/algorithms/sft_running_guide/" class="md-nav__link">
+        
+  
+  
📄 DGX_SPARK/index.html
--- site-base/DGX_SPARK/index.html	2026-08-19 19:00:16.150162971 +0000
+++ site-pr/DGX_SPARK/index.html	2026-08-19 19:00:12.805508831 +0000
@@ -713,6 +713,34 @@
   
   
     <li class="md-nav__item">
+      <a href="../algorithms/sft_running_guide/" class="md-nav__link">
+        
+  
+  
📄 ai2_internal/index.html
--- site-base/ai2_internal/index.html	2026-08-19 19:00:16.150246809 +0000
+++ site-pr/ai2_internal/index.html	2026-08-19 19:00:12.805595384 +0000
@@ -708,6 +708,34 @@
   
   
     <li class="md-nav__item">
+      <a href="../algorithms/sft_running_guide/" class="md-nav__link">
+        
+  
+  
📄 algorithms/dataset_transformation/index.html
--- site-base/algorithms/dataset_transformation/index.html	2026-08-19 19:00:16.145464991 +0000
+++ site-pr/algorithms/dataset_transformation/index.html	2026-08-19 19:00:12.800645598 +0000
@@ -775,6 +775,34 @@
   
   
     <li class="md-nav__item">
+      <a href="../sft_running_guide/" class="md-nav__link">
+        
+  
+  
📄 algorithms/dpo/index.html
--- site-base/algorithms/dpo/index.html	2026-08-19 19:00:16.134392520 +0000
+++ site-pr/algorithms/dpo/index.html	2026-08-19 19:00:12.789777838 +0000
@@ -11,7 +11,7 @@
         <link rel="canonical" href="https://github.com/allenai/open-instruct/algorithms/dpo/">
       
       
-        <link rel="prev" href="../finetune/">
+        <link rel="prev" href="../sft_running_guide/">
       
       

Showing first 10 lines of diff for each changed file (up to 5 files, excluding search indices).

abhishekraok added a commit that referenced this pull request Aug 20, 2026
The header re-explained the two-job split and the cache key, both of which
oc_sft_olmo3_7b_1node.sh already covers and #1835's runbook now owns as the
living source of truth. It now points there and keeps only the departures
the architecture forces, each in a line or two.

The tokenizer note gets the same treatment: eleven lines of BPE comparison
for a one-line assignment, when the operative fact is that the two
tokenizers are interchangeable so the Olmo 3 cache is reusable.

Co-Authored-By: Claude Opus 5 <[email protected]>
@abhishekraok
abhishekraok added this pull request to the merge queue Aug 20, 2026
Merged via the queue into main with commit d57b50e Aug 20, 2026
7 checks passed
@abhishekraok
abhishekraok deleted the claude/sft-running-guide-ce4980 branch August 20, 2026 17:29
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.

2 participants