From 41eaa6522c0aa2f225ab81ec85e2ee2de7b4b414 Mon Sep 17 00:00:00 2001 From: jgrusewski Date: Sun, 22 Mar 2026 10:00:26 +0100 Subject: [PATCH] =?UTF-8?q?perf:=20cap=20hyperopt=20hidden=5Fdim=3D256,=20?= =?UTF-8?q?num=5Fatoms=3D51=20=E2=80=94=204x=20faster=20trials?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Production defaults are sufficient for hyperopt exploration. Larger networks can be tested in a separate phase with the best hyperparams found. Co-Authored-By: Claude Opus 4.6 (1M context) --- crates/ml/src/hyperopt/adapters/dqn.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ml/src/hyperopt/adapters/dqn.rs b/crates/ml/src/hyperopt/adapters/dqn.rs index 068d283e9..4a4857e6e 100644 --- a/crates/ml/src/hyperopt/adapters/dqn.rs +++ b/crates/ml/src/hyperopt/adapters/dqn.rs @@ -3719,7 +3719,7 @@ mod tests { assert_eq!(bounds[11], (1.0, 1.0)); // use_branching (FIXED: always true — GPU pipeline requires branching) assert_eq!(bounds[13], (128.0, 512.0)); // dueling_hidden_dim assert_eq!(bounds[14], (3.0, 5.0)); // n_steps (raised min: Rainbow standard) - assert_eq!(bounds[15], (11.0, 101.0)); // num_atoms (11=RTX3050, 101=max) + assert_eq!(bounds[15], (11.0, 51.0)); // num_atoms (11=RTX3050, 51=H100 default) // Kelly risk parameters assert_eq!(bounds[17], (0.25, 0.75)); // kelly_fractional @@ -3727,7 +3727,7 @@ mod tests { assert_eq!(bounds[19], (10.0, 30.0)); // volatility_window // C2: curiosity_weight fixed to 0.0, noisy_epsilon_floor fixed to 0.10, not in search space - assert_eq!(bounds[21], (128.0, 512.0)); // hidden_dim_base (128-512, backtest is bottleneck not training) + assert_eq!(bounds[21], (128.0, 256.0)); // hidden_dim_base (capped at production default for hyperopt speed) assert_eq!(bounds[22], (0.0, 1.0)); // cql_alpha (full offline-RL range) // C5: branch_hidden_dim