-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
katago will not work with lizzie #633
Comments
i am not too computer savy but i need help |
it created the katago gtp 10 but when i try to run load it in lizzie my
laptop fan starts spinning for a few minutes then stops and nothing happens
it is still "loading" but i dont think so. i let it go for a while.
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
…On Tue, Oct 8, 2019 at 3:40 AM Annie Wagner ***@***.***> wrote:
Ok I'll help you troubleshoot. Are you using Windows?
If so, please open file explorer, navigate to the Lizzie directory. Hold
down SHIFT while right clicking in the white space, select Open Powershell
Window Here.
[image: image]
<https://user-images.githubusercontent.com/10515890/66346777-e4e5c700-e920-11e9-9337-eb7a0bc7c1d3.png>
Copy this: ./katago/katago gtp -model katanetwork.gz -config
katago-gtp10.cfg
Right click in the Powershell window to paste, and press enter. Let it run
until it is no longer printing any more text. Please let me know what it
says in the window, either by taking a screenshot or copy-and-paste to this
issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#633?email_source=notifications&email_token=ANNG6HPFMUAAWTSZQVCD7XTQNONFFA5CNFSM4I6DPX22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEARXLRA#issuecomment-539194820>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ANNG6HMZQRAOX5POSN42RWTQNONFFANCNFSM4I6DPX2Q>
.
|
Please show me the output in the powershell window when you run that command |
i just noticed katagonetwork was winrar archive but i changed it to. gz and
it still didn't work
…On Tue, Oct 8, 2019, 09:47 Chris ***@***.***> wrote:
it created the katago gtp 10 but when i try to run load it in lizzie my
laptop fan starts spinning for a few minutes then stops and nothing happens
it is still "loading" but i dont think so. i let it go for a while.
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#m_-7438280334270972454_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Tue, Oct 8, 2019 at 3:40 AM Annie Wagner ***@***.***>
wrote:
> Ok I'll help you troubleshoot. Are you using Windows?
>
> If so, please open file explorer, navigate to the Lizzie directory. Hold
> down SHIFT while right clicking in the white space, select Open Powershell
> Window Here.
> [image: image]
> <https://user-images.githubusercontent.com/10515890/66346777-e4e5c700-e920-11e9-9337-eb7a0bc7c1d3.png>
>
> Copy this: ./katago/katago gtp -model katanetwork.gz -config
> katago-gtp10.cfg
>
> Right click in the Powershell window to paste, and press enter. Let it
> run until it is no longer printing any more text. Please let me know what
> it says in the window, either by taking a screenshot or copy-and-paste to
> this issue.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#633?email_source=notifications&email_token=ANNG6HPFMUAAWTSZQVCD7XTQNONFFA5CNFSM4I6DPX22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEARXLRA#issuecomment-539194820>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ANNG6HMZQRAOX5POSN42RWTQNONFFANCNFSM4I6DPX2Q>
> .
>
|
i did send it in capture 0,2, 3
…On Tue, Oct 8, 2019, 09:50 Annie Wagner ***@***.***> wrote:
Please show me the output in the powershell window when you run that
command
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#633?email_source=notifications&email_token=ANNG6HKJGRYFWV2MXICDKZDQNPYOHA5CNFSM4I6DPX22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEASOSAI#issuecomment-539289857>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ANNG6HPYZAF7UMG3265P26DQNPYOHANCNFSM4I6DPX2Q>
.
|
I cant see it here. |
these png files
…On Tue, Oct 8, 2019, 09:52 Annie Wagner ***@***.***> wrote:
I cant see it here.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#633?email_source=notifications&email_token=ANNG6HONIDKNZVJFM5IHOWDQNPYYDA5CNFSM4I6DPX22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEASOWTQ#issuecomment-539290446>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ANNG6HN3WP42B2RHEOPT2CLQNPYYDANCNFSM4I6DPX2Q>
.
|
please try replying directly through github instead of through email, i think email image uploading must be broken. github will work |
It looks like KataGo crashed. It's not supposed to do that. The katago creator can help you. I will go ahead and create an issue in the katago github repository for you. and I'll link it here. In the meantime, it looks like KataGo wont work on your computer. The best thing I can recommend right now is to try it on a different computer if possible until we can get a response from the Katago creator. |
ok thank you. i thought it was something i was doing wrong |
I created the issue there. I hope the author can help you fix the problem. In the mean time, at least Leela Zero works, right? About your machine, I am wondering, do you know any information about the GPU you have? Is it AMD, Intel, or NVIDIA? Do you know what model it is? |
i have a lenovo x1 carbon 3rd gen i think "laptop" |
@Crispy3 - Intel integrated graphics is tricky. At least for some older versions, the answer unfortunately is that Intel's OpenCL drivers were buggy, with no workaround (if you search, you can find some such issues on the CLBlast github where this was determined to be the case for those particular versions of integrated graphics). I don't know if that applies here - maybe it's not a bug in those, but something else. But having it suddenly crash and display a huge memory dump like in your screenshot isn't encouraging, I'm not really sure how I would try to debug that! |
its okay if there is no easy fix, i understand, thanks for the reply. i
thought the issue was maybe a silly mistake by me
…On Wed, Oct 9, 2019, 12:23 lightvector ***@***.***> wrote:
@Crispy3 <https://github.com/Crispy3> - Intel integrated graphics is
tricky. At least for some older versions, the answer unfortunately is that
Intel's OpenCL drivers were buggy, with no workaround (if you search, you
can find some such issues on the CLBlast github where this was determined
to be the case for those particular versions of integrated graphics).
I don't know if that applies here - maybe it's not a bug in those, but
something else. But having it suddenly crash and display a huge memory dump
like in your screenshot isn't encouraging, I'm not really sure how I would
try to debug that!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#633?email_source=notifications&email_token=ANNG6HIUD4PL7ZHFCDBXWK3QNVTDZA5CNFSM4I6DPX22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAWUBQY#issuecomment-539836611>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ANNG6HLJH52EMZZ2RZVFQADQNVTDZANCNFSM4I6DPX2Q>
.
|
I used to be unable to start KataGo. After selecting katago engine, it would load forever. Today I looked into the config file, namely |
@siasio - That would be extremely weird. Can you change it back and see if it goes back to failing? My guess is that numSearchThreads and nnMaxBatchSize has nothing to do with it - if so, it would be good to avoid misleading other people. Are you using the OpenCL version, which I think is the the version that comes packed with Lizzie? I'm guessing what happened is that you finally waited long enough for it to tune itself, rather than killing it mid-tuning (in which case it would have to start over next time). On first startup, it will take a long time to configure itself and adjust to your GPU, once successful it doesn't have to do that again. While it tunes, it will be printing out a lot of stuff that should make it very obvious that it is configuring and testing things, but Lizzie is very bad at displaying this output to the user, and will make it look like it's doing nothing and just loading forever. Therefore, unless Lizzie is improved to display such output, I strongly recommend anyone using the OpenCL version not to run KataGo within Lizzie on the first run., Instead, run KataGo manually in the console first: This way, you actually see if KataGo is doing things that Lizzie would hide from you and is simply testing and configuring itself, or if it genuinely has failed. Separately, yes you should adjust numSearchThreads to whatever gives you good performance. The same "benchmark" command above will help you see what performs fastest and/or strongest. Anyways, can you decrease numSearchThreads back to what you had it at and see if it suddenly starts failing again now? Maybe this really was the cause of it not working for you instead of the above, but that means that something strange is going on if true. |
@lightvector Thank you for your answer. You are right - it had nothing to do with the numSearchThreads. The reason must be that I've recently compiled KataGo in the way stated in your README file. As I saw it working I just checked the difference between the config files in the KataGo repo and in Lizzie which was apparently just the numSearchThreads. However, changing that was apparently not needed. I am a bit confused because I installed KataGo with CUDA backend and Lizzie comes with OpenCL version. Here are sample lines from my log files: I wonder what made the difference. Could it be just upgrading the CUDA version from 10.1 to 10.2? Also, I don't really understand what happens here that OpenCL is using CUDA platform. |
Cool. So still my best guess is what made the difference is none of those. It probably was always working for you, even from the very start! The difference is that one of the times you tried to run it in Lizzie, you finally let it run long enough to tune itself. Despite Lizzie making it appear like KataGo was hanging, it actually was never hanging (again: for other users reading this thread: because of how Lizzie masks what KataGo is doing and makes it impossible to tell the difference between true hanging versus just tuning, I recommend trying to directly run benchmark or tuner commands as in my other post in this thread above). Anyways, now that it's tuned, it will not need to tune again in the future (unless you change GPUs or switch to a new computer or whatever). Also thanks for the one interesting detail - that CUDA itself can act as an OpenCL platform. Did not know that. The OpenCL and CUDA versions are completely separate implementations and the OpenCL version works on many more devices and hardware, but based on your output it looks like CUDA itself can "behave" like a hardware for OpenCL. Anyways, now that it's working for you, You probably want to run the benchmark command to find a number of threads to use for good performance. You might also experiment with benchmarking the difference between OpenCL (even if it's "using CUDA") and CUDA - you might see different performance. Enjoy! |
Make sure that you don't already have another Lizzie window open. By mistake I opened a second one and when I try to switch to Katago it says engine is loading but nothing happens. When I closed the first window everything loaded after a few seconds. |
i do not know why but katago will not load i have let it try many times
The text was updated successfully, but these errors were encountered: