chessforyou Bettina&Terry77
chessforyou Bettina&Terry77
chessforyou Bettina&Terry77
Would you like to react to this message? Create an account in a few clicks or log in to continue.

chessforyou Bettina&Terry77


 
HomeLatest imagesRegisterLog in
WELCOME TO FORUM OF Angels77 * named in memory of Bettina & Terry
Search
 
 

Display results as :
 
Rechercher Advanced Search
Search
 
 

Display results as :
 
Rechercher Advanced Search
Latest topics
»  Update default main net to nn-1cedc0ffeeee.nnue
Latest abrok Development Version August 20th     (SF The gift that keeps on giving ) EmptyThu Oct 31, 2024 3:31 pm by LondonFrau

» ShashChess 36
Latest abrok Development Version August 20th     (SF The gift that keeps on giving ) EmptyFri Oct 18, 2024 1:59 pm by theropodes

» Latest abrok Development Version October 4th (SF The gift that keeps on giving
Latest abrok Development Version August 20th     (SF The gift that keeps on giving ) EmptyFri Oct 04, 2024 2:26 pm by LondonFrau

» Latest abrok Development Version Setpember 17th (SF The gift that keeps on giving
Latest abrok Development Version August 20th     (SF The gift that keeps on giving ) EmptyWed Sep 18, 2024 4:19 pm by LondonFrau

» Latest abrok Development Version Setpember 9th (SF The gift that keeps on giving
Latest abrok Development Version August 20th     (SF The gift that keeps on giving ) EmptyTue Sep 10, 2024 2:58 pm by LondonFrau

» Stockfish 17 is available
Latest abrok Development Version August 20th     (SF The gift that keeps on giving ) EmptyFri Sep 06, 2024 4:40 pm by theropodes

» Latest abrok Development Version August 20th (SF The gift that keeps on giving
Latest abrok Development Version August 20th     (SF The gift that keeps on giving ) EmptySat Aug 24, 2024 12:15 pm by LondonFrau

» Eman 9.40
Latest abrok Development Version August 20th     (SF The gift that keeps on giving ) EmptySat Aug 03, 2024 12:58 pm by deeds

» Update default main net to nn-31337bea577c.nnue Latest abrok Development Version July 23 rd (SF The gift that keeps on giving
Latest abrok Development Version August 20th     (SF The gift that keeps on giving ) EmptyTue Jul 23, 2024 9:04 pm by LondonFrau

Latest topics
»  Update default main net to nn-1cedc0ffeeee.nnue
Latest abrok Development Version August 20th     (SF The gift that keeps on giving ) EmptyThu Oct 31, 2024 3:31 pm by LondonFrau

» ShashChess 36
Latest abrok Development Version August 20th     (SF The gift that keeps on giving ) EmptyFri Oct 18, 2024 1:59 pm by theropodes

» Latest abrok Development Version October 4th (SF The gift that keeps on giving
Latest abrok Development Version August 20th     (SF The gift that keeps on giving ) EmptyFri Oct 04, 2024 2:26 pm by LondonFrau

» Latest abrok Development Version Setpember 17th (SF The gift that keeps on giving
Latest abrok Development Version August 20th     (SF The gift that keeps on giving ) EmptyWed Sep 18, 2024 4:19 pm by LondonFrau

» Latest abrok Development Version Setpember 9th (SF The gift that keeps on giving
Latest abrok Development Version August 20th     (SF The gift that keeps on giving ) EmptyTue Sep 10, 2024 2:58 pm by LondonFrau

» Stockfish 17 is available
Latest abrok Development Version August 20th     (SF The gift that keeps on giving ) EmptyFri Sep 06, 2024 4:40 pm by theropodes

» Latest abrok Development Version August 20th (SF The gift that keeps on giving
Latest abrok Development Version August 20th     (SF The gift that keeps on giving ) EmptySat Aug 24, 2024 12:15 pm by LondonFrau

» Eman 9.40
Latest abrok Development Version August 20th     (SF The gift that keeps on giving ) EmptySat Aug 03, 2024 12:58 pm by deeds

» Update default main net to nn-31337bea577c.nnue Latest abrok Development Version July 23 rd (SF The gift that keeps on giving
Latest abrok Development Version August 20th     (SF The gift that keeps on giving ) EmptyTue Jul 23, 2024 9:04 pm by LondonFrau

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Forum
Forum
Affiliates
free forum
 


Affiliates
free forum
 



 

 Latest abrok Development Version August 20th (SF The gift that keeps on giving )

Go down 
AuthorMessage
"B"
Admin
Admin
Latest abrok Development Version August 20th     (SF The gift that keeps on giving ) 93-65


Female Posts : 1201
Reputation : 4017
Join date : 2010-01-17
Location : undetermined

Latest abrok Development Version August 20th     (SF The gift that keeps on giving ) Empty
PostSubject: Latest abrok Development Version August 20th (SF The gift that keeps on giving )   Latest abrok Development Version August 20th     (SF The gift that keeps on giving ) EmptyFri Aug 20, 2021 12:50 pm

!! latest version !!


Windows x64 for Haswell CPUs
Windows x64 for modern computers + AVX2
Windows x64 for modern computers
Windows x64 + SSSE3
Windows x64
Windows 32
Linux x64 for Haswell CPUs
Linux x64 for modern computers + AVX2
Linux x64 for modern computers
Linux x64 + SSSE3
Linux x64
Author: Tomasz Sobczyk
Date: Fri Aug 20 08:50:25 2021 +0200
Timestamp: 1629442225

Optimize and tidy up affine transform code.

The new network caused some issues initially due to the very narrow neuron set between the first two FC layers. Necessary changes were hacked together to make it work. This patch is a mature approach to make the affine transform code faster, more readable, and easier to maintain should the layer sizes change again.

The following changes were made:

* ClippedReLU always produces a multiple of 32 outputs. This is about as good of a solution for AffineTransform's SIMD requirements as it can get without a bigger rewrite.

* All self-contained simd helpers are moved to a separate file (simd.h). Inline asm is utilized to work around GCC's issues with code generation and register assignment. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101693, https://godbolt.org/z/da76fY1n7

* AffineTransform has 2 specializations. While it's more lines of code due to the boilerplate, the logic in both is significantly reduced, as these two are impossible to nicely combine into one.
1) The first specialization is for cases when there's >=128 inputs. It uses a different approach to perform the affine transform and can make full use of AVX512 without any edge cases. Furthermore, it has higher theoretical throughput because less loads are needed in the hot path, requiring only a fixed amount of instructions for horizontal additions at the end, which are amortized by the large number of inputs.
2) The second specialization is made to handle smaller layers where performance is still necessary but edge cases need to be handled. AVX512 implementation for this was ommited by mistake, a remnant from the temporary implementation for the new... This could be easily reintroduced if needed. A slightly more detailed description of both implementations is in the code.

Overall it should be a minor speedup, as shown on fishtest:

passed STC:
LLR: 2.96 (-2.94,2.94) <-0.50,2.50>
Total: 51520 W: 4074 L: 3888 D: 43558 Elo +1.25
Ptnml(0-2): 111, 3136, 19097, 3288, 128

and various tests shown in the pull request

closes https://github.com/official-stockfish/Stockfish/pull/3663

No functional change
see source

_________________
looking for Bettina
Back to top Go down
http://chessagame.blogspot.com
 
Latest abrok Development Version August 20th (SF The gift that keeps on giving )
Back to top 
Page 1 of 1
 Similar topics
-
» Latest abrok Development Version August 20th (SF The gift that keeps on giving
» Latest abrok Development Versions August 20th (SF The gift that keeps on giving )
» Latest abrok Development Version November 20th (SF The gift that keeps on giving
» Latest abrok Development Version March 20th (SF The gift that keeps on giving
» Latest abrok Development Version June 20th (SF The gift that keeps on giving

Permissions in this forum:You cannot reply to topics in this forum
chessforyou Bettina&Terry77 :: ENGlNES :: ALL ENGlNES :: ENGlNES & CODES :: Stockfish-
Jump to: