Skip to content

Commit

Permalink
More prints for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
linrock committed Jul 3, 2024
1 parent fe2dcd4 commit 76a564d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions worker/games.py
Original file line number Diff line number Diff line change
Expand Up @@ -1130,6 +1130,10 @@ def generate_tune_options(params):
print(f"Preparing nnue from b_tune_options.csv ...")
b_spsa_nnue = modify_nnue("nn-ddcfb9224cdb.nnue", "b_tune_options.csv")

print()
print(cmd)
print()

# Run cutechess-cli binary.
# Stochastic rounding and probability for float N.p: (N, 1-p); (N+1, p)
idx = cmd.index("_spsa_")
Expand All @@ -1145,7 +1149,12 @@ def generate_tune_options(params):
+ cmd[idx + 1 :]
)

print()
print(cmd)
print()
print(" ".join(cmd))
print()

try:
with subprocess.Popen(
cmd,
Expand Down

0 comments on commit 76a564d

Please sign in to comment.