54b8139b11
Save/load all SAC-LSTM tensors (actor, 2 critics, 2 target critics, alpha, Adam states) into a single .zip of .npy files. Atomic write via temp path + rename. Adam types (AdamVar, SACAdamStates) defined here for training.nim to use. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
16 lines
824 B
Nim
16 lines
824 B
Nim
# Static-link OpenBLAS for portable deployment
|
|
# ponytail: adjust path per machine, or use pkg-config
|
|
switch("passL", "-L/nix/store/v07svn2y92bvzjl51aj7c9ca1cwg7rw7-openblas-0.3.32/lib -lopenblas")
|
|
# libzip for weight checkpoint zip files
|
|
# ponytail: nix store path; adjust per machine, or use pkg-config
|
|
switch("passL", "-L/nix/store/wqvz31s598bvj3zb747943xhl38hjc6h-libzip-1.11.4/lib -lzip")
|
|
switch("threads", "on")
|
|
# begin Nimble config (version 2)
|
|
when withDir(thisDir(), system.fileExists("nimble.paths")):
|
|
include "nimble.paths"
|
|
# end Nimble config
|
|
# Use the repo-vendored Tank Royale bot API (libs/) instead of the nimble pkg.
|
|
# Must come AFTER the nimble.paths include: later --path wins the import search.
|
|
switch("path", thisDir() & "/../libs/tankroyale_botapi")
|
|
switch("path", thisDir() & "/../libs/radar_lock")
|