Open huanshanxiaoyao opened 6 months ago
Could that be CL_OUT_OF_HOST_MEMORY ?
The fact that it says "unexpectedly" suggest to me that the process was killed because your machine ran out of memory.
so what's the needed memory?
It will depend on a lot of factors, like the number of threads spawned. Katrain is supposed to run a benchmark when you first start it to adjust the parameters.
You can manually adjust the file.
Here are two issues from the katago repository that may interest you:
It seems that there is an ongoing memory leak, so the longer the analysis, the more memory it will use. That's unfortunate.
On my machine, with my settings (the default ones, using katago-v1.13.0-eigenavx2-linux-x64 and the latest 18b model) it is using around 6.4GB while playing against itself
Same issue. It's not because of memory. The brew version of katago can work with lizzieyzy correctly.
I wonder where this -6
return code comes from then. Because that's the only one I can see in katago's code (and there's nothing like it in katrain from a rapid search)
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 10 days.
How to update general & engine setting to fix the error:Engine die unexpectedly without sending output status -6
I install katrain by dmg file , macos
and then brew install katago succesfully
but I can't use it because of the error above ,