Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SFNNv9 Diagram #284

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
876 changes: 876 additions & 0 deletions docs/img/SFNNv9_architecture.drawio

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions docs/img/SFNNv9_architecture.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
915 changes: 915 additions & 0 deletions docs/img/SFNNv9_architecture_detailed.drawio

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions docs/img/SFNNv9_architecture_detailed.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
911 changes: 911 additions & 0 deletions docs/img/SFNNv9_architecture_detailed_v2.drawio

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions docs/img/SFNNv9_architecture_detailed_v2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 12 additions & 1 deletion docs/nnue.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ What this document DOES NOT contain:
+ [A part of the feature transformer directly forwarded to the output.](#a-part-of-the-feature-transformer-directly-forwarded-to-the-output)
+ [Multiple PSQT outputs and multiple subnetworks](#multiple-psqt-outputs-and-multiple-subnetworks)
* [Historical Stockfish evaluation network architectures](#historical-stockfish-evaluation-network-architectures)
+ ["SFNNv9" architecture](#sfnnv9-architecture)
+ ["SFNNv8" architecture](#sfnnv8-architecture)
+ ["SFNNv7" architecture](#sfnnv7-architecture)
+ ["SFNNv6" architecture](#sfnnv6-architecture)
Expand Down Expand Up @@ -2958,11 +2959,21 @@ y = self.layer_stacks(l0_, layer_stack_indices) + (wpsqt - bpsqt) * (us - 0.5)

## Historical Stockfish evaluation network architectures

### "SFNNv9" architecture

Same as "SFNNv5" with L1 size increased to 3072.

2024-04-01 - *

[Commit 0716b845fdef8a20102b07eaec074b8da8162523](https://github.com/official-stockfish/Stockfish/commit/0716b845fdef8a20102b07eaec074b8da8162523)

![](img/SFNNv9_architecture_detailed_v2.svg)

### "SFNNv8" architecture

Same as "SFNNv5" with L1 size increased to 2560.

2023-09-22 - *
2023-09-22 - 2024-04-01

[Commit 782c32223583d7774770fc56e50bd88aae35cd1a](https://github.com/official-stockfish/Stockfish/commit/70ba9de85cddc5460b1ec53e0a99bee271e26ece)

Expand Down