sanderland / katrain

Improve your Baduk skills by training with KataGo!
Other
1.58k stars 223 forks source link

Engine die unexpectedly without sending output status -6 #680

Open huanshanxiaoyao opened 6 months ago

huanshanxiaoyao commented 6 months ago

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 ,

飞书20240309-222935

飞书20240309-222939

nrobinaubertin commented 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.

huanshanxiaoyao commented 5 months ago

so what's the needed memory?

nrobinaubertin commented 5 months ago

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

eavesz commented 5 months ago

Same issue. It's not because of memory. The brew version of katago can work with lizzieyzy correctly.

nrobinaubertin commented 5 months ago

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)

github-actions[bot] commented 3 weeks ago

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.