Skip to content

Commit

Permalink
Merge pull request #267 from linrock/SFNNv8
Browse files Browse the repository at this point in the history
Add SFNNv8 architecture and diagrams
  • Loading branch information
Sopel97 authored Oct 7, 2023
2 parents 3a100d5 + 1e17931 commit c15e33c
Show file tree
Hide file tree
Showing 7 changed files with 2,724 additions and 2 deletions.
876 changes: 876 additions & 0 deletions docs/img/SFNNv8_architecture.drawio

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions docs/img/SFNNv8_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/SFNNv8_architecture_detailed.drawio

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions docs/img/SFNNv8_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/SFNNv8_architecture_detailed_v2.drawio

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions docs/img/SFNNv8_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.
15 changes: 13 additions & 2 deletions 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)
+ ["SFNNv8" architecture](#sfnnv8-architecture)
+ ["SFNNv7" architecture](#sfnnv7-architecture)
+ ["SFNNv6" architecture](#sfnnv6-architecture)
+ ["SFNNv5" architecture](#sfnnv5-architecture)
Expand Down Expand Up @@ -2957,11 +2958,21 @@ y = self.layer_stacks(l0_, layer_stack_indices) + (wpsqt - bpsqt) * (us - 0.5)

## Historical Stockfish evaluation network architectures

### "SFNNv8" architecture

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

2023-09-22 - *

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

![](img/SFNNv8_architecture_detailed_v2.svg)

### "SFNNv7" architecture

Same as "SFNNv6" with L1 size increased from 1536 to 2048.
Same as "SFNNv5" with L1 size increased to 2048.

2023-07-01 - *
2023-07-01 - 2023-09-22

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

Expand Down

0 comments on commit c15e33c

Please sign in to comment.