It is currently Sat Feb 16, 2019 6:55 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 8 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: 631
Liked others: 6
Was liked: 28
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: 834
Location: Littleton, CO
Liked others: 278
Was liked: 260
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: 280
Location: Illinois
Liked others: 217
Was liked: 73
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: 831
Liked others: 180
Was liked: 145
Rank: 2d
GD Posts: 422
KGS: quantumf/komi/balvenie/loads more
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: 546
Location: Vienna, Austria
Liked others: 242
Was liked: 282
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: 631
Liked others: 6
Was liked: 28
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: 631
Liked others: 6
Was liked: 28
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: 546
Location: Vienna, Austria
Liked others: 242
Was liked: 282
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  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 5 guests


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