Skip to content

Add UCI controls for PhoenixNet NNUE - #5

Merged
KnightStackSys merged 2 commits into
mainfrom
uci-nnue-options
Oct 9, 2026
Merged

KnightStackSys merged 2 commits into
mainfrom
uci-nnue-options

Conversation

@KnightStackSys

Copy link
Copy Markdown
Owner

Adds UCI options for loading, enabling, disabling, and reloading PhoenixNet networks without restarting IronPhoenix.

New UCI options

  • EvalFile (string): load a .nnue network from a path
  • UseNNUE (check): enable NNUE or unload it and fall back to HCE
  • ReloadNNUE (button): reload the current EvalFile

Behavior

  • changing EvalFile loads the network immediately and enables NNUE
  • UseNNUE false unloads the network and returns evaluation to HCE
  • UseNNUE true loads the remembered EvalFile if necessary
  • evaluator changes clear the transposition table so HCE/NNUE scores are not mixed
  • startup environment/default loading remains unchanged; the UCI shell reflects the currently loaded network/path

Example:

uci
setoption name EvalFile value C:\\nets\\ironphoenix.nnue
setoption name UseNNUE value true
isready

This PR is isolated from IIR/NMP search work.

@KnightStackSys
KnightStackSys marked this pull request as ready for review October 9, 2026 17:53
@KnightStackSys
KnightStackSys merged commit 22b3380 into main Oct 9, 2026
2 checks passed
@KnightStackSys
KnightStackSys deleted the uci-nnue-options branch October 9, 2026 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant