Script to run Katago kyu rank bots via gtp (in Sabaki)

For discussing go computing, software announcements, etc.
Post Reply
go4thewin
Lives with ko
Posts: 150
Joined: Thu Jan 23, 2020 6:09 am
Rank: 25 kyu
GD Posts: 0
Has thanked: 200 times
Been thanked: 30 times

Script to run Katago kyu rank bots via gtp (in Sabaki)

Post by go4thewin »

ai2gtp.py - https://github.com/sanderland/katrain-bots https://github.com/bale-go/katrain-bots
I asked someone on reddit and this is how they said they did it. Does it work for anyone? very interested in testing the 6b net around kyu rank 10 and stronger.
reddit-
I had katago installed via homebrew (brew install katago).
Cloned https://github.com/sanderland and edited the configuration a bit in ai2gtp.py:

AI_SIMPLE_OWNERSHIP = False ENGINE_SETTINGS = { "katago": "/usr/local/bin/katago", "model": "/path/to/katago/network.bin.gz", "config": "/path/to/katago/config.cfg", "threads": "6", "max_visits": 5, "max_time": 5.0, "_enable_ownership": ai_strategy in [AI_SIMPLE_OWNERSHIP], "altcommand": "" }

Added "ai2gtp.py 14k" as an engine in Sabaki settings (see bot_strategies enumeration in settings.py).

Maybe there were a few other small things, I don't remember.
-------
Post Reply