It is currently Mon Jul 22, 2019 9:14 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 10 posts ] 
Author Message
Offline
 Post subject: Setting up Lizzie and Leela Zero in a cloud?
Post #1 Posted: Wed Oct 31, 2018 6:28 pm 
Lives in gote

Posts: 648
Liked others: 6
Was liked: 31
KGS: 3D
Tygem: 5D
I have a laptop with just Windows Vista and not much power, I can neither run Lizzie nor LZ there, so I am looking for options without buying a new computer. One a way seems to be going "Cloud", i.e. connecting to a cloud that behaves just like a second computer, runs with Windows 7 or better, where I can install and run those programs, but all that from my fellow Laptop. This would be also a good testcase in gernal, because it would mean I don't need to buy new computers every 5 years.

1. How do you call such a Cloud/Cloud-Service since there are many names around but I'm doubtful they mean what I want?
2. Are there such Clouds already there, maybe even with a free trial to check if things work?

Top
 Profile  
 
Offline
 Post subject: Re: Setting up Lizzie and Leela Zero in a cloud?
Post #2 Posted: Wed Oct 31, 2018 10:07 pm 
Lives in sente

Posts: 838
Location: Littleton, CO
Liked others: 284
Was liked: 262
Rank: KGS 3k
Universal go server handle: jeromie
I'm intending to try the same thing soon. I think an Amazon EC2 P2 or P3 instance looks promising.

Top
 Profile  
 
Offline
 Post subject: Re: Setting up Lizzie and Leela Zero in a cloud?
Post #3 Posted: Mon Nov 05, 2018 11:55 am 
Lives with ko
User avatar

Posts: 285
Location: Illinois
Liked others: 221
Was liked: 78
Rank: infant
A Linux VPS with scalable hardware would be a better approach.

Top
 Profile  
 
Offline
 Post subject: Re: Setting up Lizzie and Leela Zero in a cloud?
Post #4 Posted: Mon Nov 05, 2018 1:58 pm 
Lives in sente
User avatar

Posts: 836
Liked others: 180
Was liked: 150
Rank: 3d
GD Posts: 422
KGS: komi
Pippen, Amazon EC2 is one of a number of cloud providers that can do what you want. Microsoft Azure would be another, and I presume Google cloud as well (although I'm less sure about them). The advantage of a cloud computer is that you can start it when you want to play/analyze, and turn it off when you're done - thus paying only for when you use it. The downside is that you might have to wait for a minute or so for the instance to start up each time, which you might find irritating.

Amazon to offer a free tier (one year free "t2.micro"), this won't be powerful enough to play Lizzie particularly well, but it will be sufficient to figure out how to install the software and so on.

Drew, please advise how a flexible Linux VPS would work? What does flexible mean, and in what way(s) is it better than a cloud instance?

Top
 Profile  
 
Offline
 Post subject: Re: Setting up Lizzie and Leela Zero in a cloud?
Post #5 Posted: Mon Nov 05, 2018 2:12 pm 
Lives in gote

Posts: 568
Location: Vienna, Austria
Liked others: 249
Was liked: 291
Benjamin Teuber wrote a guide on how to set up Leela Zero on Google Cloud: https://github.com/bsteuber/lizzie-gcloud-setup

There are even more detailed instructions in a Leela Zero community-maintained document: https://docs.google.com/document/d/1P_c ... xjD64/edit


This post by Marcel Grünauer was liked by: Kirgan
Top
 Profile  
 
Offline
 Post subject: Re: Setting up Lizzie and Leela Zero in a cloud?
Post #6 Posted: Fri Nov 09, 2018 9:24 pm 
Lives in gote

Posts: 648
Liked others: 6
Was liked: 31
KGS: 3D
Tygem: 5D
I tried Google Cloud and Azure because they offered free trials.

Google Cloud functioned per se. I did e.g. upload Leela 11 and it played there with significant more playouts per minute than on my laptop. But I couldn't start Lizzie & LZ due to some java installation problems (despite intalling Java correctly on my VM) nor Sabaki & LZ despite following closely a how-to-do-it video.

Azure I couldn't even connect to the VM in the cloud.

So both failed and a reminder why a free trial is so important. I will buy a new computer at some day, clouds have too many imponderables for a non-expert. Moreover I read that the author of Leela at some point wants to make LZ like Leela 11 - a program you can easily run. Hope that is not too far off either.

Top
 Profile  
 
Offline
 Post subject: Re: Setting up Lizzie and Leela Zero in a cloud?
Post #7 Posted: Fri Nov 09, 2018 9:30 pm 
Lives in gote

Posts: 648
Liked others: 6
Was liked: 31
KGS: 3D
Tygem: 5D
Marcel Grünauer wrote:
Benjamin Teuber wrote a guide on how to set up Leela Zero on Google Cloud: https://github.com/bsteuber/lizzie-gcloud-setup


It's only for linux.

Quote:
There are even more detailed instructions in a Leela Zero community-maintained document: https://docs.google.com/document/d/1P_c ... xjD64/edit


This is just if you want to participate to train LZ, not if you want to use it with Lizzie for personal teaching.

Top
 Profile  
 
Offline
 Post subject: Re: Setting up Lizzie and Leela Zero in a cloud?
Post #8 Posted: Sat Nov 10, 2018 12:44 am 
Lives in gote

Posts: 568
Location: Vienna, Austria
Liked others: 249
Was liked: 291
As long as you can run ssh locally, you can use Leela Zero on Google Cloud.

And the detailed instructions show how to configure the Google Cloud instance; of course you can adapt them to running Leela vis SSH.

Top
 Profile  
 
Offline
 Post subject: Re: Setting up Lizzie and Leela Zero in a cloud?
Post #9 Posted: Mon May 20, 2019 4:21 am 
Dies in gote
User avatar

Posts: 48
Location: Belgium
Liked others: 3
Was liked: 19
Rank: 2d
KGS: LordVader
AWS GPU instances start at around 0.9$/hour. :study:
So, if you study/play about 1 hour per day, you will quickly pay roughly 27$/mo.

By comparison, ZBaduk is free, does the same thing, and offers a GUI which is available in a webbrowser. (also mobile)
(no need to install anything).

Attachment:
SCR4.png
SCR4.png [ 51.06 KiB | Viewed 377 times ]


ZBaduk won't be free forever. (Enjoy it while you can ;-) ).
Having said that, a commercial plan is roughly 200 times cheaper than AWS, and unlimited in use.

_________________
Enjoy LeeLa Zero from your webbrowser, without installing anything !
https://www.zbaduk.com

Top
 Profile  
 
Offline
 Post subject: Re: Setting up Lizzie and Leela Zero in a cloud?
Post #10 Posted: Mon May 20, 2019 2:20 pm 
Beginner

Posts: 18
Liked others: 12
Was liked: 3
Rank: KGS 6k
Marcel Grünauer wrote:
As long as you can run ssh locally, you can use Leela Zero on Google Cloud.

And the detailed instructions show how to configure the Google Cloud instance; of course you can adapt them to running Leela vis SSH.


Did you get Lizzie running on windows connected to a gcloud instance?

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group