Gemini 4 Hydrogen 1.10×

Harness: Antigravity · switches: none

Judged
1.10×
Tier
N1
Self-best
1.14×
Rounds
1
Hours
10.0
API cost
$111
Input tokens · 89.1% cached
368 M
Output tokens
3.4 M
Requests
2,504
Candidate, three windows (s)
138.3 / 141.9 / 140.7
Rollout side
—
Teacher side
—
Train side
1.28×
Per-step sampler sync
✗ rollout untouched
Train-side main levers
partial (round 1 only): reference model neither loaded nor run at zero coefficient, OPD reuses training-forward logprobs, zero-coefficient entropy and KL terms skipped, one redundant _switch_model removed (train side 1.28×); full recompute left on, CPU optimizer untouched
Teacher-side changes
✗ untouched; the baseline profile noted the teacher all-reduce missing the fused path (cap 2048, chunk 4096) and the full-vocab gather plus logsoftmax at ~10%, not acted on
Raw work log1 sections
1.6 hTrain Round 1 (`slime/` commit `8d67e89b` on `opt`)
- Changes:
  - slime/backends/megatron_utils/actor.py:
    - Skip loading/backing up "ref" weights when args.kl_coef == 0 and (not args.use_kl_loss or args.kl_loss_coef == 0) (saves ~10.6–34.6s/step ref_log_probs forward + CPU backup).
    - Skip redundant _switch_model("actor") in init() and train_actor() when self._active_model_tag == "actor" (kept unconditional in wake_up() because TMS unbacks GPU buffers during sleep()).
    - Enable can_reuse_log_probs_in_loss with use_opd when not self.args.normalize_advantages (saves ~9.8–11.0s/step log_probs forward).
  - slime/backends/megatron_utils/loss.py:
    - Fallback xs = log_probs or rollout_log_probs or values or rollout_data.get("teacher_log_probs") when skipping separate compute_log_prob.
    - Gate with_entropy = getattr(args, "entropy_coef", 0.0) != 0 and skip kl_loss when kl_loss_coef == 0.
    - Compute opd_reverse_kl_list and apply - args.opd_kl_coef * opd_reverse_kl to advantages inside policy_loss_function when reusing training log-probs.
- Verification:
  - bench.py check --side train: train windows [57.436, 57.303, 56.282], mean 57.007 s vs ref 72.872 s (1.2784x train speedup, 1.1151x projected step speedup < 1.1376 train spread bar UNAVAILABLE at gate 1).
  - bench.py check --quick --side train: status: "PASS", tier: "N1", exact: "ok", loss_mean d=+1.03e-5 (tol 3.75e-5), grad_norm_first d=-3.25e-4 (tol 1.65e-3), update_norm d=-2.68e-4 (tol 1.20e-3), cos=0.9703 (min=0.9566), mismatch=1.0x.
↑ Slime OPD