eadd177d3b
Manual-backprop PPO with Adam: TrajectoryBuffer, computeGAE, ppoUpdate (4 epochs, minibatch 64, clip 0.2, grad norm 0.5). Reward helpers computeTickReward/computeRoundReward. Bot wired: tick transitions collected in run loop, ppoUpdate called on onRoundEnded. Fix: add arraymancer import to PPO_Bot.nim so Tensor resolves at top level. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
9 lines
295 B
Nim
9 lines
295 B
Nim
# Static-link OpenBLAS for portable deployment
|
|
# ponytail: adjust path per machine, or use pkg-config
|
|
switch("passL", "-lopenblas")
|
|
switch("threads", "on")
|
|
# begin Nimble config (version 2)
|
|
when withDir(thisDir(), system.fileExists("nimble.paths")):
|
|
include "nimble.paths"
|
|
# end Nimble config
|