mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware > Cloud Computing

Reply
Thread Tools
Old 2020-02-07, 14:21   #881
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

9,767 Posts
Default

Quote:
Originally Posted by LaurV View Post
Did you put your left hand in the toilet bowl or so? Send us the toilet!
I don't understand the reference, but something has changed (to our advantage). Several people are getting sustained instances again. I just spun up five out of six requests.
chalsall is offline   Reply With Quote
Old 2020-02-07, 14:36   #882
PhilF
 
PhilF's Avatar
 
Feb 2005
Colorado

5×131 Posts
Default

Quote:
Originally Posted by chalsall View Post
I don't understand the reference, but something has changed (to our advantage). Several people are getting sustained instances again. I just spun up five out of six requests.
Something has changed indeed. I can no longer get any Skylake CPU sessions. Last night, after trying for a while, I even got the message no CPU backends are available. :/
PhilF is offline   Reply With Quote
Old 2020-02-07, 14:53   #883
axn
 
axn's Avatar
 
Jun 2003

2·3·7·112 Posts
Default

Quote:
Originally Posted by PhilF View Post
Something has changed indeed. I can no longer get any Skylake CPU sessions. Last night, after trying for a while, I even got the message no CPU backends are available. :/
Ditto.

OTOH, for now, P100s are becoming available somewhat more frequently, so...
axn is offline   Reply With Quote
Old 2020-02-07, 15:21   #884
PhilF
 
PhilF's Avatar
 
Feb 2005
Colorado

5×131 Posts
Default

It is definitely tracked by account. I use 2 accounts, daily, always from the same machine and browser, but different Google logins. Never had a problem before with CPU availability.

But now one account, the one I was resetting over and over trying to get a Skylake, cannot get a CPU session at all. The other account has no problem getting a CPU session, as long as a Haswell or Broadwell is good enough.

EDIT: Now that I have given the first account some time to "cool off", I was able to obtain a CPU session with it.

Last fiddled with by PhilF on 2020-02-07 at 15:31
PhilF is offline   Reply With Quote
Old 2020-02-07, 18:37   #885
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

72×197 Posts
Default

Quote:
Originally Posted by chalsall View Post
I don't understand the reference
Well... similar to this, or this, or last two sections of this... (random links)

Last fiddled with by LaurV on 2020-02-07 at 18:39
LaurV is offline   Reply With Quote
Old 2020-02-08, 00:34   #886
kracker
 
kracker's Avatar
 
"Mr. Meeseeks"
Jan 2012
California, USA

23×271 Posts
Default

Google has updated their Colab FAQ, and also they have introduced a Pro version of Colab... $9.99 a month with up to 24 hour runtimes, more memory and higher priority on fast GPU's... though they aren't guaranteeing anything.
https://research.google.com/colaboratory/faq.html
https://colab.research.google.com/signup
kracker is offline   Reply With Quote
Old 2020-02-08, 00:53   #887
R. Gerbicz
 
R. Gerbicz's Avatar
 
"Robert Gerbicz"
Oct 2005
Hungary

101110011102 Posts
Default

Quote:
Originally Posted by kracker View Post
Google has updated their Colab FAQ, and also they have introduced a Pro version of Colab... $9.99 a month with up to 24 hour runtimes, more memory and higher priority on fast GPU's... though they aren't guaranteeing anything.
https://research.google.com/colaboratory/faq.html
https://colab.research.google.com/signup
Nice, the last point is also important:

"Where is Colab Pro available?
For now, Colab Pro is only available in the US."
R. Gerbicz is offline   Reply With Quote
Old 2020-02-08, 05:08   #888
Chuck
 
Chuck's Avatar
 
May 2011
Orange Park, FL

15658 Posts
Default

