mirror of
https://github.com/RYDE-WORK/autoresearch.git
synced 2026-07-22 00:27:42 +08:00
fix NaN loss not caught by fast-fail check
`train_loss_f > 100` silently passes on NaN because IEEE 754 NaN comparisons always return False. When an agent experiment produces NaN (e.g. from an aggressive LR change), the run wastes the full 5-minute budget instead of failing fast. `not (x <= 100)` catches both >100 and NaN with no added complexity. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
068d93da75
commit
b5ba8ac00d
Loading…
x
Reference in New Issue
Block a user