Comments (15)
Oh, hi, sorry : I haven't tried benchmarking KataGo on any of the NVIDIA Jetson products. Suffice to say it's pretty slow overall, just from a human-interaction perspective. BUGOUT offers "KataGo One-Star" mode so that you get a weak play which considers the minimum possible number of positions, but cuts down on the time taken to compute moves.
Cool, thanks!I am having some problems compiling KataGo. So could you possibly share the executable binary and its dependencies(except the cuda libraries)
from bugout.
@Terkwood Thanks for your instructions! I successfully compiled KataGo finally. I tried the latest 40b model, and it worked. But after I set the cudaUseFP16 to be true. It gives errors like these:
terminate called after throwing an instance of
'StringError'
what(): CUDA Error, for getOutput file /home/Dreamkeeper/KataGo/cpp/neuralnet/cudabackend.cpp, func cudaMemcpy(inputBuffers->policyResults, buffers->policyBuf, inputBuffers->singlePolicyResultBytes*batchSize, cudaMemcpyDeviceToHost), line 2921, error the launch timed out and was terminated"
Maybe it's just because of memory issues or something while running 40b model using FP16. Anyways. It works perfectly fine. Thanks again!
from bugout.
from bugout.
I would be more skeptical about BUGOUT's fragile build process (tinybrain/KataGo subsystem) than I would about NVIDIA's new Jetson product ☺
from bugout.
I am optimistic about that even though I don't own one...
…
Thanks! Btw, what's the size of model you are running katago with? Is it 20b or 40b?
from bugout.
The 20b! Model is a little bit outdated. I had tried an upgrade but encountered some instability for whatever reason
from bugout.
Line 8 in 5279439
The model file is specified here
from bugout.
The 20b! Model is a little bit outdated. I had tried an upgrade but encountered some instability for whatever reason
So what's the benchmark for 20b?
from bugout.
???
from bugout.
Oh, hi, sorry : I haven't tried benchmarking KataGo on any of the NVIDIA Jetson products. Suffice to say it's pretty slow overall, just from a human-interaction perspective. BUGOUT offers "KataGo One-Star" mode so that you get a weak play which considers the minimum possible number of positions, but cuts down on the time taken to compute moves.
from bugout.
Here is the katago binary. I'll post the specific neural net that I'm currently using also (my uploads are slow please bear with me)
https://github.com/Terkwood/BUGOUT/releases/download/v1.4.1/katago
from bugout.
And here's the net: https://github.com/Terkwood/BUGOUT/releases/download/v1.4.1/g170e-b20c256x2-s2430231552-d525879064.bin.gz
Hopefully you can compile tinybrain
without major difficulty. When you start that application, it'll look for the katago
bin and the net in its current working directory.
You can experiment with downloading other , more recent nets from the katago Github, but I have no idea if they'll behave within BUGOUT. If you do that, you need to update a .env
file in the same directory as the tinybrain
binary to point to a different net:
MODEL_FILE="g170e-b20--snip--.bin.gz"
There are some notes in https://github.com/Terkwood/BUGOUT/blob/unstable/tinybrain/README.md which may be of use during this effort (or which may just confuse you)
from bugout.
Here is the katago binary. I'll post the specific neural net that I'm currently using also (my uploads are slow please bear with me)
https://github.com/Terkwood/BUGOUT/releases/download/v1.4.1/katago
Thanks! Actually I am having problems installing the dependencies. Could you please also include the dependent libraries as well (e.g. libssl.so, libstdc++.so, libc.so, ......) which could be seen via ldd katago
.
from bugout.
Some of those should be installable via (eg)
sudo apt install zlib1g-dev libzip-dev libboost-filesystem-dev
sudo apt install libgoogle-perftools-dev # for TCMALLOC
See https://github.com/Terkwood/BUGOUT/blob/unstable/tinybrain/README.md#build-steps
But you're on your own for tracking down the rest of the deps that aren't covered in those notes. Good luck!
from bugout.
Very nice! I'm glad you were able to succeed. At some point I might look into purchasing one of these and setting up a way to distribute move requests across multiple Nanos. Having the new model in the mix would be fun. 😁
from bugout.
Related Issues (20)
- botlink: liveness check on tinybrain connection HOT 1
- Browser sometimes spams make move commands after UNDO
- trim dead sabaki enginesyncer undo code HOT 1
- browser: remove ContentDisplay.js HOT 1
- Subtle failure in UNDO HOT 5
- Implement sorted streams
- tinybrain ... just stops ?
- Simplify Redis Streams usage
- Bring back game lobby unit test
- Delete Redis conn pool
- 🔥 🗑 tinybrain stops responding without any errors logged HOT 1
- Be explicit when KataGo is offline
- Please wait while we reestablish internet communication HOT 32
- Swap robust-websocket for reconnecting-websocket HOT 1
- Investigate latency effect on websocket HOT 1
- Localization planning ticket
- Repeat move always hangs UNDO HOT 1
- Tinybrain AI is not making any moves HOT 8
- browser run watch & build report no loaders error HOT 3
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 bugout.