Quote:
Originally Posted by kracker View Post
Google has updated their Colab FAQ, and also they have introduced a Pro version of Colab... $9.99 a month with up to 24 hour runtimes, more memory and higher priority on fast GPU's... though they aren't guaranteeing anything.
Finally. I've signed up. Let's see how this works out.
Chuck is offline   Reply With Quote
Old 2020-02-08, 06:43   #889
bayanne
 
bayanne's Avatar
 
"Tony Gott"
Aug 2002
Yell, Shetland, UK

22×83 Posts
Default

Quote:
Originally Posted by R. Gerbicz View Post
Nice, the last point is also important:

"Where is Colab Pro available?
For now, Colab Pro is only available in the US."
I would be very interested when Colab Pro becomes available elsewhere ...

I wonder what the limitations are on the number of instances you can run at any one time

Last fiddled with by bayanne on 2020-02-08 at 06:44
bayanne is offline   Reply With Quote
Old 2020-02-08, 08:08   #890
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

5,419 Posts
Default Detecting gpu model or no-gpu

Detecting gpu model or no-gpu and branching to TF or P-1 benchmarking or mprime-only or whatever accordingly may be possible by adapting the code at the front of
https://colab.research.google.com/no...=23TOba33L4qf:

Code:
gpu_info = !nvidia-smi
gpu_info = '\n'.join(gpu_info)
if gpu_info.find('failed') >= 0:
   print('Select the Runtime → "Change runtime type" menu to enable a GPU accelerator, ')
   print('and then re-execute this cell.')
else:
    print(gpu_info)
After a quick test, I think something like the following
Code:
gpu_info = !nvidia-smi
gpu_info = '\n'.join(gpu_info)
if gpu_info.find('failed') >= 0:
   print('Select the Runtime → "Change runtime type" menu to enable a GPU accelerator, ')
   print('and then re-execute this cell.')
else:
   print(gpu_info)
   if gpu_info.find('Tesla T4') >= 0:
     print ('code here for Tesla T4 case.')
   else: 
     if gpu_info.find('Tesla P4') >=0:
       print ('code here for Tesla P4 case.')
     else:
       if gpu_info.find('Tesla P100') >= 0:
         print ('code here for Tesla P100 case')
       else:
         if gpu_info.find('Tesla K80') >= 0:
           print ('code here for Tesla K80 case')
         else:
           print ('unexpected gpu model')
or a switch/case structure if that's available

Last fiddled with by kriesel on 2020-02-08 at 08:27
kriesel is online now   Reply With Quote
Old 2020-02-09, 18:03   #891
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

541910 Posts
Default Draft cpu-only and gpu-model specific branching script

I've made a Colab script for multiple branches for cpu-only or various gpu models.

Run with GPU checked on Runtime, Change Runtime Type. If you forget, it will remind you. If you get only a cpu, it will ask whether to continue or quit. If you get a gpu, it will branch according to which model, to a separate folder on Google Drive. You can stop the script later and restart it to see if a gpu has become available.

The folders for the different branches can contain different gpuowl work type, worktodo, or config file, etc. Or different mfaktc tunes for different gpu models.
It also warns if the worktodo file size seems too small.

See https://www.mersenneforum.org/showpost.php?p=537155&postcount=16 for the script attachment and more info. I've tried it a bit and the easiest bugs were fixed; the rest haven't been found yet. Updates to the base script if any will be posted there.

Last fiddled with by kriesel on 2020-02-09 at 18:05
kriesel is online now   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Alternatives to Google Colab kriesel Cloud Computing 11 2020-01-14 18:45
Notebook enzocreti enzocreti 0 2019-02-15 08:20
Computer Diet causes Machine Check Exception -- need heuristics help Christenson Hardware 32 2011-12-25 08:17
Computer diet - Need help garo Hardware 41 2011-10-06 04:06
Workunit diet ? dsouza123 NFSNET Discussion 5 2004-02-27 00:42

All times are UTC. The time now is 18:57.


Sun Aug 1 18:57:23 UTC 2021 up 9 days, 13:26, 0 users, load averages: 1.09, 1.28, 1.58

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.