Skip to content

Halo 1.3.0: faster GRPO at scale, Inkling 2 and Transformers 5.24

Latest

Choose a tag to compare

@hivaze hivaze released this 01 Dec 02:16
14a6ce3

Halo 1.3.0 follows 1.2.0, and these notes cover everything since then, including what the release candidates 1.3.0rc1 and 1.3.0rc2 announced. An on-policy GRPO step on Qwen3.5-35B-A3B over two 8× B300 nodes takes 0.137 s per 1k response tokens, against Miles v0.1.3's 0.176.

Halo adds Inkling 2, which trains as LoRA over the release's frozen NVFP4 and MXFP8 experts and serves each adapter version to vLLM, and Inkling-2-Mini, the first looped model it trains. RL gets rollouts without reasoning, MaxRL advantages, score centering, FP8-weight rollouts and White Circle policies as a reward. The release also brings chunked distillation losses, a native DeepGEMM backend for low-precision MoE experts, fused MXFP4 and NVFP4 fake quantization, pre-training from datatrove token folders, Nemotron 3.5 Lightning recipes and whitehalo, a launcher you install from PyPI.
Ministral 3 gets five recipes.
Online and environmental GRPO sync full weights into Ministral 3 on vLLM and SGLang.

The release fixes results that were wrong with no error in 1.2.0. 1.2.0's cuBLAS 13.1.0.3 dropped the trailing rows of some bf16 matmuls, and the training images now pin 13.8.0.4. A LoRA or modules_to_save copy on a tied embedding pair was pushed, merged and saved as one tensor for both halves. On Hopper, cuDNN's SDPA backward returned NaN gradients on some padded batches, so those steps were skipped.
In environmental GRPO, numeric_match gave the full reward to an integer answer within 1% of an integer gold, such as 895 for 902.

Upgrading takes this release's images and a few config and code changes. The trainer pins Transformers 5.24.1 and flash-linear-attention 0.6, and a run that syncs weights refuses the 1.2.0 vLLM image. Modules moved into subpackages, num_rollout_workers is now rollout_actor_budget, effort levels no longer cap reasoning per turn, and rollout_thinking replaces enable_thinking in rollout_chat_template_kwargs. Offline chat and VLM bakes made with 1.2.0 must be prepared again, and a set HALO_DEEPGEMM_NATIVE now stops the run. Upgrading lists the steps, and Breaking changes lists every change you may have to act on.

PEFT moves to 0.22.0. Adapters saved on earlier releases merge as before, except those saved with lora_modules_to_save: [gate], which now matches only modules named gate, and Inkling 2 adapters saved on 1.3.0rc2, which name Transformers 5.23's attention linears.

A security re-lock moves Pillow to 13.0.0, datasets to 5.0.1 and ten other packages, which clears 53 of the 59 open dependency alerts. datasets 5 keys the cache of a local JSON, CSV or Parquet file differently, so such a dataset is prepared and mapped again once on its first run, while a Hub dataset keeps its cache.

Most performance numbers below were measured while the release candidates were current, on Transformers 5.20 for 1.3.0rc1 and 5.23 for 1.3.0rc2, and were not repeated on 5.24.1.

Highlights

  • On-policy GRPO on Qwen3.5-35B-A3B takes 0.137 s per 1k response tokens against Miles v0.1.3's 0.176, and the trainer node peaks at 63 against 109 GiB. With rollouts overlapped Halo takes 0.102 s and Miles 0.111. The runs use GSM8K with 32 prompts × 8 rollouts on one 8× B300 trainer node and one 8× B300 SGLang node, three alternated runs per framework, on 1.3.0rc1 (GRPO against Miles).
  • Over 150 steps of LoRA r16 on attention and the experts, Inkling-2-Small's GSM8K held-out loss falls from 0.549 to 0.136. ARC-Challenge acc_norm moves from 0.777 to 0.779 and HellaSwag acc_norm on 1k examples from 0.752 to 0.756. That run trained on 4× B300 at EP4 on 1.3.0rc2 (Inkling 2).
  • Nemotron 3.5 Lightning's LoRA SFT recipe runs 10,100 tokens/s per rank at a 35.3 GiB peak on 16,384-token packed rows, SMPO 2,234 at 47.3 GiB and DPO 3,004 at 49.8 GiB. Those are 20 steps each on 8× B300 at ep8 with Transformers 5.24.1, one run each (Lightning).
  • Qwen3.8-Flash-Next's block-sparse attention kernel takes a LoRA step from 28.95 s to 18.38 s, and its gated-residual kernels alone take it to 23.66 s. Both are on by default. The runs use the real checkpoint at EP8 on 8× B300 with LoRA on 16k packed rows, three interleaved runs per arm, on Transformers 5.20 (kernel defaults).
  • A whole simulated mxfp4 step runs at 0.99× bf16 on gpt-oss-20b, 0.94× on Qwen3-30B-A3B and 0.93× on Qwen3.5-35B-A3B. Before the fused kernel gpt-oss-20b ran at 0.24×, and Qwen3-30B-A3B ran out of memory. Those are three runs each on 8× H200 at ep8 with 4,096-token rows, on 1.3.0rc1's image (simulated path).
  • openai/gpt-oss-20b loads at EP8 on 8× H200 in about 5 s, against about 855 s when every rank staged the whole dequantized model. The worst rank's peak host memory falls from 50.5 GB to 6.44 GB. Those are two runs each on a warm page cache, on 1.3.0rc1's image (GPT-OSS).
  • Teacher distillation with use_chunked_distillation_loss fits 16,384-token rows at a 9.86 GiB peak, where the default path runs out of memory from 8,192. The run distills Qwen3.5-0.8B from Qwen3.5-2B with LoRA on one 15.5 GiB RTX 5070 Ti.
  • The FA4 warm-up now compiles the kernel variants the recipes reach. Over 6 steps on 8× B300, the Lightning LoRA SFT and SMPO recipes and a Ministral 3 8B SFT compiled 32, 21 and 24 FA4 kernels after the warm-up across the 8 ranks before, and none now, one run each.

Faster GRPO at scale

On-policy, rollout and weight sync take within 4% of Miles' time, so the training phase makes the difference, at 3.4× shorter per token in Halo. With rollouts overlapped Halo's training phase is half of Miles' per token, while Halo waits longer on rollouts, 5.0 s against 3.6 s. Two settings shorten the training phase, and both are off by default. packed_microbatch_tokens plans each round into bins of at most that many attended tokens and runs each bin as one varlen call. It rescales row-mean losses so that a window sums to the per-row run's loss and gradient (packed micro-batches).

loss_forward_importance_weights takes the importance weights from the loss forward's own detached log-probs on an aligned one-step round, so the separate no-grad pass does not run. Environmental GRPO raises at construction when something reads the weights before the first backward, such as balance_token_mass or routing_replay: recompute. On the Miles setup with Halo alone, three alternated runs each, the training phase falls from 0.034 to 0.018 s per 1k response tokens with packing and to 0.014 with both settings. The whole step moves less, from 0.163 to 0.141 and 0.143, because generation and sync take most of it. In online GRPO on Qwen3.5-35B-A3B under FSDP2 on B300s, loss-forward weights take a step from 23.6 to 22.3 s, one run per arm over steps 3-5. Online GRPO takes them with every vllm_importance_sampling_mode. These numbers ran on 1.3.0rc1.

The Qwen3.5/3.6 GRPO recipes and the Qwen3.5 VL SFT recipes run FA2 where they ran SDPA, and the Qwen3.6 environmental GRPO recipes and the online smoke recipe pack their rows. On Qwen3.6-35B-A3B with 4 turns of 1,024 tokens on GSM8K, a step went from 23.9 to 10.1 s for environmental full fine-tuning at ep4 and from 18.0 to 8.6 s for environmental LoRA on SGLang. That is one run over steps 2-3 with sync included, on 1.3.0rc1. Online GRPO packs through the same layout, and M-RoPE models pack too. balance_rank_tokens deals online rows to ranks by attended tokens, and log_phase_times adds per-phase step timers.

On Qwen3-8B the update pass takes 0.261, 0.581 and 1.010 s per 1k loss tokens at 16k, 64k and 128k tokens with FA2, and 0.270 and 0.397 at 64k and 128k with FA4. Qwen3.5-35B-A3B on SDPA takes 0.193, 0.260 and 0.399 s and peaks at 80.5 GiB at 128k. Those are 8 B300s with one row per micro-step, on 1.3.0rc1 (long trajectories). The installed DeepEP V2 addresses its buffers with 64-bit offsets, so Halo drops its dispatch ceiling inside one NVLink domain, and a Qwen3.5-35B-A3B SFT row of 140k tokens per rank trains at ep2 on two B300s. routing_replay: recompute keeps the captured routing on the host, which takes the added peak on Qwen3.5-35B-A3B at 24 rows of 64k tokens from 2.03 to 0.16 GiB.

A run now stops at startup on an unsharded KL reference that will not fit, on too little free disk for a checkpoint rotation, and on a server that needs more than twice request_timeout to decode a full turn. On an EP group that spans NVLink domains, online GRPO, environmental GRPO and SDPG check their rows against the 8,192-token dispatch budget at load. A run halts when its episode error rate stays over 0.5 for 3 rounds (episode_error_rate_limit, episode_error_round_limit). TP and ETP followers skip environmental rollout collection, and the Ray actor budget is per node.

