Skip to content
Merged
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
20 changes: 3 additions & 17 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,12 @@ FILE(GLOB HDRFILES ${PROJECT_SOURCE_DIR}/src/*.h)

FILE(GLOB FATHOM_SRCFILES ${PROJECT_SOURCE_DIR}/src/fathom/*.cpp)
FILE(GLOB FATHOM_HDRFILES ${PROJECT_SOURCE_DIR}/src/fathom/*.h)

IF (DEFINED EVAL_NNUE)
ADD_DEFINITIONS(-DEVAL_NNUE=${EVAL_NNUE})
FILE(GLOB_RECURSE NNUE_SRCFILES ${PROJECT_SOURCE_DIR}/src/nnue/*.cpp)
FILE(GLOB_RECURSE NNUE_HDRFILES ${PROJECT_SOURCE_DIR}/src/nnue/*.h)
FILE(GLOB INCBIN_HDRFILES ${PROJECT_SOURCE_DIR}/src/incbin/*.h)
ENDIF()
FILE(GLOB INCBIN_HDRFILES ${PROJECT_SOURCE_DIR}/src/incbin/*.h)

IF (DEFINED EVALFILE)
ADD_DEFINITIONS(-DEVALFILE=\"${EVALFILE}\")
ENDIF()

IF (DEFINED USE_NEON)
ADD_DEFINITIONS(-DUSE_NEON=${USE_NEON})
ENDIF()

IF (DEFINED USE_PEXT)
ADD_DEFINITIONS(-DUSE_PEXT=${USE_PEXT})
ENDIF()
Expand All @@ -35,10 +25,6 @@ IF (DEFINED USE_AVX2)
ADD_DEFINITIONS(-DUSE_AVX2=${USE_AVX2})
ENDIF()

IF (DEFINED USE_AVX512)
ADD_DEFINITIONS(-DUSE_AVX512=${USE_AVX512})
ENDIF()

IF (DEFINED _BTYPE)
ADD_DEFINITIONS(-D_BTYPE=${_BTYPE})
IF (UNIX)
Expand Down Expand Up @@ -76,7 +62,7 @@ IF (DEFINED _MAKE_UNIT_TEST)
ELSE()
IF (UNIX)
ADD_DEFINITIONS(-DNDEBUG)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror -O3 -march=native -flto -pthread")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror -O3 -march=native -flto -pthread -mavx2")
ENDIF (UNIX)
ADD_EXECUTABLE(igel ${SRCFILES} ${HDRFILES} ${FATHOM_SRCFILES} ${FATHOM_HDRFILES} ${NNUE_SRCFILES} ${NNUE_HDRFILES} ${INCBIN_HDRFILES})
ADD_EXECUTABLE(igel ${SRCFILES} ${HDRFILES} ${FATHOM_SRCFILES} ${FATHOM_HDRFILES} ${INCBIN_HDRFILES})
ENDIF()
21 changes: 11 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ In June 2020 Igel was invited by Andrew Grant to participate in OpenBench testin

In October 2020 first Igel Generation Networks were introduced seeing participation of Igel in TCEC Cup7 and TCEC Season 20 and released later with Igel 2.9.0.

In January 2023 last bits of HCE code were removed from Igel and the evaluation is mostly based on NNUE as of Igel 3.3.0.

### Igel Generation Networks (IGN)

In late 2020 there have been a lot of discussions in the chess community about NNUE techology in general and NNUE networks in particular raising important questions about authenticity of networks.
Expand All @@ -40,14 +42,13 @@ The IGN networks comply with the following mandatory requirements:

5. Each generation of network must contain information (on github page) on training parameters for clarity of the source of data

6. Complete source data of network may be given to tournament organizers for validation purposes and it must be possible for external parties to train the network from scratch using the provided data to the same strength as submitted network (margin of +-10 elo)

**Technical details**

| Generation | Architecture | Source of data | Quantity | Type | Best network |
| ------------- | ------------------ | ---------------------------------- | ----------------- | -------------- | -------------- |
| ign-0 | halfkp_256x2-32-32 | Igel 2.6.0 | 2.3b d8, 500m d12 | HCE | ign-0-9b1937cc |
| ign-1 | halfkp_256x2-32-32 | Igel 2.6.0, Igel 2.9.0, Igel 3.0.0 | 12b d8, 1b d12 | HCE, NNUE | ign-1-3e998e78 |
| Generation | Architecture | Source of data | Quantity | Type | Best network |
| ------------- | ---------------------| ---------------------------------- | ----------------- | -------------- | -------------- |
| ign-0 | halfkp_256x2-32-32 | Igel 2.6.0 | 2.3b d8, 500m d12 | HCE | ign-0-9b1937cc |
| ign-1 | halfkp_256x2-32-32 | Igel 2.6.0, Igel 2.9.0, Igel 3.0.0 | 12b d8, 1b d12 | HCE, NNUE | ign-1-9a48854b |
| ign-2 | halfkav2_512x2-16-32 | Igels as of 2.9.0 | d5+d8+d16 >30b | NNUE | ign-2-51ba2968 |

### Acknowledgements

Expand Down Expand Up @@ -76,7 +77,7 @@ Using cmake/Visual Studio 2022:
git clone https://github.com/vshcherbyna/igel.git ./igel
cd igel
git submodule update --init --recursive
cmake -DEVAL_NNUE=1 -DUSE_AVX2=1 -D_BTYPE=1 -DSYZYGY_SUPPORT=TRUE -G "Visual Studio 17 2022" -A x64 .
cmake -DUSE_AVX2=1 -D_BTYPE=1 -DSYZYGY_SUPPORT=TRUE -G "Visual Studio 17 2022" -A x64 .
```

Using cmake/gcc:
Expand All @@ -85,8 +86,8 @@ Using cmake/gcc:
git clone https://github.com/vshcherbyna/igel.git ./igel
cd igel
git submodule update --init --recursive
wget https://github.com/vshcherbyna/igel/releases/download/3.2.0/ign-1-9a48854b -O ./network_file
cmake -DEVALFILE=network_file -DEVAL_NNUE=1 -DUSE_PEXT=1 -DUSE_AVX2=1 -D_BTYPE=1 -DSYZYGY_SUPPORT=TRUE .
wget https://github.com/vshcherbyna/igel/releases/download/3.3.0/ign-2-51ba2968 -O ./network_file
cmake -DEVALFILE=network_file -DUSE_PEXT=1 -DUSE_AVX2=1 -D_BTYPE=1 -DSYZYGY_SUPPORT=TRUE .
make -j
```

Expand All @@ -108,4 +109,4 @@ It is also possible to compile using gcc and a traditional makefile, please cons

### Donation

Thank you so much for supporting Igel's development and training via [PayPal](https://www.paypal.com/donate/?hosted_button_id=37NPEAY9XLRJE).
Thank you so much for supporting Igel's development and training via [![Paypal](https://raw.githubusercontent.com/vshcherbyna/igel/master/paypal3.jpg)](https://www.paypal.com/donate/?hosted_button_id=37NPEAY9XLRJE).
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ before_build:
- git submodule update --init --recursive

build_script:
- cmake -D_BTYPE=1 -G "Visual Studio 17 2022" .
- cmake -DUSE_AVX2=1 -D_BTYPE=1 -G "Visual Studio 17 2022" .
- cmake --build . --target ALL_BUILD --config %CONFIGURATION%
- cmake -D_MAKE_UNIT_TEST=UNIT_TEST -D_BTYPE=1 -G "Visual Studio 17 2022" .
- cmake -D_MAKE_UNIT_TEST=UNIT_TEST -D_BTYPE=1 -DUSE_AVX2=1 -G "Visual Studio 17 2022" .
- cmake --build . --target ALL_BUILD --config %CONFIGURATION%
- .\%CONFIGURATION%\unit.exe
7 changes: 7 additions & 0 deletions history.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ Igel - open source chess engine forked from GreKo 2018.01.
(c) 2002-2018 Vladimir Medvedev <vrm@bk.ru> (GreKo author)
(c) 2018-2023 Volodymyr Shcherbyna <volodymyr@shcherbyna.com>

Igel 3.3.0
-------------
15-Jan-2023

- new network architecture
- new network ign-2-51ba2968

Igel 3.2.0
-------------
17-Dec-2022
Expand Down
Binary file added paypal3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading