Skip to content
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

windows version #2

Open
nambung opened this issue Sep 24, 2022 · 60 comments
Open

windows version #2

nambung opened this issue Sep 24, 2022 · 60 comments

Comments

@nambung
Copy link

nambung commented Sep 24, 2022

can we expect a windows version this year?

@CGLemon
Copy link
Owner

CGLemon commented Sep 24, 2022

Sorry about that! I can not promise it because I have no Windows device and programming tool currently. I plan to develop the Windows next year, may do it on March if I can go to the college to get free Windows device.

@cryptsport
Copy link

when can expect the windows version?

@CGLemon
Copy link
Owner

CGLemon commented Mar 26, 2023

I finally get the windows these days. I will do it next month.

@CGLemon
Copy link
Owner

CGLemon commented Apr 3, 2023

It is Windows binary version with Eigen backend (CPU-only). May someone give it a try?

Here is binary file on my google drive. The version is v0.4.1. You may download the weights here.

Thanks!

@cryptsport
Copy link

I'll try with pleasure! what interests you first of all? a match with katago?

@cryptsport
Copy link

requires libc++.dll

@CGLemon
Copy link
Owner

CGLemon commented Apr 5, 2023

@cryptsport

Thanks! I will fix it.

@CGLemon
Copy link
Owner

CGLemon commented Apr 5, 2023

@cryptsport

I update the static version on the original google drive. Should not depend any library now.

@cryptsport
Copy link

cryptsport commented Apr 5, 2023

works in sabaki! (win 7, 13x13, 19x19, game, analyze) thank you very much! with what parameters to check?

@cryptsport
Copy link

cryptsport commented Apr 5, 2023

Zenith Go 7 - Sayuri, Zen gave up on move 205 (Zenith Go 7 9dan, Sayuri -t 3 -w uce14-swa-1700k-v2.bin.txt), Zen spent a little more time

@CGLemon
Copy link
Owner

CGLemon commented Apr 6, 2023

@cryptsport

Thanks for your help! I am curious about the playouts per second on your computers. Adding the option -a will show the MCTS diagnostic verbose.

@cryptsport
Copy link

QuadCore AMD Athlon X4 950, 3700 MHz (37 x 100)
t3
t4

@CGLemon
Copy link
Owner

CGLemon commented Apr 6, 2023

Each core produces 4~5 playouts per second. Look like 15x192 network is too big for most users.

@nambung
Copy link
Author

nambung commented Nov 16, 2023

how to launch last windows version? requires libc++.dll

@CGLemon
Copy link
Owner

CGLemon commented Nov 16, 2023

@nambung
Thanks to report this issue. The binary file of last version can be found in the release page. But I do not really understand Windows environment. Seem the libc++.dll is not included in the orginal Windows. You may need to download MinGW, please see Windows Version (Experiment).

@cryptsport
How did you solve this problem? Did download any developing tool on your computer? Like, Visual Studio or MinGW. Thanks!

@cryptsport
Copy link

@CGLemon
it doesn't work for me either. in the old version, you changed the binary file so that there was no dependence on any library (see the posts above)

@CGLemon
Copy link
Owner

CGLemon commented Nov 17, 2023

@cryptsport
Thanks! I will try to fix it when I have free time.

@cryptsport
Copy link

the latest version works if add to the folder libc++.dll and libunwind.dll. Sayuri plays interesting! please make windows version 25x25!

@CGLemon
Copy link
Owner

CGLemon commented Nov 20, 2023

@cryptsport
Update the static version and 25x25 for v0.6.1 here. Does the static version still need the DLL files?

@cryptsport
Copy link

@CGLemon
everything is ok, .dll does not require. thank you so much for the 25x25 version!

@CGLemon
Copy link
Owner

CGLemon commented Dec 8, 2023

@cryptsport
I update the cuda version and the depending cuda dll here. May you give it a try? Thanks!

@cryptsport
Copy link

@CGLemon
Good news! I'll try it now!

@cryptsport
Copy link

requires cudart64_12.dll

@cryptsport
Copy link

cryptsport commented Dec 8, 2023

I found cudart64_12.dll. now requires api-ms-win-core-libraryloader-l1-2-0.dll. I found, requires api-ms-win-security-systemfunctions-l1-1-0.dll, I found, error when launching the application

@cryptsport
Copy link

sorry, I didn't see it right away, I added the cuda12-dll folder. the same mistakes, except cudart64_12.dll

@hope366
Copy link

hope366 commented Dec 9, 2023

I got an error message that cudart64_12.dll and cublas64_12.dll are missing in my environment.
I haven't been able to get them, so I can't get them to work.

@hope366
Copy link

hope366 commented Dec 9, 2023

cublas64_12.dll
cublasLt64_12.dll
cudart64_12.dll
I got these three files. When started from the command line, the CUDA version worked as follows.
無題

However, when starting with LizzieYzy, the following error occurred.
When I started the CUDA version, it put a load on the GPU (it felt like the analysis was starting).
However, candidate moves are not displayed on the board. The moment I placed a stone manually, the following error occurred.
無題

@CGLemon
Copy link
Owner

CGLemon commented Dec 9, 2023

@cryptsport
Thanks! I think I miss the Windows SDK packet.

@hope366
Thanks! You started the engine successfully. The engine was aborted because it encountered unexpected condition. This is a bug which I missed.

@CGLemon
Copy link
Owner

CGLemon commented Dec 9, 2023

@cryptsport
@hope366

Fix the bug. Do you still encounter the same problem?

@hope366
Copy link

hope366 commented Dec 9, 2023

