Life In 19x19 http://www.lifein19x19.com/ |
|
KaTrain Command Line Partial Syntax http://www.lifein19x19.com/viewtopic.php?f=18&t=19195 |
Page 1 of 1 |
Author: | RobertJasiek [ Sun Jun 11, 2023 6:02 am ] |
Post subject: | KaTrain Command Line Partial Syntax |
Through trial and error, I have partially reverse-engineered the syntax of KaTrain's General & Engine Settings Override command line. KaTrain for Windows and KataGo OpenCL General Remarks analysis_config.cfg must exist with this or a different file name. Otherwise, copy <path>\analysis_example.cfg to <path>\analysis_config.cfg Tuning will be different from tuning KataGo for a gtp GUI and gtp_custom.cfg After writing the KaTrain Override command line, press Update Settings. Then, in particular, one of the following can happen: - KataGo engine is ready. Playing is possible with GPU load 96~97%. - KaTrain freezes. Kill its process. Restart KaTrain. - KaTrain neither freezes nor applies the settings yet. Close KaTrain. Restart KaTrain. Some names of model files look like <model_name>.gz instead of <model_name>.bin.gz Presumably, an optional parameter is: -override-config homeDataDir=C:\Users\<username>/.katrain KaTrain for KataGo OpenCL, Override Command Line Syntax Code: <path>\<katago_file_name>.exe analysis -model <path>\<model_name>.bin.gz -config <path>\<analysis_file_name>.cfg Example Code: C:\katago\katago.exe analysis -model C:\katago\b18.bin.gz -config C:\katago\analysis_config.cfg KaTrain for KataGo OpenCL, Override Command Line, Paths or File Names with or without Blank(s) Syntax Code: "<path>\<katago_file_name>.exe" analysis -model "<path>\<model_name>.bin.gz" -config "<path>\<analysis_file_name>.cfg" Examples Code: "C:\katago\katago.exe" analysis -model "C:\katago\b18.bin.gz" -config "C:\katago\analysis_config.cfg" "C:\kata go\katago.exe" analysis -model "C:\kata go\b18.bin.gz" -config "C:\kata go\analysis_config.cfg" "C:\katago\kata go.exe" analysis -model "C:\katago\b 18.bin.gz" -config "C:\katago\analysis config.cfg" "C:\kata go\kata go.exe" analysis -model "C:\kata go\b 18.bin.gz" -config "C:\kata go\analysis config.cfg" KaTrain for KataGo OpenCL, Override Command Line with -analysis-threads Parameter analysis_config.cfg may not contain numAnalysisThreads or its comment line starts with # . Syntax Code: <path>\<katago_file_name>.exe analysis -model <path>\<model_name>.bin.gz -config <path>\<analysis_file_name>.cfg -analysis-threads <positive_integer> Example Code: C:\katago\katago.exe analysis -model C:\katago\b18.bin.gz -config C:\katago\analysis_config.cfg -analysis-threads 2
|
Author: | RobertJasiek [ Sun Jun 11, 2023 9:37 am ] |
Post subject: | Re: KaTrain Command Line Partial Syntax |
I have also applied the first syntax rule to CUDA. |
Author: | RobertJasiek [ Sun Jun 11, 2023 4:31 pm ] |
Post subject: | Re: KaTrain Command Line Partial Syntax |
Furthermore, the first syntax is tested for TensorRT. |
Page 1 of 1 | All times are UTC - 8 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |