Comments (4)
What are you setting nnMaxBatchSize to?
from katago.
It is the default value 32.
Sorry, since I always use the default nnMaxBatchSize value in gtp_example.cfg, I neglected to adjust this value in match.
I noticed that the recommended nnMaxBatchSize value in GTP is (numSearchThreads / numNNServerThreadsPerModel), so I guess the recommended value is 288/3=96 in my settings?
from katago.
I tried to adjust nnMaxBatchSize from 32 to 96 with the first form, however it seems that it is still ~10% slower than the second form with nnMaxBatchSize 32.
from katago.
That's interesting!
- What happens if you use only 1x4090 instead of 3x4090?
- What happens if you run a different number of games in parallel than 288?
- Do you have any GPUs other than 4090 that you can test this on?
- What happens if you run only 1 game at a time, but that game has a large number of search threads?
It wouldn't be appropriate to make this a general recommendation, and definitely not appropriate to modify the code to do it automatically, if we can't understand how general this is and what causes it. I think we probably wouldn't modify the code to do it automatically regardless, because loading the model multiple times on the GPU takes extra memory, which might not be suitable for some users. But it would still be interesting to learn more about this.
from katago.
Related Issues (20)
- Question about mapping between moveInfo and analyzeTurns HOT 2
- Question about rootInfo and ownership HOT 4
- Please tell me how much stronger 18b is than 40b HOT 1
- Have you tested 40b What is the corresponding human chess power with different amounts of calculation, on the 19-way and 11-way chessboards
- Please tell me how to load 40b weights with the latest katago engine 1.14 and load 40b weights with engine 1.13. Is there any difference between chess strength or chess?
- Possible bug: GPU may be triggered by accident while using Eigen backend HOT 3
- does katago cuda version run with zluda?
- openclUseFP16 testing not works well on AMD-Integrated GPU (Using OpenCL Device 0: gfx90c (Advanced Micro Devices, Inc.) ) HOT 2
- Interface for a custom algorithm to play as a bot HOT 8
- Katago model preference for Go beginner HOT 16
- Try Gemma.cpp to explain the meaning of each move HOT 3
- error CL_OUT_OF_RESOURCES when launching ./katago benchmark
- Can't compile for OpenCL 1.2 HOT 3
- FATAL ERROR: Failed test assert: buf.result->policyProbs[buf.result->getPos(Location::ofString("E16",board),board)] >= 0.95 HOT 2
- ERROR: task loop loop thread failed: Got nonfinite for policy sum HOT 11
- Scoring bug HOT 2
- Unable to compile - error: invalid conversion from ‘float**’ to ‘void**’
- Pytorch load model from tensorflow .ckpt and play: Mismatch and Performance Issue with b18c384nbt model_pytorch and Checkpoint File HOT 2
- How is distributed training implemented in KataGo? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from katago.