Weight sync and rollout servers

In environmental GRPO, rollout_sync_topology: single_group broadcasts each weight chunk once to the workers of every server, where the default per_server sends each chunk to every server over a group of its own (one group over every server). Chunks are staged once, expert layers are gathered only to the sending rank, and every bounded wait logs its server.

rollout_adapter_sync serves a LoRA policy as an adapter beside the frozen base. On SGLang it pushes the base once and then only the adapter, and episodes keep the adapter version they started with. vLLM serves adapters for Inkling 2 only, because its adapter serving missed the 5% decode-cost bar on Qwen3.5-35B-A3B that SGLang's met (adapter sync). SGLang answers a load past --max-loaded-loras with success and evicts its least recently used adapter. So SGLang adapter sync stops at startup when the server's other adapters leave fewer free slots than the run keeps live versions.

On SGLang a weight push now retracts in-flight turns, which resume under the new weights. 1.2.0 aborted them, and the episode loop drew them again from the start, which favored the short turns that had finished before the push. With one push 30% into a round, the mean completion was 1,763 tokens under retract and 1,669 under abort, against 1,765 with no push. That is Qwen3-0.6B on one SGLang server, six rounds per arm. A deep SGLang prefetch that spans more pushes than max_retries is no longer refused. The startup preflight stops an SGLang server launched with --max-queued-requests or --disaggregation-mode, since the first aborts retracted turns with a 503 and the second fails its cache flush after an update.

Online and environmental GRPO sync GLM-5.3-Flash to both engines in the hub's per-expert names, which its gathered saves now write too, and unfuse_moe_experts.py converts older checkpoints. Qwen3.8-Flash-Next syncs to vLLM 0.32.0, and to SGLang 0.5.22 from Halo's SGLang image only, whose patch the preflight checks for. An unchanged push leaves every served log-prob bit-identical on tiny composites (RL weight sync). After a run's first push, the trainer scores one fixed row at temperature 1.0 on itself and on the engine. It warns when the mean gap passes 1 nat per token, or 1.5 under rollout_weight_precision: fp8_block.

Online and environmental GRPO sync full weights into Ministral 3, a mistral3 checkpoint over a dense ministral3 tower, on vLLM and SGLang. Devstral Small 2, the same composite, is admitted too, and no run has used it. vLLM 0.32.0 serves the model's config.json route without the tower's llama-4 query scale, which starts at position 16,384. So launch a Hub release with --config-format mistral (VLLM_EXTRA_ARGS in the compose file) or cap --max-model-len at 16,384.

The startup preflight refuses any other launch whose window reaches past 16,384, the default --config-format auto included, since /server_info does not show which route auto took. On SGLang the run needs the 1.3.0 SGLang image or one built from this release, because every weight update answers 500 without the image's LLaVA processor patch, and the preflight refuses an image that lacks it.

On one 20,480-token row of Ministral-3-8B on B300, the server's prompt log-probs sat 0.0091 nats per token from the trainer's below position 16,384 on both routes. Past it they sat 0.0099 on the params.json route against 0.0264 on the config.json route, one run per route. With one B300 serving and two training, an unchanged push left all 2,025 compared log-probs equal on vLLM and on SGLang. A push after one real step sat 0.0100 nats from the vLLM server against a floor of 0.0068, and 0.0092 from SGLang against 0.0061, one run each (dense mistral3 towers). rollout_adapter_sync and export-engine-adapter still refuse this family.

Score centering and FP8 rollouts

For environmental GRPO on SGLang, score_centering_top_k records the sampler's top-K candidates per token and centers each token's gradient on them (arXiv 2609.20807). The candidate head matches a dense fp32 reference at vocabulary 248k within 4e-6 in log-prob. End to end on Qwen3.5-35B-A3B at ep8 on 8× B300 beside two SGLang servers, a step takes 14.3 s off and 14.1 s on, one run per arm over steps 2-6 (score centering). vLLM is not supported, because returning the candidates cost 65% of its rollout throughput at K=16 on one B300.

rollout_weight_precision: fp8_block serves a block-FP8 checkpoint that scripts/before_training/export_block_fp8.py writes, for Qwen3.5/3.6 MoE, and quantizes on push. A push is bit-exact against a fresh boot of the export on both engines. With two servers a step takes 35.9 against 33.5 s for bf16 on vLLM and 39.7 against 33.5 s on SGLang, one run per arm. FP8 saves engine memory and runs SGLang decode 26% faster at 256 × 1,024 on one B300 (FP8 rollouts). Both sets of numbers ran on 1.3.0rc1.

Inkling 2

Inkling 2 (thinkingmachines/Inkling-2-Small and -MXFP8) is a multimodal MoE whose 48 text layers route to 384 experts at top-8. The hub ships its routed experts only in NVFP4 and MXFP8, and Transformers cannot load the release's modelopt quantization. So Halo trains it as LoRA over those experts kept frozen, with frozen_quantized_experts: true. Each rank reads its own rows of the shipped experts and dequantizes a bank to bf16 inside each expert GEMM, keeping no bf16 copy.

A run needs at least two EP ranks, use_peft: true and a LoRA target outside the routed experts. Transformers 5.24 wraps each attention linear in a projection module, so the targets name the inner linear: q_proj.linear, k_proj.linear, v_proj.linear, relative_position_bias.linear and o_proj.linear. LoRA trains on attention alone or on attention and the experts, packed rows included. Expert LoRA alone stops at config time, because no engine serves it and no merge folds it into the packed experts. CP, TP, PP, ETP over the frozen experts, padding_free, MTP heads and full fine-tuning are not supported (what is refused). A run saves adapters, which resume in Halo and serve on vLLM and have no merged export.

No stock kernel takes Inkling 2's learned relative-logits bias and query-conditioned sink, so on CUDA its attention runs a compiled FlexAttention kernel that builds no [q_len, kv_len] plane. One full-attention layer over 8,192 bf16 tokens takes 41 ms forward and backward at a 2.6 GiB peak on one B300, against 166 ms at 61 GiB in eager attention. A 16-expert NVFP4 bank of 4,608 × 4,608 dequantizes in 0.69 ms in one Triton kernel against 11.2 ms eager on the same GPU. Both kernels compile at load, and both numbers ran on 1.3.0rc2.

Environmental GRPO serves the policy to vLLM with rollout_adapter_sync: true. The server keeps the release it launched with and loads each adapter version from rollout_adapter_dir, which the trainer and every server mount at the same path, so no weights are pushed. A run's first sync removes every halo-adapter-* directory there, so give each live run its own. halo:vllm-0.32.0 has no Inkling 2 model, so the family is served from halo:vllm-0.1.dev25249, built on vLLM main with vllm-project/vllm#67325 and Halo's edits for LoRA on the quantized experts. make up-vllm-inkling2 and make train-inkling2 serve and train (rollouts).

On DAPO-Math-17k with expert LoRA r8, a step takes 322 s on-policy, 15 s of it adapter sync, and 194 s with enable_prefetch: true. Those are steps 2-4 on 8× B300 on 1.3.0rc2, two vLLM TP2 engines beside an EP4 trainer with gradient checkpointing off on the decoder layers, 32 prompts × 8 samples of up to 4,096 tokens. At EP2 a trainer rank of the two shipped recipes holds 181.8 GiB of frozen banks and replicated weights before its first step. So they train at per_device_train_batch_size: 1, with micro-batches packed to 8,192 tokens and rows capped at 4,096, on two B300s beside a two-B300 server (memory on two B300s).

halo run export-engine-adapter --adapter_dir <run>/checkpoint-500 --output_dir <dir>/sft-500 turns a saved LoRA adapter into the directory a vLLM or SGLang server loads by path. It writes what adapter sync would publish: the base checkpoint's module names, the engine's expert layout and the scaling folded into the weights. It stops before writing on an adapter the engine cannot serve, and on a module whose hub name the base checkpoint stores no tensor under (serving a saved adapter).

Inkling-2-Mini

Inkling-2-Mini (thinkingmachines/Inkling-2-Mini) is the first looped model Halo trains. Layers 6-17 of its 24 run three times in every forward, so a forward makes 48 layer calls. Each pass after the first restarts from the states before the loop, and every looped layer mixes four messages read off the previous pass into its attention and MLP inputs through learned gates. Mini loads through from_pretrained, which dequantizes its experts to bf16, so LoRA trains it at expert_parallel_size: 1 on one 96 GB card as a 52.8 GB bf16 model (examples/sft/inkling2/inkling2-mini-1gpu-lora.yaml). On one H200 capped at 94 GiB, packed rows of 9,843 tokens peaked at 91.5 GiB in the PR author's 4-step runs.

At EP 2 or more it trains like Small, with frozen_quantized_experts, which has run on tiny models in the release's layout only. FSDP2 and EP run, and ETP and EP+ETP run on bf16 experts, so far on tiny models, while over the frozen experts ETP is refused. PP, CP, TP, MTP heads, gradient_checkpointing_plan: auto and routing replay are refused, and no rollout engine serves Mini, so it has no online or environmental GRPO (Inkling-2-Mini). MFU charges 48 layer calls, and a looped layer's row in moe_expert_token_counts.json sums to tokens × top_k × 3, beside a new passes_per_layer key. A save, an in-memory merge or convert_to_bf16.py of the bf16 load drops the release's quantization_config and writes plain bf16. The streaming merge and the frozen-expert path keep it with the packed experts.

Rollouts without reasoning, MaxRL and reward sources

rollout_thinking: false samples environmental GRPO with the reasoning block closed. It adds enable_thinking: false to every engine request and trainer render, so the chat template must read that switch (thinking off). The startup preflight stops a server whose generation prompt differs from the trainer's. For code contests, environment_kwargs.notes gives such a policy a notes tool, and three curriculum recipes for Qwen3.6-35B-A3B use it with reasoning off.

Under the notes harness the notes are the model's own notes calls, which stay in the conversation, so every turn's prompt extends the last one's. The visible message is a status line and the analysis goes in the notes, with the reasoning step on or off. An identical resubmission ends a notes episode at the overflow penalty. Effort templates for Qwen3 hybrid and Instruct-2507, Qwen3.5, Qwen3.8-27B, GLM-4.7-Flash, GLM-5.3-Flash, Laguna, Step-3.7 Flash, LFM-2 MoE and Ling 2.0 join those for Qwen3.6, Gemma 4 and gpt-oss. A stock template stays usable, and startup refuses what it cannot render (reasoning).

Code-contests grading runs one bubblewrap jail per graded submission, where it ran one per hidden test, and every jail refuses keyring calls. Each test runs as a second uid under the same limits, and the jail is emptied between tests (sandboxes).

use_maxrl divides each reward's distance from its group mean by that mean, which weighs hard prompts up (arXiv 2602.02710). On a pass/fail reward, one success in 16 gets advantage 15 where mean-centering gives 0.94. It works in online and environmental GRPO on non-negative rewards with scale_rewards: none (advantages).

Each level in reasoning_effort_profiles sets its own reasoning_budget and reasoning_price, both counted over a whole episode, and the model is told only the level. The engine's per-turn reasoning cap is run-wide, rollout_max_thinking_tokens (reasoning budgets). reasoning_effort_field names a dataset column whose per-row level the chat template receives as reasoning_effort. It works in SFT, distillation, DPO and SMPO text rows, classification, and offline and online GRPO. It is rejected under a template that renders every level alike, such as the hub Qwen3, Qwen3.5/3.6, GLM-4.7 and Gemma 4 templates.

The whitecircle reward term scores each completion by the White Circle API's verdicts against the policies of a White Circle environment. In the cookbook it cut the share of held-out replies with a security violation from 28.1% to 20.3% on Qwen3-4B-Instruct-2507 and from 12.8% to 8.7% on Gemma 4 26B-A4B. Each is a 200-step online GRPO run of the shipped recipe on B300s with BaxBench prompts, on 1.3.0rc2 (results). halo run create-whitecircle-policies creates the policy sets of a JSON file and prints the rewards: block, and halo run prepare-baxbench-prompts writes BaxBench's tasks as GRPO prompts. A new guide page covers choosing and combining reward sources (rewards).

The term and the policy tool call the API through the White Circle SDK, which the 1.3.0 training images install as the whitecircle extra. Outside the images, install it with uv pip install -e '.[whitecircle]'. The SDK retries only a request it never sent, a 429 that is not a quota rejection and a 503. A read timeout and a 408, 500, 502 or 504 fail at once, because the server bills a check once it arrives. request_timeout is the timeout of each phase of one attempt, and a call is capped at 182 s at the defaults (failures).

--halo-rollout-backend modal sends an async-GRPO run's code execution to Modal Sandboxes, which run gVisor with the network blocked. --halo-rollout-backend baseten sends code-contests grading and the swe tools to a Baseten microVM per session, which keeps outbound network (sandboxes). The web_search tool also takes Keenable through KEENABLE_API_KEY. MCP tools reach the model with the schema the server advertised, array items and nested objects included. MCP tool results reach it as text: a resource link as [Resource: name (uri)], binary content as its decoded size, and structuredContent as JSON when no text block comes with it.

Distillation, pre-training and SFT data

use_chunked_distillation_loss (off by default) computes teacher and self-distillation losses a token chunk at a time, so neither model's [tokens, vocab] logits are built. At 1,024 to 4,096 tokens it runs 35.8-39.1% more tokens/s with half of each row supervised. With every position supervised it runs 5.0-6.6% fewer, because the backward projects each chunk again. Those are the PR author's runs on one RTX 5070 Ti, Qwen3.5-0.8B distilled from Qwen3.5-2B with LoRA, median of 5 steps (chunked loss). Online SDPG builds no logits plane for its OPD term under use_chunked_grpo_logprobs, which takes a loss step's added peak from 9.26 to 2.85 GiB on Qwen3-0.6B at a 4,096-token completion window on the same card. Its teacher forwards each row alone wherever the student does.

Teacher distillation adds distill_loss: reverse_kl, a generalized jensen_shannon at distill_jsd_beta (sdpg_jsd_beta for SDPG), and distill_topk, which scores the teacher's top-k tokens plus one tail bin (loss types). The default β of 0.5 gives 1.2.0's symmetric divergence.

use_chunked_grpo_logprobs: true now trains a LoRA adapter on lm_head, in online, environmental and offline GRPO and SDPG, where earlier releases refused it at the first scoring call. The vocabulary sweep adds each adapter's low-rank pair per tile and never builds W + B·A. With no adapter on the head it runs what it ran before, and a DoRA or other variant on the head is rejected at construction (chunked log-probs).

init_from_scratch: true runs under every layout, where 1.2.0 ran it under data parallelism alone: FSDP2 and DDP, EP, CP, TP, ETP, PP and their combinations. Each module is drawn on CPU by the family's own initializer under a key of the run's seed and the module's name, so every rank and every layout starts from the same weights. Under lazy EP and PP each rank draws only the part it keeps. Where a route that draws the whole model on every rank, such as data parallelism, CP, dense TP or pure ETP, does not fit in host memory, build_keyed_model draws the same weights once into a checkpoint (random initialization).

Under lazy EP a node's ranks draw their slices max_concurrent_loading at a time, and a rank that fails in the draw raises on every rank.

SFT trains from folders that datatrove's DocumentTokenizer wrote, with no dataset preparation. token_sources lists the folders, local or s3://, each with a relative weight set on every source or on none, and the run mixes them into packed windows of max_length tokens. eval_token_sources holds folders out, each reported as eval_<name>_loss. Sample i of the mix depends only on i, the sources, max_length and the seed, and a resume whose sources or rows per step differ stops before the model loads (datatrove token folders).

A training row whose last assistant turn ends with no terminator now gets the token the template writes after such a turn when the conversation goes on, so the turn trains a stop. On GLM's native templates that is <|observation|> after a tool call and <|user|> after an answer, and where no such token is found the row takes the tokenizer's eos. The turn terminators include the stops the generation config lists. So under train_on_completions_only a gpt-oss tool-call turn that ends at <|call|> and a Gemma 4 one that ends at <|tool_response> close and train (collators). Tool-call arguments stored as JSON text render as a mapping, which is how a serving engine renders them, unless the template writes the text as stored.

Dense Qwen3.5/3.6 text towers train at CP2 in SFT with their native GatedDeltaNet layers, as a full fine-tune on right-padded rows (dense hybrid SFT).

DPO, SMPO and the reward model drop a preference pair whose chosen or rejected last assistant turn holds no tool call and is empty, blank or reasoning only, on text and image rows. Such a pair stopped DPO and SMPO inside the chat template on Ministral 3 and Mistral Small 4, whose templates refuse an empty assistant turn, and the other templates trained on it. The filter runs on the train and test splits and logs how many pairs it dropped, and a split it empties raises on every rank. On allenai/llama-3.1-tulu-3-8b-preference-mixture it drops 940 of 272,898 pairs (preference rows).

Attention and kernels

On Hopper with a cuDNN older than 9.26, which 1.2.0 and both 1.3.0 images ship, Halo turns off cuDNN's SDPA backend at model load. With more than one padded row per micro-batch, its backward could return NaN in the query gradient (pytorch/pytorch#196678), and the step was skipped as non-finite. That happened when the key length was 64 more than a multiple of 128 and a row's log-sum-exp fell below about -88.7. In a 100-step ZAYA1-8B teacher distillation on 4× H200 at EP4, 11 steps were skipped before the change and none after it, in one run each by the PR author. Flash and memory-efficient SDPA stay on, and Blackwell keeps cuDNN (known issues).

With attn_implementation unset, a GPU older than Ampere, such as a T4 or a V100, now loads SDPA. Earlier releases picked FA2 there, which failed in the first forward. A recipe that pins flash_attention_2 still needs --attn_implementation=sdpa on such a GPU (automatic detection). The Docker page now says which runs need each docker run flag, and how to start the image on platforms such as Modal that run their own command.

Under tensor parallelism, attention now counts the heads each rank holds. So sliding-window and masked layers that resolve to SDPA run the warmed FlexAttention graphs, where each fell back to SDPA with a warning. That covers Cohere2 MoE and dense Mistral, Cohere2 and Gemma 3 on Transformers' TP plan. On a tiny Mistral at TP=2 on two B300s, both masked layers ran FlexAttention and the loss was 5.56061 against 5.56070 for one process on SDPA (sliding-window layers on SDPA).

The FA4 warm-up compiled only a training forward and backward, so a multi-rank run compiled the other variants in its first steps while its peers waited at the next collective. It now also compiles the no-grad forward of evaluation, a frozen reference or teacher, the layers before the first trained one and a reentrant checkpoint's first pass. It covers both packing choices of the SM100 backward, the single-tile backward, each rank's share of the heads under Ulysses CP and, on gpt-oss, the calls with no sink, a frozen sink and a trained sink. On 8× B300 the first logged step of the Lightning SMPO recipe took 3.15 s against 5.13 s before, with the same first loss, one run each.

A cold warm-up takes longer. Rank 0 finished it 27 s after the load on Lightning against 11 s, and 45 s against 17 s on Ministral 3 8B. FA4 keeps its compiled kernels in FLASH_ATTENTION_CUTE_DSL_CACHE_DIR, by default under HF_HOME. On one B300 a 16/8-head test model's 26 kernels, 35 s cold, loaded from that cache in 0.2 s, so keep the directory on a persistent volume (FA4 warm-up).

Low precision and model loading

lowp_backend: native runs the routed experts' GEMMs on DeepGEMM's kernels in SFT under expert parallelism: FP8 × FP8 for lowp_precision: fp8, and FP8 activations over MXFP4 weights for mxfp4. It replaces 1.2.0's HALO_DEEPGEMM_NATIVE=1, and simulated stays the default. lowp_backward_precision: fp8 runs both expert gradients on DeepGEMM too, and Halo casts with its own Triton kernels, bitwise equal to DeepGEMM's reference casts. One expert GEMM's forward at K 4,096 × N 8,192 on one B300 runs at 0.90× bf16 at 256 rows per expert up to 1.67× at 16,384, where 1.2.0's adapter ran at 0.25-0.76×.

One MoE layer forward and backward with the fp8 backward runs at 0.70-1.13× DeepEP bf16 at EP4 on 4× B300 in the PR author's runs. It passes bf16 on three of nine shapes, the DeepSeek-V3 layer at 8k and 16k tokens per GPU and the gpt-oss-like one at 16k. No whole training step has been measured on it (native path). The Blackwell image builds DeepGEMM 2.8.2, and the Hopper image has none.
Native DeepGEMM also runs the fp8 backward under lowp_precision: mxfp4, with the input gradient on an FP8 copy of each weight cached beside the MXFP4 one. On one MoE layer at EP4 on 4× B300 it runs at 0.64-1.03× DeepEP bf16 when the weights are cast every step, and matches native fp8 once the casts are cached. On a DeepSeek-V3 expert layer the two casts add 4.3 GiB per rank. A NaN or inf expert weight raises after the forward's last converted layer and names the weight.

Simulated MXFP4 and NVFP4 round-trip activations and expert weights through fused Triton kernels, bit-identical to the CUDA eager quantizer. At ep1, where FSDP2 holds the experts, their weights take the fused kernels too. A whole SFT step at 8,192 tokens then runs 2.2 to 4.8 times faster than with the eager weight round trip, at no higher peak, for example from 917 to 4,410 tokens/s per GPU on Qwen3-30B-A3B in mxfp4. Those are the PR author's runs, one per model and format on 4× H200 on 1.3.0rc1's image. The simulated path stays a convergence check (low-precision kernels).

quantize_to_lowp.py --export_format compressed-tensors writes a QAT export that vLLM 0.32.0 serves, after unfuse_moe_experts.py for fused expert banks. Teacher distillation takes lowp_precision, so a teacher set to the student's own checkpoint fits a fake-quantized student to its bf16 model.

The lazy loader decodes each rank's own MXFP4 experts of openai/gpt-oss-20b and -120b, and the gpt-oss SFT recipes now start from the release (GPT-OSS). A whole-model load such as ep1 or TP still stages the dequantized model.

Qwen3.8-Flash-Next's block-sparse attention kernel (HALO_QSA_KERNEL=auto) adds dK and dV with fp32 atomics, so two identical runs part at the first step's gradient norm. A run that must replay bit for bit sets full_determinism: true or HALO_QSA_KERNEL=off.

Nemotron 3.5 Lightning and smaller cards

Four new recipes train nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16 at ep8. LoRA SFT adapts attention, the Mamba projections and the experts and folds the adapter, experts included, at every save. SMPO, DPO with a precomputed reference and offline GRPO are full fine-tunes. After one 20-step LoRA run on 8× B300, a fold of the saved adapter matched the run's folded save bit for bit on all 5,888 expert tensors and the 23 router biases, and within 4.9e-4 on the 70 folded projections. The offline GRPO recipe reads a dataset you generate with rejection_sample.py --output_format offline_grpo.

Ministral 3 gets five FSDP2 recipes for one 8-GPU node: full SFT of the 8B, LoRA SFT of the 14B on the language model only, and SMPO, DPO and offline GRPO of the 8B. On 8× B300 with Transformers 5.24.1, the 8B full SFT ran 7,850 tokens/s per rank and the 14B LoRA 5,062, and DPO and SMPO ran 4,025 and 3,320, each 20 steps in one run (Ministral 3). The model loads whole, and a full fine-tune saves the vision tower and projector as they shipped.

A10, L4 and L40S join the GPU peak table, so MFU and TFLOP/s are reported on those cards. GPU names now match the table on whole words. So an RTX A1000 and a GB300 no longer take the A100's and B300's peaks, an L40 does not take the new L4 row, and each reports MFU as 0. The Qwen3-4B LoRA recipe's header gives its 25.4 GiB peak and the override that fits a 24 GB card at 12.8 GiB.

The whitehalo launcher

whitehalo is a separate package on PyPI with no PyTorch or CUDA in it. pip install whitehalo or uvx whitehalo gives you a CLI and a Python SDK. whitehalo doctor checks the host, whitehalo setup pulls and retags the image that matches your GPU from Amazon ECR Public, and whitehalo launch runs halo launch inside it with the flags a training container needs. whitehalo setup --with-vllm, --with-vllm-inkling2 and --with-sglang pull the rollout images too. Inside a Halo container it calls halo directly, and launches are single-node (whitehalo).

whitehalo 1.3.0 pulls the -1.3.0 images. The 1.3.0rc2 package on PyPI pulls the 1.3.0rc2 images and was built from the code after that release.

whitehalo 1.3.0 fixes defects of the 1.3.0rc2 package. --gpus cpu, the default of whitehalo run, left every GPU in the container on a host whose default runtime is NVIDIA's, and now also sets NVIDIA_VISIBLE_DEVICES=void. --request-json dropped every other flag, --dry-run included, and now rejects them. A dry run asks the engine what the real run asks it, and warns that its plan may differ when it cannot reach the engine.

--output_dir=/ mounted the host's root and is now refused, as are system directories. A config's whole directory and ~/.aws were mounted read-write. Now a config outside a Halo checkout mounts alone and read-only, and the plan names any file beside it that the config mentions. ~/.aws mounts read-only and only with --aws auto or a path. DOCKER_HOST=ssh://... fell back to the local socket and now stops with an error. --env values no longer appear in plans, output or the process list. A failing nvidia-smi read as ready, and now doctor and setup --verify exit with code 13. Overrides pass to the trainer as written, where --run_name=007 became 7.

Installing the 1.3.0rc2 package with pip replaces urllib3 in the environment it goes into. It depends on niquests, whose urllib3-future wheel ships its own top-level urllib3, so import urllib3 loads urllib3-future while pip still lists the original and pip check reports nothing. Upgrading whitehalo leaves urllib3-future in place, and uninstalling it alone leaves import requests broken. To repair the environment, run pip uninstall whitehalo niquests urllib3-future and then pip install --force-reinstall urllib3==<your version>.
whitehalo 1.3.0 makes its HTTP calls with the standard library and depends on msgspec[yaml] alone, so you can install it again after the repair.

Transformers 5.24 and the rest of the stack

The stack moves from 1.2.0's Transformers 5.20.2 to 5.24.1 and from flash-linear-attention 0.4 to 0.6. The training images pin cuBLAS 13.8.0.4, as Fixes describes. TRL stays at 1.14.2, torch at 2.11, accelerate at 1.11, Liger at 0.8.4 and NCCL at 2.31.2. The rollout images stay on vLLM 0.32.0 and SGLang 0.5.22, beside the new Inkling 2 vLLM image halo:vllm-0.1.dev25249.

Transformers 5.24 renames Inkling 2's LoRA targets, as the Inkling 2 section describes. It also declares the multimodal Gemma 3 class, which the 4B, 12B and 27B ship as, without flash support, since a flash kernel drops its bidirectional mask over image tokens. So those sizes train on SDPA, with FlexAttention on their sliding-window layers on CUDA, and a pinned flash label falls back with a warning (model-specific handling). The text-only Gemma 3 1B keeps the flash path. Halo's copies of upstream forwards take the cache as cache, the name 5.24 uses, and still accept past_key_values and cache_params.
Under the Liger fused loss the forward hands each backbone its cache under the name the backbone declares, so the remote-code Ling 2 and Ling 3 keep their cache when 5.24's generate passes it as cache=.

The FA3 and FA4 check for attention dropout now also reads attn_pdrop, so GPT-2 at its default of 0.1 is rejected on FA3 and FA4, auto-selection included. Pick attn_implementation: flash_attention_2 or sdpa, or set model_init_kwargs: {attn_pdrop: 0}. On 5.24 Inkling 2's block attention residual no longer goes through SDPA, so Halo's patch of it saves no memory. In one call over 8,192 tokens on one B300 the patch took 14.6 ms against upstream's 17.4 ms, at the same 8.02 GiB peak, two runs.

PEFT moves to 0.22.0, which carries our upstream fixes for FSDP2 adapters (huggingface/peft#3839, huggingface/peft#3838 and huggingface/peft#3938), so Halo drops its own reshard around disable_adapter(). Halo repairs what the bump breaks in FSDP2 adapter resume, native expert adapters, CP with LoRA, fused-expert targets, Nemotron-H's Mamba out_proj and merges on Laguna and Inkling 2. Of 66 tiny-model adapters saved with PEFT 0.18.1, 59 load through Halo's merge on 0.22.0, and the 23 with saved logits give them back exactly, or within 4.02e-7 on Nemotron-H. The four Inkling 2 adapters, which name Transformers 5.23's attention linears, and three [gate] adapters are refused. Outside Halo's loaders, AutoModelForCausalLM.from_pretrained on a directory holding adapter_config.json now loads the adapter, where PEFT 0.18.1 raised ModuleNotFoundError (PEFT).

A re-lock moves Pillow from 12.3.0 to 13.0.0 and datasets from 4.8.5 to 5.0.1. fsspec and s3fs go to 2026.6.0, gradio to 6.32.0, certifi to 2026.11.20, pyasn1 to 0.6.5, msgpack to 1.2.4 and the four OpenTelemetry packages to 1.45.2 and 0.66b2, while torch, Transformers, TRL and accelerate stay. That clears 53 of the 59 open dependency alerts, six of them critical, among them 43 in Pillow's image readers and writers, certifi's emSign roots and template injection in fsspec's ReferenceFileSystem. datasets 5 also stops a Hub dataset whose card points its data files outside the repo, and a folder dataset whose metadata file_name is absolute, holds a URL scheme or leads out of its folder with ... Bakes saved with prepare_dataset.py still load.

Fixes for results that were wrong with no error

  • 1.2.0 shipped cuBLAS 13.1.0.3, which drops the trailing rows of some bf16 matmuls (pytorch/pytorch#203481). The training images now pin nvidia-cublas==13.8.0.4. On B300, 14 of 135 matmul reproducers are wrong on 13.1.0.3 and none on 13.8.0.4. SFT throughput moved by under 1% in the benchmark page's one-GPU and EP8 runs, measured on 1.3.0rc1.
  • A LoRA or a modules_to_save copy on lm_head or embed_tokens of a model with tied embeddings, such as Qwen3-0.6B or Gemma 4, makes the two halves differ. The weight push, the EP merged save and the adapter merge still wrote one tensor for both. The in-memory merge now writes the pair untied and sets tie_word_embeddings: false, and the EP merged save writes a modules_to_save copy of lm_head.weight under its own key. The streaming merge, the weight push and the out-of-place fold stop with the reason. Training and adapter saves were right, so merge an earlier adapter again on 1.3.0 (tied embedding pairs).
  • Under transformers' save_pretrained, a node-local writer other than global rank 0 skipped the weights with no error, which hit DDP under save_on_each_node and the embedding trainer's sentence-transformers save. Both now write on the filesystem-aware save rank.
  • An adapter save records the base's Hub commit as revision, and the merge tool, export_engine_adapter.py and convert_to_bf16.py --check_inference read the base at that commit. The merge read the default branch and could fold an adapter into other weights.
  • prepare_dataset.py --overwrite to the Hub removes the old bake's files. It used to leave them when the new bake had fewer shards, and the loader trained the old shards. An interrupted deduplicate_dataset.py run no longer leaves a truncated output that loads as a smaller dataset.
  • With per-node input storage, the ranks build tree-packed rows from one worker count they agree on, where nodes with different CPU counts could build different rows. A group_by_length run resumed into a later epoch draws that epoch's order, where it repeated the first epoch's.
  • Environmental GRPO with enable_prefetch gives each prefetch worker its own queues, where a worker left over from an earlier train() call could take the first round of the next one and drop it.
  • Under train_on_sampled_tokens: false, and when a rollout returns no sampled ids, environmental GRPO re-rendered an MCP trajectory without its tool block, so it trained another prompt than the one the engine answered. VLM training rows dropped tool_calls, tool_call_id, name and reasoning_content, and now keep every message key.
  • Environmental GRPO no longer rewards a wrong integer answer. numeric_match accepted anything within 1% of the gold, so 895 earned the full reward for 902. Now a gold written as an integer accepts only what rounds to it, such as 902.4, and golds with a decimal point keep the 1% band. On GSM8K's 1,319 test golds, gold ± 1 graded correct for 427 before and for none now, in the PR author's CPU count (reward).
  • Text DPO trained a second terminator after every completion. TRL's string path appends eos_token to a completion whose text does not end with it, so on a template that closes a turn with a terminator and trailing text, each chosen and rejected reply ended on two terminators on Qwen3, Qwen3.5, Gemma 3, Gemma 4, LFM2 and LFM2.5, and on three on ZAYA1. The prompt of LFM2-24B, ZAYA1 and Gemma 3 also began with two BOS tokens. DPO now tokenizes text rows as SMPO does, with one terminator from the model's own set, and gpt-oss rows are unchanged (text rows).
  • Offline GRPO divided each micro-batch by its own weighted count, so a step that spans several micro-batches or ranks trained a mean of per-micro-batch ratios. Every loss type now divides by one denominator over the optimizer step, on every rank. On 8 rows dealt to 2 ranks with 2 accumulation steps, the old gradient misses the one-batch objective by 1.7e-2 to 4.4e-2 and the new one matches it to 7.5e-9, a CPU check (loss types).

Other fixes and changes

  • A custom environment registered in a wrapper script now trains through the YAML path. Environmental GRPO resolves environment_type in the training process and sends the factory to each Ray actor, where earlier releases failed at the pool start with an unknown-type error. Every module the factory reaches must import on every node (register it).
  • python scripts/training/<method>.py <config> started once in an sbatch script or an salloc shell now runs as one process, where it read the job's SLURM_NTASKS and stopped. A container started per srun task needs SLURM_STEP_NUM_TASKS and SLURM_STEP_TASKS_PER_NODE beside SLURM_PROCID (Slurm).
  • DPO and KTO with precompute_ref_log_probs sweep the reference after the FSDP2 wrap, so fp32_non_ep_params under EP no longer fails in DeepEP's combine.
  • Under lowp_precision: fp8, an all-zero block of an EP expert weight became NaN in the compiled round trip, so inclusionAI/Ling-mini-2.0 stopped on non-finite gradients in its first steps. It now trains. The eager NVFP4 quantizer also takes an empty tensor and flushed denormals when called directly.
  • balance_token_mass weighs an untrainable turn's negative mass with the other negatives, so a balanced round nets to zero. 1.2.0 left that mass unopposed and pushed down harder than no balance.
  • merge_peft_adapters.py --streaming folds an adapter into the base's shards tensor by tensor without loading the model, native expert LoRA and mixed EP adapters included. It resolves targets through the base's key renames, folds router balancing biases, and stops before it writes on an adapter that rewrites a tensor the base stores packed, such as NVFP4 or MXFP8 expert weights (streaming merge).
  • GLM-5 Next's DSA indexer scores a padded batch's queries in chunks, which under bf16 autocast takes the indexer's peak at 16,384 tokens on one B300 from 12.4 to 3.0 GiB.
  • A CP or EP+CP resume of a full fine-tune launched through the training scripts is no longer refused as not built from the checkpoint. Nemotron-H and Step-3.7 exports read the source's config and remote code at the commit their weights came from.
  • A reward scorer that cannot be built on a rollout actor's node, such as a whitecircle term without WHITECIRCLE_API_KEY there, stops environmental GRPO at start, where it lost an episode at every settlement.
  • Each checkpoint of a MoE run that logs expert load carries moe_expert_token_counts.json, the routed token slots of each expert over the run.
  • The training images set HF_HUB_DISABLE_TELEMETRY=1, so TRL's trainers send no telemetry from rank 0.
  • GPU Training Theory is now a lecture for readers new to GPU training, in four parts: one GPU, many GPUs, around the training step and finding the bottleneck. Every number it measures comes from one B300 and names its shape.
  • Halo's contact address is halo@whitecircle.ai, in SECURITY.md, CONTRIBUTING.md, the licenses and the image labels.

Upgrading

  1. Pull the 1.3.0 images, public.ecr.aws/whitecircle/halo:blackwell-1.3.0 or :hopper-1.3.0, and the rollout images you use: :vllm-0.32.0-1.3.0, :vllm-0.1.dev25249-1.3.0 for Inkling 2 and :sglang-0.5.22-1.3.0. Retag a pulled training image as halo:blackwell or halo:hopper, the name the make targets and compose files use. A published image holds its release's dependencies, so run it with the checkout of its release tag. A checkout of main needs an image built from it (Docker).
  2. Update the rollout servers together with the trainer. A run that syncs weights stops at startup on a vLLM image from 1.2.0 or 1.3.0rc1, which report no engine build. The vLLM image also unpickles the trainer's NCCL id through a shim at the trainer's module path, so pair a trainer with the server images of its own release. Leave VLLM_USE_V2_MODEL_RUNNER as the image sets it.
  3. Go through Breaking changes for your configs and code. A 1.2.0 setup meets at least the moved module paths, rollout_actor_budget, the reasoning keys and rollout_thinking. MIGRATION-1.3.0rc1.md, attached to the 1.3.0rc1 release, maps every moved module and changed key of that release. Its halo.models.families.mistral4 row no longer exists.
  4. Prepare offline chat and VLM bakes made with 1.2.0 again with prepare_dataset.py, with --model_name_or_path set to the model checkpoint.
  5. For code contests, set rollout_max_thinking_tokens if you relied on the per-level reasoning caps of 4,096, 8,192 and 16,384 tokens, which are gone.
  6. Replace HALO_DEEPGEMM_NATIVE=1 with lowp_backend: native and lowp_apply_dense_mlp: false in an SFT config, on the 1.3.0 Blackwell image.
  7. On the multimodal Gemma 3 sizes, replace padding_free with packing.
  8. Install whitehalo with pip install whitehalo, or keep it in an environment of its own with uv tool install whitehalo.
  9. Expect a dataset read from a local JSON, CSV or Parquet file to be prepared and mapped again once on its first run, since datasets 5 keys those caches differently. Its entries from datasets 4.8.5 stay in HF_DATASETS_CACHE until you delete them. A Hub dataset keeps its cache, and one cached under 4.8.5 still loads with HF_HUB_OFFLINE=1.
  10. On Qwen3-Next, Qwen3.5 MoE and Qwen3.8-Flash-Next, lora_modules_to_save: [gate] no longer trains shared_expert_gate, and on Gemma 4 it no longer trains per_layer_input_gate, so list those names too. An adapter saved with [gate] resumes once the run names shared_expert_gate, and merge_peft_adapters.py --streaming folds it. A merge whose --device_map puts modules on disk now stops, so use --streaming for it.
  11. In offline GRPO configs, replace loss_type: bnpo with dapo or grpo. A config without the key now trains dapo.

If you ran a 1.3.0 release candidate:

  • Inkling 2 adapters saved on 1.3.0rc2 name the attention linears of Transformers 5.23, so a resume, a merge or an export stops on them by name. Resume, merge or export them on the 1.3.0rc2 image, or train them again with the .linear targets the recipes now use.
  • Remove retry_wait from every whitecircle reward term.
  • In code-contests configs, replace a notes mapping such as notes: {} with notes: true.
  • If you installed whitehalo 1.3.0rc2 with pip into a shared environment, repair urllib3 as The whitehalo launcher describes.
  • A gathered EP save made on 1.3.0rc1 or 1.3.0rc2 by a lone process that saw two or more GPUs, with HALO_CHECKPOINT_WRITERS_PER_NODE at 2 or more, may be missing layers. Halo's loader refuses such a checkpoint while stock from_pretrained fills the gaps at random, so save or export it again.

Breaking changes

From 1.2.0:

  • 40 modules of halo/models, halo/environments and halo/trainers moved into subpackages with no shims, and halo.models.mistral4 is removed. For example halo.models.config_access is now halo.models.introspection.config_access, and halo.models.nemotron_h is halo.models.families.nemotron_h. In the Python API, RewardComposer.scorers is the method build_scorers(), and load_distributed_model(init_from_scratch=True) needs init_seed.
  • num_rollout_workers is rollout_actor_budget, a per-node budget with a default of 256, cluster-wide with ray_address. The old key raises with the conversion: without ray_address, multiply the old value by the node's rollout ranks, and with it, keep the value.
  • The per-level reasoning keys thinking_tokens and enforce_thinking_cap raise as unknown keys, and the top-level reasoning_price and reasoning_price_past_budget are gone. Set reasoning_budget and reasoning_price per level in reasoning_effort_profiles, where the price counts only the reasoning past the level's budget. No level caps reasoning per turn any more, and code contests no longer ships default per-level caps.
  • reasoning_floor charges only a baseline episode that earned no objective, against its level's episode-wide reasoning_budget. Trainer construction refuses it while a drawn level sets no budget above 0 or the reward prices no success above zero.
  • rollout_chat_template_kwargs rejects enable_thinking when the config is parsed. Remove the key, and set rollout_thinking: false to close the reasoning block.
  • Transformers 5.24.1 or a later 5.24 release and flash-linear-attention 0.6.x are the only versions the pins allow. Transformers passes the gated delta rule fewer key heads than value heads, which fla groups only from 0.5.0, so fla 0.4 reads past the key and decay tensors.
  • The multimodal Gemma 3 sizes, 4B, 12B and 27B, resolve to SDPA, a pinned flash label included, where 1.2.0 ran them on a flash kernel. padding_free is refused for them, and full_determinism on more than one GPU needs HALO_FLEX_SLIDING=0.
  • Attention dropout read from attn_pdrop is rejected on FA3 and FA4, which stops GPT-2 at its default where those backends are selected automatically. Below SM80 the default backend is SDPA. On Hopper with cuDNN before 9.26, cuDNN SDPA is off for the whole process, user code included, with no knob.
  • A run that syncs weights rejects a vLLM image that reports no engine build, which the 1.2.0 and 1.3.0rc1 tags do. A weight-sync group forms only with halo:vllm-0.32.0, and the startup preflight stops Inkling 2 on that tag and any other family on halo:vllm-0.1.dev25249. It also stops an SGLang server launched with --max-queued-requests or --disaggregation-mode, and a quantized server the run did not declare. On SGLang a push retracts in-flight turns, and halo_patches on /server_info is a list of patch names.
  • Online GRPO, environmental GRPO and SDPG stop at construction on an adapter on either half of a tied embedding pair, a modules_to_save copy included. Native expert LoRA beside a LoRA on a tied half is rejected whatever merge_expert_lora_on_save says. So is a PeftModel handed to SMPO, offline GRPO or distillation with a new peft_config when its adapter sits on a tied half. An in-memory merge of such an adapter writes an untied checkpoint with one more embedding matrix.
  • Mistral Small 3.x (mistral3 over a dense mistral tower), dense LFM2-VL, dense Gemma 4 and dense Command A Vision stop in online and environmental GRPO before any data or load, and Ministral 3 and Devstral Small 2 stop there under rollout_adapter_sync. A vLLM server for Ministral 3 or Devstral Small 2 that does not name --config-format mistral and whose window reaches past 16,384 is refused at startup. export-engine-adapter rejects all of them as a base on both engines, and offline GRPO on a tower with a llama-4 query scale forwards each row alone.
  • SFT rejects an offline chat or VLM bake that records no turn terminators, or another set than the run's model resolves. It also rejects a bake whose tokenizer had another vocabulary size than the run's, and a dataset directory whose shard index disagrees with its stamp. A run that adds tokens with added_special_tokens needs a bake made from the grown vocabulary.
  • Text SFT on padded rows and text self-distillation refuse a completion-only setup whose template ends no assistant turn in a terminator. Set eos_token to the token that closes a turn, or turn train_on_completions_only off.
  • A row whose template leaves its last assistant turn open ends on a closing token. Tool-call arguments stored as JSON text render as a mapping unless the template writes the text as stored, and where it does not, argument text that is not a JSON object raises. Store the arguments as a JSON object or its text, or drop the row. A completion-only SFT config can train other tokens than on 1.2.0: a turn that ends at a stop only the generation config lists trains through it, and a span no longer runs on into another role's turn.
  • DPO, SMPO and reward-model datasets lose their pairs with an empty reply, so step and epoch counts shift, and a plain resume skips batches by index into other rows. A reference_logps.pt saved for the old row count is rejected on resume when the policy loads from the checkpoint with no separate reference, so regenerate it as the DPO page describes.
  • s3.py push and s3.py download refuse an existing destination unless --overwrite is passed, and --no_overwrite is gone. An overwriting push and s3.py delete --recursive fail when S3 refuses a delete. prepare_dataset.py with an S3 or Hub output stages its bake under HF_DATASETS_CACHE, not TMPDIR, and deduplicate_dataset.py writes the surviving rows in input order.
  • An environmental GRPO run builds every rollout actor's environment and reward scorers when the pool starts, so a constructor that fails on an actor's node stops the run at start. A judge on a loopback host reads VLLM_API_KEY only. A dynamic MCP environment that advertises no tools, or whose discovery fails, does not start. MCP tool results reach the model as text instead of object reprs, so rollout observations change.
  • A set HALO_DEEPGEMM_NATIVE raises when the config is built, where 1.2.0 read it as the switch to DeepGEMM and fell back to the simulated path with a warning when DeepGEMM or a kernel was missing. lowp_backend: native is refused with lowp_apply_dense_mlp: true, the default, with lowp_precision bf16 or fp4, with expert TP and in every trainer but SFT. At load it is refused without deep_gemm and on a deep_gemm older than 2.8.2, which every Blackwell image through 1.3.0rc2 carries. In the Python API, expert_gemm takes lowp= and set_lowp_compute takes a LowpSpec in place of a QuantFormat.
  • A trainer raises on a model whose low-precision conversion does not match lowp_precision, in either direction. A Qwen3.8-Flash-Next model built without the family patches is rejected.
  • init_from_scratch draws other values than 1.2.0 for the same seed, from the same distribution, and the draws can differ between hosts of different ATen CPU capability.
  • Gathered EP saves on a shared filesystem are striped over one writer per node by default, the DeepEP arena allocates 1.5×, and logged tokens/s and MFU count attended tokens for SMPO, embedding and PP. The startup checks of Faster GRPO at scale are on, including the cross-node dispatch budget, which online and async GRPO did not declare in 1.2.0. The rollout concurrency cap is one wave of the round where it was 4× the actors, the error-rate halt is on, and the parity probe warns after the first push.
  • Runs do not replay earlier releases bit for bit in a few places. AdamWBF16's Triton step takes 1 - beta1 and 1 - beta2 from the float64 betas. A Qwen3.8-Flash-Next run on its default attention kernel does not replay itself, so set full_determinism: true or HALO_QSA_KERNEL=off where it must. Later epochs of a run with group_by_length, or with use_seedable_sampler: false, draw another order, while epoch 0 keeps its order. CUDA exports of mxfp4 blocks below about 3.5e-38 and of mxfp8 blocks below about 2.6e-36 change to match a CPU export.
  • A container started per srun task needs SLURM_STEP_NUM_TASKS and SLURM_STEP_TASKS_PER_NODE beside SLURM_PROCID, and an srun step that places its tasks unevenly is rejected. The training images no longer install matplotlib.
  • With PEFT 0.22.0, lora_modules_to_save entries match whole module names, so [gate] takes the router alone. A PeftModel below the FSDP2 root under ZeRO-2 is rejected when the root group holds adapter tensors, such as a LoRA or modules_to_save copy on lm_head or a tied embedding pair, for example a PeftModel inside the CP wrapper. A local model_name_or_path holding adapter_config.json beside config.json is rejected. The merge tool rejects a disk-offloaded base and an adapter tensor the wrap builds nothing for, and points to --streaming. Adapter sync and export-engine-adapter reject every LoRA variant PEFT 0.22.0 tags.
  • datasets 5 refuses a Hub dataset whose card points its data files outside the repo, and a folder dataset whose metadata file_name is absolute, holds a URL scheme or leads out of its folder with ...
  • Environmental GRPO rewards change on tasks with integer answers: a near-miss integer that scored 1 now scores 0, and a gold that a dataset rounded to an integer is graded as exact, so 1497 scores 0 for 1500 J.
  • Text DPO rows lose one scored token per completion on Qwen3, Qwen3.5, Gemma 3, Gemma 4, LFM2 and LFM2.5, and two on ZAYA1, so the loss and the logps and rewards metrics shift. A full fine-tune resume that builds the policy from a checkpoint with a precomputed reference rejects a reference_logps.pt saved on an earlier release, so regenerate it as the DPO page describes. Text rows need a prompt column.
  • Offline GRPO's default loss_type is dapo, the token mean over every row of the optimizer step with each row weighted 1/group_size, and loss_type: bnpo raises with the remedy when the config is built. The gradient and the logged train loss change in any step whose micro-batches or ranks hold different weighted counts, which includes the shipped recipes at batch 1 with 8 accumulation steps. A checkpoint from a bnpo run resumes once the YAML names dapo or grpo.
  • An environmental GRPO run stops at startup on a setting its chat template cannot render. That covers drawn reasoning_effort levels the template renders alike or raises at, which under reasoning_effort: random includes the stock Qwen3, Qwen3.5, Qwen3.6, GLM-4.7, Gemma 4, LFM-2 and Ling templates. It also covers carry_reasoning: true on a template that drops a tool-calling turn's reasoning, a preserve_thinking setting that changes no render, and a reasoning_effort cell other than low, medium, high or null. Use the effort template of the model's family.

From a 1.3.0 release candidate:

  • Inkling 2 LoRA targets name the inner linear, o_proj.linear and the other four, and resume, merge and export stop by name on adapters saved on 1.3.0rc2. Merge and convert_to_bf16.py --check_inference also reject, on any family, an adapter key on a module that holds its weight in a child.
  • The whitecircle reward term no longer takes retry_wait, and a config that sets it stops at parse with an unknown-option error. A read timeout and a 408, 500, 502 or 504 now fail without a retry, Retry-After is ignored, and a call is capped at 182 s at the defaults, where 1.3.0rc2 held one for about 165 s.
  • The Python class HeadSweep is removed.
  • Under the code-contests notes harness, notes is a switch (notes: true), where 1.3.0rc2 took a mapping (notes: {}): the notes config, size cap, replay and view override are gone, and a prompt that already holds notes calls is refused. An identical resubmission ends the episode at turn_overflow_penalty.
  • In whitehalo, --numa-binding core is gone, and the values are node, socket, exclusive and core-complex. ~/.aws mounts only with --aws auto or a path, read-only, so a run that reads S3 with credentials from ~/.aws needs that flag. --request-json rejects other flags but --format. In the Python SDK, ModernHttpTransport speaks HTTP/1.1 only and loses multiplexed and happy_eyeballs, request() gains ca_file, client_cert and max_redirects, SocketTuning.fastopen is gone, and ContainerOptions.aws defaults to no mount.

Images

Pull public.ecr.aws/whitecircle/halo:blackwell-1.3.0 or :hopper-1.3.0, and the rollout images :vllm-0.32.0-1.3.0, :vllm-0.1.dev25249-1.3.0 and :sglang-0.5.22-1.3.0. The vllm-0.1.dev25249 image serves Inkling 2 alone. All five images are built from 14a6ce319.

The moving tags :blackwell, :hopper, :vllm-0.32.0, :vllm-0.1.dev25249 and :sglang-0.5.22 point at these images, so a host that pulls a moving tag gets 1.3.0 on its next pull. They have pointed at the 1.3.0rc2 images since that release. Pin :blackwell-1.2.0, :hopper-1.2.0, :vllm-0.32.0-1.2.0 or :sglang-0.5.22-1.2.0 to stay on 1.2.0. There is no latest tag, so a Hopper host cannot pull a Blackwell image by mistake.

Pinned digests:

  • blackwell-1.3.0: sha256:828187917641e74394a435d907de31fb69a8d3d579dc8cf974fc009e16f4040c
  • hopper-1.3.0: sha256:aaeab65bf047504335f83964f88e41575e0d7d4b7e3562392b68f297701425c5
  • vllm-0.32.0-1.3.0: sha256:d52223b873a9e58f281591b1fb1f149d8fd5a75da2ed44ddb6cf18c729f930db
  • vllm-0.1.dev25249-1.3.0: sha256:4b6b7b4972d5d368ef3d1d1d1ada34ae3a1bd0fa35c0e9a2d8765ad3e226ece6
  • sglang-0.5.22-1.3.0: sha256:90824bc9082e41f6b2a6881daa54d802fbc61dea77be96a9c7f83286d65b3be6

Validation

The CPU tier passes on the release image at the release commit: 24,211 tests and 14,493 subtests, none failing. On 8× B300 the core GPU tier passed 483 of 483 rows on the release's code, and a smoke of seven weight-sync and GRPO rows passed on vLLM and on SGLang. From its baked source, the release's Blackwell image trained a LoRA recipe and gpt-oss-20b from its MXFP4 release weights at EP2.

The GPU rows for the changes since 1.3.0rc2 ran on B300 with Transformers 5.24.1, on tiny models of each family and on released checkpoints where a row names one. They cover eight from-scratch layouts, the TP FlexAttention row with a control that falls back to SDPA, and 13 chunked-log-prob rows, four of them with a LoRA on the head. They also cover 39 merged-save, resume and weight-sync rows on tied and untied models, and three of the four new Lightning recipes on 8× B300. The native DeepGEMM path passed 24 of 24 rows in an image with DeepGEMM 2.8.2, the first-push parity probe 7 environmental runs beside a vLLM server, and chunked SDPG 7 rows beside a vLLM server.

Inkling-2-Mini passed 23 GPU rows on B300 on tiny models, one of them in the release's packed layout, across FSDP2, EP, ETP, EP+ETP, LoRA merged saves and resumes, DPO and KTO, with Inkling-2-Small's losses bitwise unchanged.

With PEFT 0.22.0, 44 LoRA, EP and PP rows passed on B300s, two per row, on two runs, among them gpt-oss-20b under EP and EP+CP and a resume over Inkling 2's frozen banks. Of 1,054 LoRA target cases over 22 family and layout cells, 852 adapt the same modules as PEFT 0.18.1, 194 are refused by both, and the 8 that differ all use lora_modules_to_save: [gate].
With the re-locked packages installed over the 1.3.0rc2 image, 40 GPU rows on image data passed on B300s, among them SFT, SMPO, DPO, reward and self-distillation on images.
With the sharded draws, 14 from-scratch layouts passed on 8× H200 in the PR author's run, each checkpoint after two steps at learning rate 0 equal to the keyed CPU draw bit for bit. Through the real loaders on CPU, the sharded draws of EP, EP+ETP and PP equal the whole-model draw on the tiny MoE families.
On B300 with Ministral-3-8B, the startup preflight refused the default and --config-format hf vLLM launches at a 262,144-token window and passed --config-format mistral and --max-model-len 16384. The push rows passed on vLLM and on an SGLang image built from this release, and the published 1.3.0rc2 SGLang image was refused.
On 8× B300 the four Ministral 3 SFT and preference recipes ran 20 steps each on FA4 with finite gradients, one run each.

Known issues

  • With more than one EP group, a LoRA adapter or an added embedding row starts identical across groups only when every rank is seeded alike, which the training scripts do (EP limitations).
  • A full fine-tune that does not fit is not rejected up front, so GLM-5.3-Flash at ep8 with data parallelism runs out of memory about 3 minutes in. Its weight sync has not run against a live server yet (RL weight sync).
  • An MTP head is not carried by online weight sync, and SGLang starts on a checkpoint with no head and misses every draft.
  • FlashAttention-4 4.0.0b37 is a beta. A pinned FA4 on Gemma 2 27B in DPO, SMPO, KTO, reward, classification or GRPO fails only when the first padded batch reaches it, so leave attn_implementation unset there.
  • A text SFT run on the packed or padding-free routes whose chat template ends assistant turns with no terminator is not rejected. With train_on_completions_only, set eos_token to the token that closes a turn. Text self-distillation catches a completion marker whose text the template renders but whose tokens never match only by a warning on each row, and such rows train nothing.
  • FLA's Triton kernels are autotuned per TRITON_CACHE_DIR, so runs that must match bit for bit should share a warm cache. In fp32, fla 0.6's gated-delta-rule gradients for A_log and dt_bias sit up to 4.4e-2 and 3.5e-2 from an fp64 recurrence on one step of Qwen3.5-4B over 2,048 tokens, where fla 0.4.2 gave 9.7e-3 and 9.8e-3. So set TRITON_F32_DEFAULT=ieee for an fp32 run (fla-org/flash-linear-attention#1802). In bf16 the effect stays inside the dtype's rounding.
  • On Hopper, GLM-5 Next's DSA backward runs on the memory-efficient kernel now that cuDNN SDPA is off, which is slower, so set HALO_DSA_MATMUL=1 there.
  • Two FA4 shapes still compile at first use. A forward whose longest row times the query-to-KV head ratio is at most 256, at a row length the warm-up did not run, compiles one kernel, about 1.8-2.0 s. A varlen call over more than 256 documents compiles four, about 6 s. Those are one run each on one B300, once per kernel cache, and in a multi-rank run every peer waits for that compile at its next collective.
  • Under the full-logits scorer the memory check counts 4 bytes per logit, while Inkling 2's softcapped fp32 head holds 8 and up to 16. So the check can pass an Inkling 2 run that then runs out of memory, and you should keep use_chunked_grpo_logprobs: true, which the recipes set. The DAPO-Math step times above come from a run without gradient checkpointing on the decoder layers, and no family other than Inkling 2 has run on the vllm-0.1.dev25249 image's engine build.
  • After a vLLM server at a tensor-parallel size above 1 refuses an adapter load or fails a weight-sync call, its next call can return the earlier error, so restart the server before loading again.
  • An adapter someone loads on an SGLang server after the startup preflight is not counted, and SGLang evicts without an error to fit it, so an episode under an evicted version loaded from tensors then fails.
  • Leave vLLM's reasoning parser unset for a checkpoint that does not think. On Qwen3-30B-A3B-Instruct-2507 with --reasoning-parser qwen3, vLLM 0.32.0 returns the answer after a tool result as reasoning, and the turn's content comes back empty.
  • SGLang 0.5.22 fails to start a Gemma 4 server with --enable-return-routed-experts, so leave that flag off for it.
  • A dead server raises slowly, after about 4 minutes for a killed engine and about 20 for a frozen SGLang server at 2 ranks.
  • Trainer and engine disagree on identical weights, on MoE models mostly through bf16 routing flips, which is not a sync error (trainer and engine noise).
  • vLLM 0.32's LFM2 and LFM2-MoE classes tie the embeddings unconditionally, so they serve an untied merged export tied (tied embedding pairs).
  • Baseten allows at most 10 sandboxes per organization, so keep the sum of max_concurrency across Ray actors at 10 or below, and a session that wrote a file raises once Baseten deletes its idle sandbox. Modal and Baseten credentials do not reach Ray actors on a shared cluster, so put them on every node.
  • A python tool with no sandbox= runs in-process, so a call that times out returns while its thread keeps running until the process exits, and an endless loop written by the model slows the process for the rest of the run. HALO_SANDBOX_REPL=1 runs it on the selected sandbox backend instead.
  • Adapters saved on 1.2.0 or 1.3.0rc1 record no base commit and merge against the default branch with a warning, and --base_revision <sha> on merge_peft_adapters.py or export_engine_adapter.py names the commit. An expert-only GPT-OSS adapter saved on those releases keeps live sinks when merged until reset_sinks.py runs on the output.
  • Qwen3.8-Flash-Next is experimental. Exact resume is checked only on a four-layer cut with QSA on the tiled path, RL weight sync only on tiny composites, no GRPO run on the real checkpoint exists yet, and at release size under pp2 × ep8 it fits only with gradient checkpointing on.
  • On Nemotron-H no run has trained a release to a quality metric. Super VL's full fine-tune at 32,000 tokens and its frozen-expert run at 50,000 reserve 283 GB on their top ranks of the 287.4 GB a B300 reports, so no longer row has a measured fit. On an image run under Liger the logged mean_token_accuracy and entropy do not describe the training step.
  • On Nemotron 3.5 Lightning, plain FSDP2 has not run on the release, and the offline GRPO recipe's data ties on 1,201 of 1,400 GSM8K groups, which then carry no advantage.
  • Five Qwen recipes render qwen3-multiturn.jinja, which writes replies with no think block, so on Qwen3.6-35B a run starts at a loss near 3.3. The memory fit of the Laguna S, LFM2.5-8B, Mistral Small 4 and DeepSeek-V4 LoRA recipes is computed, not measured, and the Command A+ recipe's peak was measured on an earlier release.
  • Tree packing under ETP and EP+ETP is accepted but not yet verified.
  • lowp_backend: native has no whole-step measurement on this release, and narrow experts run slower than bf16 per layer, 0.70-0.79× on Qwen3-30B-A3B.
  • Under native mxfp4 a non-finite expert weight raises only on the rank that holds it, and its EP peers wait in the DeepEP combine until DeepEP's timeouts end the run.
  • Under data parallelism, CP, attention-only TP, dense TP, pure ETP and EP with ep_lazy_loading: false, init_from_scratch draws the whole model in host memory on every rank. An EP+ETP rank draws expert_tp_size times the expert weights it keeps.
  • The empty-reply filter covers DPO, SMPO and reward-model pairs, so KTO rows keep an empty reply, and it does not check an empty assistant turn before the last.
  • A LoRA run with init_from_scratch: true saves an adapter that names the pretrained checkpoint as its base. merge_peft_adapters.py and export-engine-adapter then fold it into the pretrained weights, not the random draw it trained over, with no error, so do not merge such an adapter (#288).
  • On a model with tied embeddings, native expert LoRA beside a lora_modules_to_save copy of lm_head or embed_tokens trains with merge_expert_lora_on_save: false, and the merge and export tools then refuse its adapter. Train that setup with merge_expert_lora_on_save: true (#289).
  • Ministral 3's offline GRPO recipe has not run on a release with the chunked scorer the family takes. Its hub template adds a default system prompt with the day's date to every conversation that has none, so the same row renders differently on another day.
  • Devstral Small 2 is admitted to full-weight sync, and no run has used it. On SGLang its window must stay at 8,192 tokens (--context-length 8192), because SGLang 0.5.22 scales every ministral3 tower from 16,384.
  • Stock PEFT 0.22.0 outside Halo rejects a Nemotron-H out_proj adapter (huggingface/peft#4254) and drops Laguna's shared_experts and Inkling 2's weight_proj adapter tensors with only a warning. On Qwen3-Next, GLM-4 MoE Lite and Cohere2 MoE it reloads a saved list of leaf targets with zero-valued adapters on the fused experts, or raises where the list names one projection of a fused pair (huggingface/peft#4253). Merge with Halo's merge_peft_adapters.py, which handles all three.
  • whitehalo refuses system directories as output_dir by a list, so a path such as ~/.ssh still mounts read-write. Give output_dir a directory of its own.
  • Every rank still contacts the Hub at startup for a text model's tokenizer, so at large world sizes download the model first and set HF_HUB_OFFLINE=1.
  • Six dependency alerts stay open, none above medium severity, on three packages the stack cannot move yet: setuptools 81.0.0, which torch 2.11 caps below 82, torch 2.11.0, which the base image pins, and accelerate 1.11.0, which has no fixed release.

Full changelog: v1.2.0...v1.3.0