SF PB (Stockfish)

Post Reply
User avatar
Skynet
Posts: 196
Joined: Fri May 19, 2023 2:30 pm
Location: Home
Has thanked: 1055 times
Been thanked: 709 times

SF PB (Stockfish)

Post by Skynet »

Stockfish PB is a regular SF engine with only one difference, it can handle one or two opening books (.bin) format. It is similar to Stockfish Polyglot by Massimiliano.
SF PB 200523_64 bit, updated till "Small simplification in low depth pruning".
https://pixeldrain.com/u/vdVn3f9T
User avatar
Skynet
Posts: 196
Joined: Fri May 19, 2023 2:30 pm
Location: Home
Has thanked: 1055 times
Been thanked: 709 times

Re: SF PB (Stockfish)

Post by Skynet »

SF-PB-190623 "Compressed network parameters." :music-listening:
https://pixeldrain.com/u/LRAmrBvS
User avatar
Skynet
Posts: 196
Joined: Fri May 19, 2023 2:30 pm
Location: Home
Has thanked: 1055 times
Been thanked: 709 times

Re: SF PB (Stockfish)

Post by Skynet »

SF PB 220623_x64 "Update default net to nn-5af11540bbfe.nnue"
Hidden Content
This board requires you to be registered and logged-in to view hidden content.
User avatar
Skynet
Posts: 196
Joined: Fri May 19, 2023 2:30 pm
Location: Home
Has thanked: 1055 times
Been thanked: 709 times

Re: SF PB (Stockfish)

Post by Skynet »

SF-PB-16 :beer:
Hidden Content
This board requires you to be registered and logged-in to view hidden content.
User avatar
Skynet
Posts: 196
Joined: Fri May 19, 2023 2:30 pm
Location: Home
Has thanked: 1055 times
Been thanked: 709 times

Re: SF PB (Stockfish)

Post by Skynet »

SF-PB-110723_x64 "Simplify PvNode reduction" https://github.com/official-stockfish/S ... b5d6fab80a
Hidden Content
This board requires you to be registered and logged-in to view hidden content.

Hmm, once again the AVX is faster than AVX2. :shock:
Image
Btw, i wanted to compile the latest version "Remove classical evaluation" (120723), but there is a big regression -2 elo, now we need to wait till this 2 elo will be gained, plus extra patches with extra elo. :confusion-questionmarks:
STC https://tests.stockfishchess.org/tests/ ... a549c52157
LTC https://tests.stockfishchess.org/tests/ ... a549c5215b
VLTC https://tests.stockfishchess.org/tests/ ... a549c52168
User avatar
Adrian Oliva
Posts: 266
Joined: Sat Jun 24, 2023 4:11 pm
Has thanked: 1985 times
Been thanked: 1670 times

Re: SF PB (Stockfish)

Post by Adrian Oliva »

Hi Alex! thanks for the update. Which version do you think is better than trying AVX or AVX2? :roll: Greetings
User avatar
Skynet
Posts: 196
Joined: Fri May 19, 2023 2:30 pm
Location: Home
Has thanked: 1055 times
Been thanked: 709 times

Re: SF PB (Stockfish)

Post by Skynet »

Adrian Oliva wrote: Wed Jul 12, 2023 1:45 am Hi Alex! thanks for the update. Which version do you think is better than trying AVX or AVX2? :roll: Greetings
Hi Adrian, there is no such a big difference but i would say AVX. :techie-typing:
User avatar
massimilianogoi
Site Admin
Posts: 396
Joined: Thu Aug 04, 2022 1:42 pm
Has thanked: 604 times
Been thanked: 648 times
Contact:

Re: SF PB (Stockfish)

Post by massimilianogoi »

I'm pretty sure you already know this is strictly bound to your personal CPU.

Code: Select all