I tried running your newly prepared "Sayuri-v0.6.1-cuda12-windows-x86.exe" on LizzieYzy.
When it started up, there were no errors and it appeared to be successful. However, candidate moves are not displayed on the board. GPU is under load during analysis. It looks like it's analyzing internally. If you stop the analysis with the space key, the GPU load will disappear.
"Game mode" seems to be working properly.

@cryptsport
Copy link

error when launching the application

@cryptsport
Copy link

@hope366
which version of LizzieYzy did you use?

@hope366
Copy link

hope366 commented Dec 9, 2023

@cryptsport This is a compilation of the latest main branch.
It is almost the same as the latest version "v2.5.3", but includes some fixes and improvements made since the release of 2.5.3.

@CGLemon
Copy link
Owner

CGLemon commented Dec 9, 2023

@hope366
That was weird. You may try to check the engine status via terminal and add -a option to show the search result. Enter the genmove <color> or analyze <color> to start the search.

@cryptsport
May you simply describe the error? Did it still miss the api-ms-win-* dll? May you add all three cuda dll?

@cryptsport
Copy link

I run it from the command line. there are 2 files in the folder: exe and network. asks cudart64_12.dll. I am adding it and 2 others from the folder cuda12-dll. asks api-ms-win-core-libraryloader-l1-2-0.dll. I am adding it. asks api-ms-win-security-systemfunctions-l1-1-0.dll. I am adding it. issues an "application error"

@cryptsport
Copy link

for convenience, I renamed Sayuri-v0.6.1-cuda12-windows-x86.exe to Sayuri.exe and zero-swa-2200k.bin.txt to zero.bin.txt. It shouldn't affect, right?

@hope366
Copy link

hope366 commented Dec 10, 2023

@CGLemon
When launched from the command line, the analysis appears to be working.
I didn't understand how to use -a 😅
無題

@CGLemon
Copy link
Owner

CGLemon commented Dec 10, 2023

@cryptsport
To rename it is Ok.

@hope366
Add the -a here,

Sayuri.exe -w weights.txt -t 1 -b 1 -p 400 -a

But I don’t see any problem. Maybe the problem is in the LizzieYzy.

@hope366
Copy link

hope366 commented Dec 10, 2023

I tried -a.
As you can see, although the analysis appears to be occurring internally, there are still no candidate moves displayed on the board.
Does this mean that LizzieYzy needs special code to display sayuri's suggested moves?
無題

@CGLemon
Copy link
Owner

CGLemon commented Dec 10, 2023

The format of Sayuri’s analyze is almost as same as LeelaZero. Only different is additional scoreLead label.

The verbose shows the search is correct but LizzieYzy does not display the move. May you try to use Sabaki? If Sabaki is correct, the problem is in the LizzieYzy.

@hope366
Copy link

hope366 commented Dec 10, 2023

I tried it with Sabaki.
The top one is KataGo and the bottom one is Sayuri.
Even in Sabaki, the analysis results for Sayuri were not displayed.
Analysis results will not be displayed, but you can play against Sayuri.
無題
1無題

@CGLemon
Copy link
Owner

CGLemon commented Dec 10, 2023

Thank to report this issue!

@CGLemon
Copy link
Owner

CGLemon commented Dec 13, 2023

@cryptsport
I tested the engine on the raw WIndows10 and it worked well. What's your Windows version?

@cryptsport
Copy link

@CGLemon
Windows 7

@CGLemon
Copy link
Owner

CGLemon commented Dec 14, 2023

@hope366
Fix the analyzing bug on MSVC. I think it may work on LizzieYzy. The engine is here.

@cryptsport
I see this web. I think it means the last SDK does not support for Windows 7.

@cryptsport
Copy link

@CGLemon
I will update Windows soon. Sorry for the unnecessary trouble!

@hope366
Copy link

hope366 commented Dec 15, 2023

@CGLemon
I tried "Sayuri-v0.6.1-cuda12-windows-x64.exe" that you newly prepared.
As you can see, LizzieYzy has a candidate move😄
thank you very much.
無題

@fhb231231
Copy link

I'd like to play with the older weights (v0.5 and before) on Windows. I tried "Sayuri-v0.5.0-eigen-windows-x64.exe" on the Release page, but didn't work out. I'm wondering if it's the "libc++.dll" issue mentioned previously. Is it possible to help recompile the binary?

@CGLemon
Copy link
Owner

CGLemon commented Dec 27, 2023

@fhb231231

I update the last v0.5 executed file here. I still recommend to use the last engine because some bugs are fixed.

@fhb231231
Copy link

Many thanks and well noted.

@fhb231231
Copy link

Is it possible to compile a cuda version of 0.5 engine?

@CGLemon
Copy link
Owner

CGLemon commented Mar 14, 2024

@fhb231231
The v0.5.x engine has some bugs on MSVC. That means I could not compile executable file directly. Why do you need the old version engine? Did you just want to play with the old weights?

@fhb231231
Copy link

Right that I'm playing the v0.5 weights with other bots at different level of strength. The cpu engine becomes too slow with the increasing playouts and that's why I'm wondering if the cuda version of v0.5 engine is possible. Don't bother if it cannot be done quickly as I understand that the v0.5 is obsolete.

@CGLemon
Copy link
Owner

CGLemon commented Mar 16, 2024

I see. I would make current version to support old weights.

@fhb231231
Copy link

@CGLemon
That's a great option, thanks.

@cryptsport
Copy link

plays well! Interesting!
please make version 7-eigen 25x25!

@CGLemon
Copy link
Owner

CGLemon commented May 23, 2024

@cryptsport
I will release the engine supporting v4 weights few days later. I think I will release 25x25 version at the same time.

@cryptsport
Copy link

@CGLemon
Many thanks!

@CGLemon
Copy link
Owner

CGLemon commented Jun 1, 2024

@cryptsport

Done here.

@cryptsport
Copy link

@CGLemon
thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants