SAC training module #47
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
#37
What to build
The SAC-v2 training update logic. Given a batch of sequences from the replay buffer, computes losses and updates all networks.
Training step:
Gradient clipping at max_norm=1.0 on critic gradients. All learning rates configurable via env vars.
Acceptance criteria
test_training.nimpassesBlocked by
SAC training module complete — SAC-v2 with manual backprop, truncated BPTT (ponytail: full BPTT if gradient quality matters), twin critics, auto-alpha, soft target update. 11/11 training tests pass, full suite 80+ tests green. Post-review fixes applied: actor hidden state ordering corrected, redundant critic forwards eliminated (4→2), actor gradient clipping added.