CPUs with AVX
Edit
Intel
Sandy Bridge processors, Q1 2011[9]
Sandy Bridge E processors, Q4 2011[10]
Ivy Bridge processors, Q1 2012
Ivy Bridge E processors, Q3 2013
Haswell processors, Q2 2013
Haswell E processors, Q3 2014
Broadwell processors, Q4 2014
Skylake processors, Q3 2015
Broadwell E processors, Q2 2016
Kaby Lake processors, Q3 2016 (ULV mobile)/Q1 2017 (desktop/mobile)
Skylake-X processors, Q2 2017
Coffee Lake processors, Q4 2017
Cannon Lake processors, Q2 2018
Whiskey Lake processors, Q3 2018
Cascade Lake processors, Q4 2018
Ice Lake processors, Q3 2019
Comet Lake processors (only Core and Xeon branded), Q3 2019
Tiger Lake (Core, Pentium and Celeron branded[11]) processors, Q3 2020
Rocket Lake processors, Q1 2021
Alder Lake (Xeon, Core, Pentium and Celeron branded) processors, Q4 2021. Supported both in Golden Cove P-cores and Gracemont E-cores.
Raptor Lake processors, Q4 2022
Sapphire Rapids processors, Q1 2023
Meteor Lake processors
Arrow Lake processors
Lunar Lake processors
Not all CPUs from the listed families support AVX. Generally, CPUs with the commercial denomination Core i3/i5/i7/i9 support them, whereas Pentium and Celeron CPUs before Tiger Lake[12] do not.

AMD:
Jaguar-based processors and newer
Puma-based processors and newer
"Heavy Equipment" processors
Bulldozer-based processors, Q4 2011[13]
Piledriver-based processors, Q4 2012[14]
Steamroller-based processors, Q1 2014
Excavator-based processors and newer, 2015
Zen-based processors, Q1 2017
Zen+-based processors, Q2 2018
Zen 2-based processors, Q3 2019
Zen 3 processors, Q4 2020
Zen 4 processors, Q4 2022

Code: Select all

CPUs with AVX2
Edit
Intel
Haswell processors (only Core and Xeon branded), Q2 2013
Haswell E processors, Q3 2014
Broadwell processors, Q4 2014
Broadwell E processors, Q3 2016
Skylake processors, Q3 2015
Kaby Lake processors, Q3 2016 (ULV mobile)/Q1 2017 (desktop/mobile)
Skylake-X processors, Q2 2017
Coffee Lake processors, Q4 2017
Cannon Lake processors, Q2 2018
Cascade Lake processors, Q2 2019
Ice Lake processors, Q3 2019
Comet Lake processors, Q3 2019
Tiger Lake (Core, Pentium and Celeron branded[11]) processors, Q3 2020
Rocket Lake processors, Q1 2021
Alder Lake (Xeon, Core, Pentium and Celeron branded[11]) processors, Q4 2021. Supported both in Golden Cove P-cores and Gracemont E-cores.
Raptor Lake processors, Q4 2022
Sapphire Rapids processors, Q1 2023
Meteor Lake processors
Arrow Lake processors
Lunar Lake processors
AMD
Excavator processor and newer, Q2 2015
Zen processors, Q1 2017
Zen+ processors, Q2 2018
Zen 2 processors, Q3 2019
Zen 3 processors, Q4 2020
Zen 4 processors, Q4 2022
Depending on the single CPU architecture, AVX should work better or worster. I guess the newer the CPU, the better the AVX2 instructuons set works.
Skynet wrote: Tue Jul 11, 2023 11:49 pm SF-PB-110723_x64 "Simplify PvNode reduction" https://github.com/official-stockfish/S ... b5d6fab80a
Hidden Content
This board requires you to be registered and logged-in to view hidden content.

Hmm, once again the AVX is faster than AVX2. :shock:
Image
Btw, i wanted to compile the latest version "Remove classical evaluation" (120723), but there is a big regression -2 elo, now we need to wait till this 2 elo will be gained, plus extra patches with extra elo. :confusion-questionmarks:
STC https://tests.stockfishchess.org/tests/ ... a549c52157
LTC https://tests.stockfishchess.org/tests/ ... a549c5215b
VLTC https://tests.stockfishchess.org/tests/ ... a549c52168
People who have lost the hope.
User avatar
Skynet
Posts: 196
Joined: Fri May 19, 2023 2:30 pm
Location: Home
Has thanked: 1055 times
Been thanked: 709 times

Re: SF PB (Stockfish)

Post by Skynet »

massimilianogoi wrote: Wed Jul 12, 2023 2:11 pm I'm pretty sure you already know this is strictly bound to your personal CPU.

Code: Select all

