v0.92026-09-16
Oumi v0.9 Release Notes
This release makes Oumi an end-to-end stack for agentic, tool-using models: you can now train on tool-calling data, execute tool calls against real environments (databases, HTTP endpoints, deterministic lookups, and model-simulated tools), synthesize multi-turn tool conversations, and run GRPO/RL over any of those environments with verl. It also adds a multi-criteria RubricJudge, partial-failure-tolerant inference/synthesis/judging, a Modal GPU launcher and SkyPilot-routed Slurm, and new Gemma 4 recipes.
Highlights
🛠️ Tool-use training
Train models to call tools end-to-end:
- Tool-aware chat templates — access the tool-call section, auto-detect the tool-call form a template expects (#2605, #2603, #2604)
- Trainable tool adapters (#2658)
- Collator masking that correctly remasks tool-response spans, including responses nested in an assistant turn (#2594)
- Tool-calling SFT and text DPO over JSONL, with serialized tool arguments decoded during tokenization (#2642, #2517)
- Canonical tool-call Conversation shape + JSON-string ↔ dict argument helpers (#2602, #2601)
🌐 Tool-execution Environments
The new oumi.environments subsystem supports executing tools calls with various backends.
- ExecutableEnvironment / ExecutableTool — the base abstraction for tools that actually run. (#2527)
- DatabaseExecutableEnvironment — run tool calls against a database session, with rollback-isolated teardown (see the EHR example). (#2528, #2545)
- EndpointEnvironment — dispatch tool calls to HTTP endpoints. (#2625)
- Lookup (deterministic) and simulated environments — deterministic lookup tables validated against tool schemas, with argument defaults applied and any JSON value as output; model-simulated tool execution for synthesis. (#2623, #2536, #2573, #2574)
- Tool executors are resolvable by registry name, so environments can wire tools declaratively. (#2555)
🎯 OumiVerlTool — RL over any Oumi environment
OumiVerlTool bridges Oumi's executable environments into verl, so you can run verl GRPO tool-use RL over any Oumi environment. Custom judge rewards are now supported in verl GRPO, multi-turn prompts are supported in the GRPO data path, conversation metadata is preserved through GRPO datasets, and per-run verl metrics are mirrored to verl_metrics.jsonl with richer logging.
(#2569, #2624, #2542, #2644, #2643, #2646)
⚖️ RubricJudge — multi-criteria evaluation
A new RubricJudge scores a response against several named criteria in a single judge call, instead of one boolean per pass — useful both for evaluation and as a GRPO reward. Ships with example configs under configs/projects/judges/rubric and documentation.
(#2626, #2628, #2629)
🧬 Conversation synthesis
Synthesize multi-turn tool-use conversations:
- Stateful and stateless synthetic tool environments for multi-turn tool interactions (#2410, #2457)
- Bring your own inference engine/provider for synthesis (#2504)
- Reusable ConversationSynthesizer building blocks to drive synthesis programmatically (#2531)
- Token-usage accounting across a synthesis run (#2480)
- Misc improvements: #2559, #2630, #2588, #2591, #2576
🔁 Partial-failure-tolerant pipelines
Long inference, synthesis, and judging runs can now return partial results instead of failing the whole batch. New inferpartial() / synthesizepartial() / judge_partial() templates, per-row partial failures in RemoteInferenceEngine, partial-inference result types, and a progress-file reporter you can poll while a run is in flight.
(#2498, #2499, #2500, #2501, #2502)
⚡ Inference hardening
- Anthropic: configurable prompt-cache TTL, cache tokens folded into prompttokens, correct model-version gating for round and dated model names, and sampling params omitted for models that reject them. (#2665, #2620, #2568, #2538)*
- Reliability: honor Retry-After, fixed retry backoff under rate limits, and retries re-paced through the adaptive concurrency controller (which now recovers from backoff and ignores non-retriable errors). (#2516, #2515, #2508, #2507)
- Token-usage reporting from the vLLM engine, reasoningcontent parsing from remote responses, userid forwarding for abuse attribution, preserved Accept-Encoding across engine header overrides, and a new HuggingFace remote inference engine. (#2606, #2465, #2519, #2622, #2434)
- Tool calling wired through Anthropic, Gemini, Vertex, and vLLM remote requests. (#2420, #2619)
🚀 Launcher: Modal + SkyPilot-routed Slurm
- Modal GPU launcher provider (cloud, cluster, client, and batched log retrieval). (#2443, #2455, #2503)
- SkyPilot-routed Slurm (sky-slurm), direct squeue/scontrol job status, forwarded accelerators/cpus/memory to sbatch, JobStatus.submittime, config-override passthrough, a provider-agnostic ClusterNotFoundError, and several Slurm robustness fixes (unreachable controller and command timeout map to ClusterUnreachableError; COMPLETING maps to RUNNING). (#2477, #2481, #2482, #2506, #2453, #2442, #2535, #2547, #2662, #2493)*
🧩 Models, recipes & examples
- Gemma 4 recipes: 12B / 26B (MoE) / 31B and E2B / E4B, in both FFT and LoRA, with regex LoRA targeting and disk-safe saving; plus a verl buffer-sync patch for robust multi-rank Gemma 4 training. (#2490, #2491, #2492, #2495, #2496, #2479, #2647)
- Qwen3.5 dual-mode checkpoints get a textonly opt-in, with dual-mode/VLM detection fixed under Transformers 5. (#2557, #2661)*
- New MedQA example (SFT + Qwen3.5-4B GRPO), the verl Countdown GRPO example fixed to be runnable and checkpoint-producing, and a library tool-use synthesis example. (#2648, #2656, #2657, #2651)
- Default pad token for Nemotron 3 Nano 4B; museglimmer added to the internal model type map. (#2621, #2595)*
📦 Dependency push
transformers → <5.17, trl → <1.7, vllm → <0.24, torch → <2.13, deepspeed → <0.20, plus kernels, torchvision, uvicorn, click, aiohttp, and a pillow security bump. lmeval is pinned to <0.4.12** — 0.4.12+ breaks group-task evals (e.g. MMLU); single-task evals are unaffected.
(#2638, #2637, #2511, #2460, #2445, #2447, #2489, #2472, #2475, #2488, #2548, #2645)
Other improvements & fixes
- Training: fractional eval steps for Hugging Face trainers (#2633), padtomultipleof on TextCompletionsCollatorWithPadding (#2540), clamp auto-detected response template to the generation config (#2600), FSDP merge handling of dim-0 tensors (#2618), preserve nameorpath in saved config.json (#2470), guard torch._dynamo recompile limit for torch 2.6 (#2549), resolve offline model loads at the pinned revision (#2523, #2524).
- Deploy (Fireworks): deploy by validated deployment shape (#2487), list deployment shapes (#2466), forward idle-window kwargs (#2476, #2530), map EXPIRED job state (#2471), and quieter logging (#2469, #2543).
- Datasets & evals: fix preprocessing for raw conversational DPO datasets (#2636), adapt lmharness to the lmeval 0.4.12 EvalResults TypedDict (#2450).
- Inference correctness: clear error on 2xx bodies that parse to JSON null (#2593), guard empty choices / message=None in vLLM (#2459), fix parsed content without tool calls (#2617), per-infer() scratch-file isolation (#2632, #2634), Triton GDN-prefill fallback on CUDA < 12.6 (#2518).
- CI & chores: CodeQL workflow (#2641), coverage config + coverage-unit target (#2438), verl tests (#2437), agent instructions with a publication-approval policy (#2584), doc/link/citation fixes and README news updates (#2639, #2608, #2514, #2541, #2436).
New Contributors
- @lucaszhu-hue made their first contribution in #2427
- @qizwiz made their first contribution in #2459
- @nishilfaldu
v0.82026-05-07
Oumi v0.8 Release Notes
This release lands the new oumi deploy CLI for shipping models to dedicated inference endpoints, an oumi-mcp server for MCP-capable assistants, batch-API parity across hosted providers, and a major dependency push to Transformersv5 / TRL 0.30+ / vLLM 0.20+.
Highlights
oumi deploy — new CLI for dedicated inference endpoints
A first-class deployment CLI that uploads a model and stands up a dedicated endpoint on a managed inference provider. Fireworks.ai lands first, Parasail ships in this release, and the architecture (base_client.py, typed exception hierarchy) is built so additional providers can plug in.
What it does in one go: validates the model directory → uploads weights (full model or LoRA adapter) → creates a dedicated endpoint with the requested hardware → polls until live → optionally fires test prompts.
`bash
Single-command deploy from a YAML config
oumi deploy up --config configs/examples/deploy/fireworks_deploy.yaml
Or assemble the deploy on the CLI
oumi deploy up \
--model-path /path/to/my-finetuned-model/ \
--provider fireworks \
--hardware nvidiah10080gb \
--gpu-count 2 \
--min-replicas 1 \
--max-replicas 4
Lifecycle commands
oumi deploy upload --model-path ... --provider fireworks --wait
oumi deploy create-endpoint --model-id ... --provider fireworks --wait
oumi deploy status --endpoint-id ep-123 --provider fireworks --watch
oumi deploy list --provider fireworks
oumi deploy list-models --provider fireworks
oumi deploy list-hardware --provider fireworks
`
Example fireworks_deploy.yaml:
`yaml
model_source: /path/to/my-finetuned-model/
provider: fireworks
model_name: my-finetuned-model-v1
modeltype: full # or "adapter" for LoRA + basemodel: ...
hardware:
accelerator: nvidiah10080gb
count: 2
autoscaling:
min_replicas: 1
max_replicas: 4
test_prompts:
- "Hello, how are you?"
`
oumi-mcp — Model Context Protocol server
Oumi now ships an MCP server so MCP-capable assistants (Claude Desktop, Claude Code, Cursor, …) can browse the ~500 bundled YAML configs, launch and monitor training / eval / inference jobs locally or on cloud, and read built-in workflow guidance — all from chat.
`bash
pip install "oumi[mcp]"
Two equivalent entry points, both stdio:
oumi-mcp
python -m oumi.mcp
`
Wire it up in your client (Claude Code shown):
`bash
claude mcp add oumi oumi-mcp
`
Or in claudedesktopconfig.json / Cursor / ~/.claude.json:
`json
{
"mcpServers": {
"oumi": { "command": "oumi-mcp" }
}
}
`
Built-in prompts cover get-started, train, infer, eval, synth, analyze, post-training, cloud-launch, and an end-to-end mleworkflow. Full guide: docs/userguides/mcp.md.
Batch API support across hosted inference providers
Hosted batch-inference parity. oumi infer and the engines now expose batch endpoints for Anthropic, Fireworks, and Together, plus job control (cancel, partial retry) and progress tracking.
`python
from oumi.core.configs import InferenceConfig
from oumi.inference import AnthropicInferenceEngine
config = InferenceConfig.from_yaml("infer.yaml")
engine = AnthropicInferenceEngine(model_params=config.model)
Submit, poll, fetch results — engine handles the batch lifecycle
results = engine.inferbatch(input=conversations, inferenceconfig=config)
`
`yaml
Inside an inference YAML, opt in to the batch API
remote_params:
usebatchapi: true
batchcompletionwindow: "24h"
`
RPM / TPM rate limiting on RemoteInferenceEngine
Sliding-window rate limiting baked into every remote engine so you can pin API budgets without reaching for an external proxy. Tracks RPM, input TPM, and output TPM independently from each provider response. politenesspolicy is now deprecated in favor of requestsper_minute.
`yaml
infer.yaml
model:
model_name: claude-opus-4-7
engine: ANTHROPIC
remote_params:
num_workers: 16
requestsperminute: 4000
inputtokensperminute: 400000
outputtokensperminute: 80000
`
Cerebras inference engine
New engine targeting Cerebras-hosted models, registered with the standard InferenceEngineType factory.
`yaml
model:
model_name: llama-3.3-70b
engine: CEREBRAS
remote_params:
apikeyenvvarname: CEREBRASAPI_KEY
`
`python
from oumi.inference import CerebrasInferenceEngine
engine = CerebrasInferenceEngine(model_params=...)
`
Related work:
- Cerebras Inference Support (#2231)
Multi-turn conversation synthesis
oumi synth learned to chain conversation synthesizers into multi-turn dialogues — useful for distilling assistant/customer-support style training data.
`bash
oumi synth -c oumi://configs/examples/synthesis/multiturnconversationsynth.yaml
`
The bundled config generates 5 customer-support conversations with structured action blocks (CLARIFY, LOOKUPORDER, INITIATERETURN, …); use it as a starting point for your own scenarios. See docs/user_guides/synth.md for the synthesizer composition model.
Related work:
- Feature/multiturn synth (#2172)
- Add token usage accumulation to AttributeSynthesizer (#2201)
- Treat empty arrays in synthesis config as unset (#2246)
Judge framework upgrades
The Judge gained batch inference, token-usage accounting, and the ability to take pre-built Conversation objects (handy when you already constructed multi-turn context elsewhere).
`python
from oumi.judge import judge_dataset
results = judge_dataset(
judge_config="oumi://configs/judges/helpfulness.yaml",
dataset=[
{"question": "What is 2+2?", "answer": "4"},
{"question": "How to cook?", "answer": "I don't know"},
],
output_file="judgments.jsonl",
)
for r in results:
print(r.fieldvalues, r.fieldscores)
`
Inference engine quality of life
Smaller but high-leverage improvements that show up everywhere remote inference is used:
- list_models() API on every engine — discover what a provider exposes from code (#2333).
- finish_reason is now surfaced on conversation outputs across engines (#2249).
- Quota errors are a typed, catchable error class instead of opaque HTTP failures (#2222).
- Transient HTTP 400s are retried with backoff (#2357).
- api_input is attached to APIStatusError for easier debugging (#2355).
- Empty Anthropic responses raise an explicit error (#2346); reasoning-model content: null is handled (#2354).
- Anthropic prompt caching enabled; cache token usage reported for Anthropic and Together (#2324, #2245).
- vLLM engine accepts arbitrary kwargs through vllmconfigoverrides for late-breaking server flags (#2314).
- Step is now included in metrics-logger callback (#2244).
- Temperature constraints handled for all OpenAI reasoning models (#2212).
- Lambda inference engine deprecated (#2332).
`python
engine.listmodels(chatonly=True) # ['accounts/.../models/llama-v3p1-70b-instruct', ...]
result = engine.infer(...)
result[0].messages[-1].finishreason # 'stop' | 'length' | 'toolcalls' | ...
`
Config + CLI error handling
Configuration errors used to surface as raw OmegaConf stack traces. They now flow through a typed exception hierarchy with explicit messages:
- OumiConfigParsingError covers all OmegaConf exceptions (#2323).
- Config-specific exception hierarchy + CLI error handling (#2319).
- DatasetParams.finalizeandvalidate checks dataset_path exists (#2320).
`python
from oumi.core.configs import TrainingConfig
from oumi.exceptions import OumiConfigParsingError
try:
config = TrainingConfig.from_yaml("train.yaml")
except OumiConfigParsingError as e:
# Clean, user-facing error — not an OmegaConf traceback
print(e)
`
oumi launcher` cost
v0.72026-01-29
Oumi 0.7 Release
✨ Highlights
This release brings major platform upgrades (Python 3.14, PyTorch 2.9), new inference engines, rule-based evaluation judges, and significant CLI/documentation improvements.
---
🚀 New Features
Inference
- Fireworks inference engine - New backend for Fireworks AI (#2158)
``yaml
Fireworks example (set FIREWORKSAPIKEY env var)
model:
model_name: "accounts/fireworks/models/llama4-maverick-instruct-basic"
engine: FIREWORKS
`
`bash
oumi infer -i -c configs/recipes/llama4/inference/maverickinstructfireworks_infer.yaml
`
- OpenRouter inference engine - New backend for OpenRouter (#2168)
`yaml
OpenRouter example (set OPENROUTERAPIKEY env var)
model:
model_name: "anthropic/claude-sonnet-4.5"
engine: OPENROUTER
`
`bash
Use via cli
oumi infer -i -c configs/apis/openrouter/inferclaude45sonnet.yaml
`
- Loading spinner - Visual feedback during inference operations (#2085)
- Pre-trained custom model support - Load your own pre-trained models (#2044)
Evaluation
- Rule-based judges - Deterministic evaluation judges with CLI integration and examples (#2119, #2171)
`yaml
configs/projects/judges/rulebased/regexmatch_phone.yaml
judge_params:
prompt_template: "{response}"
rulejudgeparams:
rule_type: "regex"
input_fields:
- "response"
rule_config:
pattern: "\\d{3}-\\d{4}"
input_field: "response"
match_mode: "search"
inverse: false
`
`bash
oumi judge dataset -c regex-match-phone --input data/judge_input.jsonl
`
Training
- Metrics logging callback - Log training metrics to disk (#2140)
- Per-reward function configuration - New rewardfunctionkwargs support (#2143)
`yaml
trainertype: TRLGRPO
reward_functions:
- rubric_reward
- gsm8k
rewardfunctionkwargs:
rubric_reward:
judgepanelpath: "configs/projects/judges/rubric_panel.yaml"
gsm8k:
strict: true
`
Data & Synthesis
- XLSX and DOCX support - New formats for synthesis and datasets (#2148)
- Few-shot sampling - Sample few-shot examples from sources during synthesis (#2151)
- Batch AttributeSynthesizer - Batch processing support (#2181)
- RaR datasets - New datasets and base rubric dataset classes (#2144)
Infrastructure
- Nebius cloud provider - New cloud option (#2179)
- Kubernetes Skypilot support - Added k8s dependency (#2124)
- ARM Docker support - Enabled ARM builds with useful utilities (#2141)
- One-line installer - New install.sh script (#2155)
`bash
Basic installation
curl -LsSf https://oumi.ai/install.sh | bash
With GPU support
curl -LsSf https://oumi.ai/install.sh | bash -s -- --gpu
With specific Python version
curl -LsSf https://oumi.ai/install.sh | bash -s -- --python 3.12
`
- Telemetry - Optional usage analytics via PostHog (#2145)
---
📈 Improvements
Performance
- Lazy CLI imports - Faster startup times (#2110)
CLI
- List aliases, auto-complete, help, and common args improvements (#2122)
- Judge command UX improvements (#2129)
- Version and system info utilities (#2142)
`bash
oumi env # Show Oumi version, Python version, installed packages, GPU info
``
Documentation
- Complete docs refresh with new custom theme (#2133, #2167)
- Added CLI reference sections for analyze, tune, and quantize (#2126)
- Updated installation instructions (#2169)
Configs
- Added Gemma-2-IT chat template and example config (#2159)
- Updated Gemma3-4B-IT SFT training config (#2156)
⚠️ Breaking Changes
- Dropped Python 3.9 support - Minimum supported version is now Python 3.10 (#2107)
- Deprecated alpacaeval integration** (#2108)
- Deprecated protobuf conversation definitions (#2127)
---
🐛 Bug Fixes
- Fixed synthesis rounding errors (#2104)
- Fixed logging of distributed training CLI commands (#2165)
- Fixed FSDP transformerwrapclass parsing for fully qualified names (#2164)
- Fixed deprecated torch_dtype usage (#2123)
- Fixed Oumi Tour notebook output (#2157)
- Cleaned up errant print statements (#2121)
---
📦 Dependency Updates
- PyTorch 2.9 and Python 3.14 support (#2109)
- Updated: peft, uvicorn, bitsandbytes, click, pillow, typer, torchao, pycares, wandb
---
👋 New Contributors
Welcome to our new contributors!
- @lrobledo (#2105)
- @RajdeepKushwaha5 (#2085)
- @ritankarsaha (#2044)
- @brian-nguyen (#2157)
- @lefft (#2156)
---
Full Changelog: https://github.com/oumi-ai/oumi/compare/v0.6.0...v0.7
v0.6.02025-12-17
Oumi v0.6.0 Changelog
We’re excited to announce Oumi v0.6.0! This release brings Python 3.13 support, a powerful new CLI for dataset analysis, the TRL GOLD trainer for preference learning, and first-class Kubernetes deployment support.
---
Highlights
Python 3.13 Support
Oumi now officially supports Python 3.13, letting you take advantage of the latest Python performance improvements and features.
(#2092)
---
New oumi analyze CLI Command
Understanding your training data just got easier. The new oumi analyze command lets you inspect and analyze datasets directly from the command line—no code required.
``bash
Analyze a local dataset
oumi analyze -c configs/examples/analyze/analyze.yaml
`
`bash
Export results in different formats
oumi analyze -c configs/examples/analyze/analyze.yaml --format parquet --output ./my_results
`
Create a simple config to analyze any HuggingFace dataset:
`yaml
hf_analyze.yaml
dataset_name: argilla/databricks-dolly-15k-curated-en
split: train
sample_count: 1000
analyzers:
- id: length
`
Check out the analyze documentation for more details.
(#2069, #2071)
---
TRL GOLD Trainer
We’ve added support for the GOLD (Generalized Online Learning from Demonstrations trainer from TRL. GOLD is an online preference learning algorithm that improves upon DPO by generating responses on-the-fly during training, leading to better alignment with less distribution shift.
`bash
Run GOLD training with the example config
oumi train -c configs/examples/gold/train.yaml
`
Or configure it in your own training config:
`yaml
training:
trainertype: "TRLGOLD"
gold:
teachermodelnameorpath: "HuggingFaceTB/SmolLM2-360M-Instruct"
temperature: 0.9
maxcompletionlength: 512
lmbda: 0.5 # 50% on-policy, 50% off-policy
`
This requires TRL 0.26+, which is now the default.
(#2095, #2097)
---
Code Evaluation Judges
New LLM-as-judge evaluators specifically designed for assessing code quality. These judges can evaluate generated code for correctness, style, security, and other software engineering best practices—perfect for evaluating coding assistants and code generation models.
Thanks to @N-45div for this contribution!
(#2087)
---
Kubernetes Deployment
You can now deploy Oumi training jobs on Kubernetes clusters.
Option 1: Using SkyPilot (new in this release)
`yaml
k8s_job.yaml
name: my-training-job
resources:
cloud: k8s
accelerators: "A100:1"
run: |
oumi train -c configs/recipes/llama31/sft/8blora/train.yaml
`
`bash
oumi launch up -c k8s_job.yaml --cluster my-k8s-cluster
``
Option 2: Direct kubectl deployment
For existing K8s clusters, you can deploy Oumi directly using kubectl. See the Kubernetes deployment guide for detailed instructions including platform-specific examples for EKS, GKE, and AKS.
Thanks to @min-oumi!
(#2054, #2068)
---
Custom Master Port for Distributed Training
Running multiple distributed training jobs on the same node? You can now specify a custom master port to avoid conflicts.
Thanks to @monnetb!
(#2021)
---
ARM Docker Images for Mac
Apple Silicon users rejoice! We now publish ARM64 Docker images, so you can run Oumi containers natively on M1/M2/M3 Macs without emulation overhead.
(#2049)
---
Bug Fixes
- Fix Docker release action (#2023)
- Fix length analyzer column naming and add comprehensive message summary tests (#2057)
- Fix "too many files open" error when processing large datasets (#2060)
- Fix lmeval multi-GPU integration for distributed evaluation (#2064)*
- Fix mutable default argument in conversation handling (#2048)
---
Documentation
- Add news item on OpenEnv notebook (#2022)
- Add docs for missing inference params and how to serve LoRA adapters (#2047)
- Add local Docker guide (#2058)
---
Deprecations
- Cambrian model: The experimental Cambrian model has been deprecated (#2034)
- targetcol: Removed deprecated targetcol field mentions (#2056)
---
Dependencies
- TRL upgraded to 0.26 (#2097)
- datasets library upgraded (#2091)
- wandb >=0.21,<0.24 (#2032)
- safetensors >=0.6,<0.8 (#2031)
- bitsandbytes >=0.47,<0.49 (#2038)
- torchao >=0.12,<0.15 (#2079)
- deepspeed >=0.17.0,<0.19.0 (#2080)
- pydantic >=2.11,<2.13 (#2081)
- skypilot >=0.10.2,<0.12 (#2089)
- torchdata is now optional (#2066)
---
New Contributors
- @monnetb made their first contribution in #2021
- @dependabot[bot] made their first contribution in #2029
- @min-oumi made their first contribution in #2054
- @N-45div made their first contribution in #2087
---
Full Changelog:
https://github.com/oumi-ai/oumi/compare/v0.5.0...v0.6.0
v0.5.02025-11-18
Oumi v0.5.0 Release Notes
We're excited to announce Oumi v0.5.0, featuring hyperparameter tuning capabilities, expanded inference options, and enhanced launcher functionality.
🚀 Major Features
Data Synthesis Module
* Introducing oumi synth - a powerful data synthesis module for automatically generating high-quality training datasets using LLMs (#1965)
Template-based Generation**: Control attributes like difficulty, style, and domain for diverse dataset creation
Domain-specific Datasets**: Generate data for specialized fields (legal, medical, technical, etc.)
Data Augmentation**: Expand existing small datasets by generating variations
Multiple Formats**: Support for instruction-following, QA, and conversational datasets
Hyperparameter Tuning Module
* Introducing oumi tune - a new hyperparameter search and optimization module for efficient model tuning (#1998, #1991). Thank you @gbladislau-aumo!
Inference & Training Enhancements
Bedrock Integration**: Added AWS Bedrock Inference Engine support for scalable model deployment (#1983) - Thank you @aniruddh-alt!
GKD Trainer Support**: New Generalized Knowledge Distillation trainer for model compression workflows (#2000)
OpenEnv RL Training**: Demo notebook showcasing reinforcement learning training with reward visualization (#1996, #2012)
HPC & Launcher Improvements
NERSC Perlmutter Support**: Oumi launcher now supports the NERSC Perlmutter HPC cluster (#1959)
Enhanced Logging**: Added job log trailing and dedicated logs command for better debugging (#1951, #1964)
Lazy Cloud Initialization**: Improved launcher startup performance (#1985)
✨ Improvements
Model Configuration
* Added Qwen3 VL 4B model configurations (#1992, #1993)
Exposed chattemplate_kwargs parameter in ModelParams for fine-grained control (#1997)
Developer Experience
* Updated BaseConfig to support non-primitive field types (#1684)
Optional stdoutfile parameter in SLURM client (#1974)
🐛 Bug Fixes
* Fixed NaN values in dataset analyzer for single-conversation datasets (#1961)
Resolved SLURM environment variable issues (PMIRANK → SLURM_PROCID) (#2010) (Thank you @AliliRayane !)
* Fixed non-primitive field saving in base config (#2005)
* Updated uv pip install commands to include --system flag (#1979)
* Unique inference scratch filenames via hashing (#1986)
📦 Dependency Updates
* Upgraded transformers: 4.56 → 4.57 (#1966, #1990)
* Upgraded TRL: 0.24.0 → 0.25 (#1995, #2011)
* Pinned uvicorn version for SkyPilot compatibility (#1978)
🎉 New Contributors
Welcome to our new contributors!
* @gbladislau
* @oumiandy
* @AliliRayane
📖 Full Changelog
For a complete list of changes, see the full changelog
v0.4.22025-10-20
Release Notes - v0.4.2
🚀 New Features
- Model Support: Added support Qwen3-VL ([#1992](https://github.com/oumi-ai/oumi/pull/1992))
- HPC Cluster Support: Added support for NERSC Perlmutter HPC cluster in Oumi launcher ([#1959](https://github.com/oumi-ai/oumi/pull/1959))
- Enhanced Logging:
- Added ability to trail logs for launcher jobs ([#1951](https://github.com/oumi-ai/oumi/pull/1951))
- Added launcher logs command for easier log access ([#1964](https://github.com/oumi-ai/oumi/pull/1964))
🐛 Bug Fixes
- Fixed Sky Pilot unit tests ([#1967](https://github.com/oumi-ai/oumi/pull/1967))
- Fixed GPU test issues ([#1970](https://github.com/oumi-ai/oumi/pull/1970))
- Pinned uvicorn version to resolve SkyPilot compatibility ([#1978](https://github.com/oumi-ai/oumi/pull/1978))
- Updated inference to always hash for unique scratch filenames ([#1986](https://github.com/oumi-ai/oumi/pull/1986))
- Improved error handling for document processing issues ([#1989](https://github.com/oumi-ai/oumi/pull/1989))
🔧 Improvements
- Performance: Lazy initialization of clouds in Oumi launcher for faster startup ([#1985](https://github.com/oumi-ai/oumi/pull/1985))
- Code Quality:
- Refactored dataset analysis utilities ([#1962](https://github.com/oumi-ai/oumi/pull/1962), [#1982](https://github.com/oumi-ai/oumi/pull/1982))
- Extracted conversation_turns to top-level for better data structure ([#1969](https://github.com/oumi-ai/oumi/pull/1969))
- Made stdout_file optional in Slurm client ([#1974](https://github.com/oumi-ai/oumi/pull/1974))
📚 Documentation
- Updated README with latest information ([#1968](https://github.com/oumi-ai/oumi/pull/1968))
- Added synthesis documentation and example configurations ([#1965](https://github.com/oumi-ai/oumi/pull/1965))
---
Full Changelog: https://github.com/oumi-ai/oumi/compare/v0.4.0...v0.4.2
v0.4.12025-10-14
What's Changed
* Fix NaN values in dataset analyzer statistics for single conversations by @ryan-arman in https://github.com/oumi-ai/oumi/pull/1961
[tiny] Add init__.py to some test dirs by @wizeng23 in https://github.com/oumi-ai/oumi/pull/1963
* Add The Ability To Trail Logs For Launcher Jobs by @rlehman221 in https://github.com/oumi-ai/oumi/pull/1951
Move compute statistics to analysisutils by @ryan-arman in https://github.com/oumi-ai/oumi/pull/1962
* Fixed Sky Pilot Unit Tests Failing by @rlehman221 in https://github.com/oumi-ai/oumi/pull/1967
extract conversationturns from conversationlevelsummary to top level by @ryan-arman in https://github.com/oumi-ai/oumi/pull/1969
* Update README.md by @wizeng23 in https://github.com/oumi-ai/oumi/pull/1968
* [tiny] Upgrade transformers to 4.56 by @wizeng23 in https://github.com/oumi-ai/oumi/pull/1966
* Quick fix for our GPU tests by @taenin in https://github.com/oumi-ai/oumi/pull/1970
* Support NERSC Perlmutter HPC cluster in Oumi launcher by @wizeng23 in https://github.com/oumi-ai/oumi/pull/1959
* Added Launcher Logs Command by @rlehman221 in https://github.com/oumi-ai/oumi/pull/1964
Make stdoutfile optional in slurm client by @rlehman221 in https://github.com/oumi-ai/oumi/pull/1974
* Add synth documentation and example configs by @jgreer013 in https://github.com/oumi-ai/oumi/pull/1965
* Add cuda launch blocking arg to e2e tests for debugging by @jgreer013 in https://github.com/oumi-ai/oumi/pull/1976
* Pin uvicorn version to fix skypilot by @jgreer013 in https://github.com/oumi-ai/oumi/pull/1978
* Update inference to always hash for unique inference scratch filenames by @jgreer013 in https://github.com/oumi-ai/oumi/pull/1986
* Lazy init clouds in oumi launcher by @oelachqar in https://github.com/oumi-ai/oumi/pull/1985
* Unblock oumi dataset support in synthesis by @jgreer013 in https://github.com/oumi-ai/oumi/pull/1988
Full Changelog: https://github.com/oumi-ai/oumi/compare/v0.4.0...v0.4.1
v0.4.02025-09-02
Oumi v0.4 Changelog
✨ gpt-oss Training and Inference
OpenAI released two highly-anticipated open-weight models in August, gpt-oss-20b and gpt-oss-120b. They’re mixture-of-experts (MoE) reasoning models with strong tool-use performance, and are optimized with native 4-bit quantization for memory-efficient training and inference. You can now run training and inference on these models in Oumi!
Usage Example:
``
Train gpt-oss-20b with LoRA on a single GPU
oumi train -c oumi://configs/recipes/gptoss/sft/20blorasinglegpu_train.yaml
Run local inference on gpt-oss-120b using vLLM
oumi infer -i -c oumi://configs/recipes/gptoss/inference/120bvllm_infer.yaml
`
⚡ DeepSpeed Support
DeepSpeed is a powerful and configurable optimization library that allows you to train large models efficiently using techniques like distributed training and memory optimization. Oumi now supports DeepSpeed in addition to PyTorch’s native Fully Sharded Data Parallel (FSDP) for distributed training!
Usage Example:
`
Train Llama 3.1 8B using DeepSpeed’s ZeRO-3 optimization strategy
oumi train -c oumi://configs/examples/deepspeed/llama318bdeepspeedz3_train.yaml
Combine DeepSpeed with YARN RoPE scaling to enable training on longer contexts!
Train Qwen2.5 7B with 128k token context length using YARN and DeepSpeed
oumi train -c oumi://configs/projects/limo/qwen2.57bfftyarndeepspeed.yaml
`
🗄️ CLI Tool for Hugging Face Cache Management
When using datasets and models from Hugging Face Hub, over time it becomes hard to track what’s been cached, how much space it’s taking up, etc. In #1897, @aniruddh-alt has added a oumi cache utility to the Oumi CLI. This lets you view, add to, and delete from the Hugging Face Hub local cache, in addition to getting more information about entries in the cache.
Usage Example:
`
View what’s in the cache
oumi cache ls
Filter for items containing the substring “llama”, and sort by name
oumi cache ls -f llama --sort name
Download a model to cache
oumi cache get Qwen/Qwen3-0.6B
View information about the cached model
oumi cache card Qwen/Qwen3-0.6B
Remove a model from cache
oumi cache rm Qwen/Qwen3-0.6B
`
🎯 Vision DPO and KTO Support
We have added support for two new training methods: Direct Preference Optimization (DPO) on Vision-Language Models and Kahneman-Tversky Optimization (KTO). Special thanks to @efsiatras for implementing KTO support in #1538!
Usage Example:
`
Vision DPO on Qwen2.5-VL 3B
oumi train -c oumi://configs/recipes/vision/qwen25vl_3b/dpo/train.yaml
KTO on Phi-3
oumi train -c oumi://configs/recipes/phi3/kto/train.yaml
``
🛠️ Developer Experience
- Upgrade several package dependencies to latest versions
- Additional GGUF, MacOS LlamaCPP, and remote frontier model inference configs by @penfever in #1923 and #1947
- Add Pre-Populated GitHub Issue Link On Failures by @rlehman221 in #1936
- Add Verbose Flag to Oumi Train by @rlehman221 in #1940
- Enable users to log data samples during training for debugging by @shanghongsim in #1943
New Contributors
* @efsiatras made their first contribution in https://github.com/oumi-ai/oumi/pull/1538
* @rlehman221 made their first contribution in https://github.com/oumi-ai/oumi/pull/1936
All Contributors
@aniruddh-alt, @efsiatras, @jgreer013, @kaisopos, @oelachqar, @penfever, @rlehman221, @ryan-arman, @shanghongsim, @stefanwebb, @taenin, @wizeng23
Full Changelog: https://github.com/oumi-ai/oumi/compare/v0.3.0...v0.4.0
v0.3.02025-08-05
Oumi v0.3 Changelog
🔧 Model Quantization (NEW)
Quantization is a crucially important family of methods for reducing model size, for example, prior to deployment. Oumi now supports applying Activation-aware Weight Quantization (AWQ) to all models. See how in our notebook.
Usage Example:
``
Quick start - quantize TinyLlama to 4-bit
oumi quantize --method awqq40 --model "TinyLlama/TinyLlama-1.1B-Chat-v1.0" --output quantized_model
With configuration file
oumi quantize --config quantization_config.yaml
`
⚖️ Judge API V2 (MAJOR UPDATE)
LLM-as-a-Judge is a method for using foundation models to reliably evaluate other foundation models. We’ve overhauled Oumi’s LLM-as-Judge interface for ease-of-use and flexibility. Check out our notebook here.
Usage Example:
`
from oumi.judges.simple_judge import SimpleJudge
Built-in truthfulness judge
simplejudge = SimpleJudge(judgeconfig="oumi://configs/projects/judges/generic/truthfulness.yaml")
dataset = [{"request": "What is the capital of France?", "response": "Rome"}]
outputs = simple_judge.judge(dataset)
``
🎯 Adaptive Inference (NEW)
💪 Adaptive Inference, as we term it, refers to new features in Oumi for resuming training (or any task) when a job has crashed, as well as optimizing inference parallelization to maximize bandwidth. Learn more in our notebook.
🛠️ Developer Experience
- Updated contributing guidelines
- Enhanced documentation
- Tutorial notebook fixes
- Improved error handling and testing
- MLflow integration improvements
- Multi-node verl Slurm job support
- Rich logging handler option
New Contributors
* @amarpal made their first contribution in https://github.com/oumi-ai/oumi/pull/1831
* @42Shawn made their first contribution in https://github.com/oumi-ai/oumi/pull/1837
Full Changelog: https://github.com/oumi-ai/oumi/compare/v0.2.1...v0.3.0
v0.2.12025-07-11
What's Changed
Set inferonline and inferfromfile to private by @jgreer013 in https://github.com/oumi-ai/oumi/pull/1745
* Update launch.md by @shanghongsim in https://github.com/oumi-ai/oumi/pull/1781
* Add adaptive semaphore to enable future adaptive throughput scenarios by @jgreer013 in https://github.com/oumi-ai/oumi/pull/1780
* Fix a pyright regression by @taenin in https://github.com/oumi-ai/oumi/pull/1783
* Judge API V2 | Fix judge config from repo path by @kaisopos in https://github.com/oumi-ai/oumi/pull/1782
* Add permutable attributes and combination sampling for data synthesis by @jgreer013 in https://github.com/oumi-ai/oumi/pull/1773
* Removed collator in finetuning tutorial notebook by @shanghongsim in https://github.com/oumi-ai/oumi/pull/1788
* Update our contributing guidelines. by @taenin in https://github.com/oumi-ai/oumi/pull/1789
* Add adaptive concurrency controller in preparation for adaptive inference by @jgreer013 in https://github.com/oumi-ai/oumi/pull/1784
* Fixed issue with final conversations not consistently being saved by @jgreer013 in https://github.com/oumi-ai/oumi/pull/1795
* Add support for ingesting datasets for synthesis by @jgreer013 in https://github.com/oumi-ai/oumi/pull/1790
* Add support for adaptive inference by @jgreer013 in https://github.com/oumi-ai/oumi/pull/1791
* Add support for Example Sources in Synthesis by @jgreer013 in https://github.com/oumi-ai/oumi/pull/1797
* Webinar announcement and other news by @stefanwebb in https://github.com/oumi-ai/oumi/pull/1800
Added utmsource parameters by @stefanwebb in https://github.com/oumi-ai/oumi/pull/1802
* Add code to handle document ingestion by @jgreer013 in https://github.com/oumi-ai/oumi/pull/1796
* Add code for handling basic document segmentation by @jgreer013 in https://github.com/oumi-ai/oumi/pull/1803
* Update mflow support in oumi trainer by @oelachqar in https://github.com/oumi-ai/oumi/pull/1804
* Add multi-node verl SLURM job by @wizeng23 in https://github.com/oumi-ai/oumi/pull/1798
* Fixed various tutorial notebooks by @shanghongsim in https://github.com/oumi-ai/oumi/pull/1792
* Add parameter logging to oumi trainer by @oelachqar in https://github.com/oumi-ai/oumi/pull/1807
* Judge API V2 | Enable prompt variable replacement by YAML by @kaisopos in https://github.com/oumi-ai/oumi/pull/1805
* [tiny] Update train config comment header by @wizeng23 in https://github.com/oumi-ai/oumi/pull/1809
* Add experimental option to use the rich logging handler by @oelachqar in https://github.com/oumi-ai/oumi/pull/1810
New Contributors
* @shanghongsim made their first contribution in https://github.com/oumi-ai/oumi/pull/1781
Full Changelog: https://github.com/oumi-ai/oumi/compare/v0.2.0...v0.2.1