Coder Social home page Coder Social logo

Add NNUE Eval for fsf about botli HOT 23 CLOSED

torom avatar torom commented on September 17, 2024
Add NNUE Eval for fsf

from botli.

Comments (23)

Torom avatar Torom commented on September 17, 2024

Download the NNUEs from here: https://fairy-stockfish.github.io/nnue/#current-best-nnue-networks, put them next to the engine and adjust the uci_options of the variant engine accordingly: https://github.com/ianfab/Fairy-Stockfish/wiki/Settings#evalfile

from botli.

FatFritz2 avatar FatFritz2 commented on September 17, 2024

Ok let me see what would happen
Can I download multiple nnues and add it next to the engine and adjust uci_options?
Because i am running the bot on Heroku

from botli.

FatFritz2 avatar FatFritz2 commented on September 17, 2024

Does this work on Heroku i mean ?

from botli.

Torom avatar Torom commented on September 17, 2024

I guess so, why don't you just give it a try?

from botli.

FatFritz2 avatar FatFritz2 commented on September 17, 2024

Uh ok let me try one and if works i will report to u

from botli.

FatFritz2 avatar FatFritz2 commented on September 17, 2024

Uh where should I place those NNUE files:
Directly on BotLi or in engines folder???

from botli.

Torom avatar Torom commented on September 17, 2024

Download the NNUEs from here: https://fairy-stockfish.github.io/nnue/#current-best-nnue-networks, put them next to the engine and adjust the uci_options of the variant engine accordingly: https://github.com/ianfab/Fairy-Stockfish/wiki/Settings#evalfile

So in the engines folder.

from botli.

FatFritz2 avatar FatFritz2 commented on September 17, 2024

Oh thanks, I see no engines right there so is it fine to put it there?

from botli.

FatFritz2 avatar FatFritz2 commented on September 17, 2024

What I can't add those files. Its way too heavy

from botli.

Torom avatar Torom commented on September 17, 2024

I originally meant that you download the NNUEs in the Dockerfile. But you can also upload them to your repo.

from botli.

FatFritz2 avatar FatFritz2 commented on September 17, 2024

I can't upload it . Cuz its way too Heavy. Github does not allow me to upload all those files :(

from botli.

Torom avatar Torom commented on September 17, 2024

Add this to your Dockerfile:

RUN wget "https://drive.google.com/u/0/uc?id=1r5o5jboZRqND8picxuAbA0VXXMJM1HuS&export=download" -O engines/3check-313cc226a173.nnue

RUN wget "https://drive.google.com/u/0/uc?id=1SBLSmQmfrsxFHa3ntAhfYXyL3CoVSSL2&export=download" -O engines/antichess-689c016df8e0.nnue

RUN wget "https://drive.google.com/u/0/uc?id=14CYA7qV1Jsh5g-lpg46-tz9Whp8zN0aI&export=download" -O engines/atomic-e801e22d2c32.nnue

RUN wget "https://drive.google.com/u/0/uc?id=168vawXrj2fEeRSLuWaL2pB7GXgQelE-c&export=download" -O engines/crazyhouse-be2e41920378.nnue

RUN wget "https://drive.google.com/u/0/uc?id=16BQztGqFIS1n_dYtmdfFVE2EexF-KagX&export=download" -O engines/horde-28173ddccabe.nnue

RUN wget "https://drive.google.com/u/0/uc?id=1x25r_1PgB5XqttkfR494M4rseiIm0BAV&export=download" -O engines/kingofthehill-978b86d0e6a4.nnue

RUN wget "https://drive.google.com/u/0/uc?id=1Tiq8FqSu7eiekE2iaWQzSdJPg-mhvLzJ&export=download" -O engines/racingkings-636b95f085e3.nnue

And this to your uci_options of the variant engine:

EvalFile: "3check-313cc226a173.nnue:antichess-689c016df8e0.nnue:atomic-e801e22d2c32.nnue:crazyhouse-be2e41920378.nnue:horde-28173ddccabe.nnue:kingofthehill-978b86d0e6a4.nnue:racingkings-636b95f085e3.nnue"

from botli.

FatFritz2 avatar FatFritz2 commented on September 17, 2024

Thanks A lot

from botli.

FatFritz2 avatar FatFritz2 commented on September 17, 2024

OMG YAY IT WORKS THANKS A LOT
I guess my bot would be much better now

from botli.

FatFritz2 avatar FatFritz2 commented on September 17, 2024

Btw after adding,Heroku stated those lines:
2022-08-05T17:08:18.050083+00:00 heroku[worker.1]: Process running mem=538M(105.1%)
2022-08-05T17:08:18.051817+00:00 heroku[worker.1]: Error R14 (Memory quota exceeded)
2022-08-05T17:08:38.162694+00:00 heroku[worker.1]: Process running mem=538M(105.2%)
2022-08-05T17:08:38.164575+00:00 heroku[worker.1]: Error R14 (Memory quota exceeded)
2022-08-05T17:08:59.517992+00:00 heroku[worker.1]: Process running mem=539M(105.4%)
2022-08-05T17:08:59.526197+00:00 heroku[worker.1]: Error R14 (Memory quota exceeded)
And can I ask u can I add multiple NNUE files for stockfish and do i need to use Use NNUE: true for fsf?

from botli.

Torom avatar Torom commented on September 17, 2024

That is interesting, probably fairy-stockfish loads all NNUEs at once, and that is then too much for Heroku. You can reduce the Hash of fairy-stockfish even more, with the few nps it doesn't need much hash, I'm sure 128 are enough too.

from botli.

FatFritz2 avatar FatFritz2 commented on September 17, 2024

Oh let me see then

from botli.

FatFritz2 avatar FatFritz2 commented on September 17, 2024

Do I need to use Use NNUE: true function?

from botli.

Torom avatar Torom commented on September 17, 2024

No, True is the default.

from botli.

FatFritz2 avatar FatFritz2 commented on September 17, 2024

Ah ok I got it now thanks

from botli.

FatFritz2 avatar FatFritz2 commented on September 17, 2024

Btw, can you help me figuring nnue files with the stockfish build pls

from botli.

Torom avatar Torom commented on September 17, 2024

Btw, can you help me figuring nnue files with the stockfish build pls

No.

from botli.

FatFritz2 avatar FatFritz2 commented on September 17, 2024

oh fine anyway thanks for helping me have a good night :D

from botli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.