CPUs with AVX
Edit
Intel
Sandy Bridge processors, Q1 2011[9]
Sandy Bridge E processors, Q4 2011[10]
Ivy Bridge processors, Q1 2012
Ivy Bridge E processors, Q3 2013
Haswell processors, Q2 2013
Haswell E processors, Q3 2014
Broadwell processors, Q4 2014
Skylake processors, Q3 2015
Broadwell E processors, Q2 2016
Kaby Lake processors, Q3 2016 (ULV mobile)/Q1 2017 (desktop/mobile)
Skylake-X processors, Q2 2017
Coffee Lake processors, Q4 2017
Cannon Lake processors, Q2 2018
Whiskey Lake processors, Q3 2018
Cascade Lake processors, Q4 2018
Ice Lake processors, Q3 2019
Comet Lake processors (only Core and Xeon branded), Q3 2019
Tiger Lake (Core, Pentium and Celeron branded[11]) processors, Q3 2020
Rocket Lake processors, Q1 2021
Alder Lake (Xeon, Core, Pentium and Celeron branded) processors, Q4 2021. Supported both in Golden Cove P-cores and Gracemont E-cores.
Raptor Lake processors, Q4 2022
Sapphire Rapids processors, Q1 2023
Meteor Lake processors
Arrow Lake processors
Lunar Lake processors
Not all CPUs from the listed families support AVX. Generally, CPUs with the commercial denomination Core i3/i5/i7/i9 support them, whereas Pentium and Celeron CPUs before Tiger Lake[12] do not.

AMD:
Jaguar-based processors and newer
Puma-based processors and newer
"Heavy Equipment" processors
Bulldozer-based processors, Q4 2011[13]
Piledriver-based processors, Q4 2012[14]
Steamroller-based processors, Q1 2014
Excavator-based processors and newer, 2015
Zen-based processors, Q1 2017
Zen+-based processors, Q2 2018
Zen 2-based processors, Q3 2019
Zen 3 processors, Q4 2020
Zen 4 processors, Q4 2022

Code: Select all

CPUs with AVX2
Edit
Intel
Haswell processors (only Core and Xeon branded), Q2 2013
Haswell E processors, Q3 2014
Broadwell processors, Q4 2014
Broadwell E processors, Q3 2016
Skylake processors, Q3 2015
Kaby Lake processors, Q3 2016 (ULV mobile)/Q1 2017 (desktop/mobile)
Skylake-X processors, Q2 2017
Coffee Lake processors, Q4 2017
Cannon Lake processors, Q2 2018
Cascade Lake processors, Q2 2019
Ice Lake processors, Q3 2019
Comet Lake processors, Q3 2019
Tiger Lake (Core, Pentium and Celeron branded[11]) processors, Q3 2020
Rocket Lake processors, Q1 2021
Alder Lake (Xeon, Core, Pentium and Celeron branded[11]) processors, Q4 2021. Supported both in Golden Cove P-cores and Gracemont E-cores.
Raptor Lake processors, Q4 2022
Sapphire Rapids processors, Q1 2023
Meteor Lake processors
Arrow Lake processors
Lunar Lake processors
AMD
Excavator processor and newer, Q2 2015
Zen processors, Q1 2017
Zen+ processors, Q2 2018
Zen 2 processors, Q3 2019
Zen 3 processors, Q4 2020
Zen 4 processors, Q4 2022
[/spoiler]

Depending on the single CPU architecture, AVX should work better or worster. I guess the newer the CPU, the better the AVX2 instructuons set works.
Well, on my AMD Ryzen 7 1800X, 8 cores / 16 threads, all kind of architectures supported except the newest avx512, vnni512 and vnni256. And after i did some tests it seems that AVX is better, it doesn't matter what CPU you have, only tests can verify which version is better - normally for my PC AVX2 was always better (and recommended), till the last 2 versions that i compiled. :roll:
User avatar
massimilianogoi
Site Admin
Posts: 396
Joined: Thu Aug 04, 2022 1:42 pm
Has thanked: 604 times
Been thanked: 648 times
Contact:

Re: SF PB (Stockfish)

Post by massimilianogoi »

Strange... something messy in the Makefile?
Skynet wrote: Wed Jul 12, 2023 4:13 pm Well, on my AMD Ryzen 7 1800X, 8 cores / 16 threads, all kind of architectures supported except the newest avx512, vnni512 and vnni256. And after i did some tests it seems that AVX is better, it doesn't matter what CPU you have, only tests can verify which version is better - normally for my PC AVX2 was always better (and recommended), till the last 2 versions that i compiled. :roll:
People who have lost the hope.
Post Reply