mersenneforum.org  

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

Reply
 
Thread Tools
Old 2019-10-04, 00:51   #188
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

37·263 Posts
Default

Quote:
Originally Posted by Dylan14 View Post
Now since you say that you’ve talked to several people with varying levels of education, some may not be well versed with python or with working with Linux commands.
The PhDs knew, the others not so much...

Quote:
Originally Posted by Dylan14 View Post
So before we’d ask people to build from source... At least, if I was teaching programming to people...
Absolutely.

It would be ill-advised to drop someone not comfortable with the environment into the "deep end". But you might be a little surprised by just how comfortable some people are in this "space".

Directly to your point: Surely ("Don't call me Shirley" - Airplane) there are already online courses on how to get comfortable with Python (shudder) and Linux (yeah!).
chalsall is offline   Reply With Quote
Old 2019-10-04, 01:06   #189
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

11·347 Posts
Default

Quote:
Originally Posted by chalsall View Post
. . .
Surely ("Don't call me Shirley" - Airplane) there are already online courses on how to get comfortable with Python (shudder) and Linux (yeah!).
I'm comfortable, and yet, for some odd reason I haven't figured out how to initiate a Colab session, even after watching the video and even signing in with my Google account. I'd like to think I'm not too dense, but it sure seems so ATM. . .

Last fiddled with by EdH on 2019-10-04 at 01:06 Reason: spellin'
EdH is offline   Reply With Quote
Old 2019-10-04, 01:23   #190
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

37×263 Posts
Default

Quote:
Originally Posted by EdH View Post
I'm comfortable, and yet, for some odd reason I haven't figured out how to initiate a Colab session, even after watching the video and even signing in with my Google account. I'd like to think I'm not too dense, but it sure seems so ATM. . .
Ummm... Video. What video?

I'm sincere when I say this: I don't understand what you are telling me.

To put on the table... Programmers tend to be a little bit intense, and at the same time, profoundly stupid.

The next time you interact with a programmer, please consider this. We *really* like data.
chalsall is offline   Reply With Quote
Old 2019-10-04, 08:01   #191
Nick
 
Nick's Avatar
 
Dec 2012
The Netherlands

2×23×37 Posts
Default

Quote:
Originally Posted by chalsall View Post
Over the last few days, I've talked with several different people involved with several levels of education -- grade school to post-grad. They all ***immediately*** "get it".
I assume you mean that they have worked out how the profits are being made from this.
Nick is online now   Reply With Quote
Old 2019-10-04, 14:20   #192
GP2
 
GP2's Avatar
 
Sep 2003

50318 Posts
Default

Quote:
Originally Posted by Nick View Post
I assume you mean that they have worked out how the profits are being made from this.
Google is third in the cloud, behind Amazon and Microsoft. They have to try some new approaches.

Machine learning is one of their strengths, and "Colaboratory is a research tool for machine learning education and research." They want it to be a success. They will point to the usage statistics and hope for a network effect to establish it as a top platform.

If those usage statistics are inflated a wee bit by computation rather than machine learning, I'm sure that will be explained in some footnote somewhere in the quarterly reports.
GP2 is offline   Reply With Quote
Old 2019-10-04, 14:54   #193
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

11·347 Posts
Default

Quote:
Originally Posted by chalsall View Post
Ummm... Video. What video?

I'm sincere when I say this: I don't understand what you are telling me.

To put on the table... Programmers tend to be a little bit intense, and at the same time, profoundly stupid.

The next time you interact with a programmer, please consider this. We *really* like data.
Sorry! I was a bit general with my response. In searching to discover what Colab was about, they provided a Welcome to Colab page, which did me no good, apparently due to my profound ignorance in this area. But my interests bounce around anyway and I'll probably revisit Colab at another time, perhaps even making it further.
EdH is offline   Reply With Quote
Old 2019-10-04, 20:31   #194
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

37×263 Posts
Default

Quote:
Originally Posted by EdH View Post
In searching to discover what Colab was about, they provided a Welcome to Colab page, which did me no good...
Hmmm... Because I have Javascript seriously constrained, I didn't even see that video. I had to spin up a local sandboxed VM to do so.

Yeah, I agree. Quite awful! I've been using Colab for about a month now, and most of the video confused me. Way too fast.

I'm hoping to have some time to dedicate to "writing this up" soon, but quickly:

1. On that same Welcome page, click on the "Connect" button in the upper right-hand corner.

1.1. You will have to sign-in with your Google credentials.

1.1. This connects your browser with a running Virtual Machine (VM) somewhere "in the cloud".

2. Next, click on the "+ Code" button in the upper left-hand corner.

2.1. This inserts a new "Code Section" into the "Notebook".

2.2. You should see a "Play" (">") button, and then to the immediate right a blinking vertical cursor inviting you to type in code.

3. The Colab Notebook accepts Python (which I personally can't stand for ideological reasons ("Don't you dare tell me how I'm allowed to format MY code!!!")).

3.1. If you're comfortable with Python, type in some code and click run. Rinse and repeat.

4. Python can easily launch command-line programs and functions. Starting a line with a "!" tells Python to launch the rest of the line as a Bash shell command.

4.1. For example, type in the following into the afore created new Code section:
Code:
!whoami
!pwd
!df -h
!ls -lah
...and click on the "Run Cell" ("Play") button (or press "Cntl-Enter"). You'll see something like:
Code:
root
/content
Filesystem      Size  Used Avail Use% Mounted on
overlay          49G   25G   22G  54% /
tmpfs            64M     0   64M   0% /dev
tmpfs           6.4G     0  6.4G   0% /sys/fs/cgroup
tmpfs           6.4G  8.0K  6.4G   1% /var/colab
/dev/sda1        55G   27G   29G  48% /etc/hosts
shm             6.0G  4.0K  6.0G   1% /dev/shm
tmpfs           6.4G     0  6.4G   0% /proc/acpi
tmpfs           6.4G     0  6.4G   0% /proc/scsi
tmpfs           6.4G     0  6.4G   0% /sys/firmware
total 16K
drwxr-xr-x 1 root root 4.0K Aug 27 16:17 .
drwxr-xr-x 1 root root 4.0K Oct  4 20:13 ..
drwxr-xr-x 1 root root 4.0K Sep 27 15:12 .config
drwxr-xr-x 1 root root 4.0K Aug 27 16:17 sample_data
Anyone comfortable at a Linux console will immediately have a hoot exploring. Oh, and BTW, the "whoami" command above returns "root". You can do ***anything*** you want in the VM you just spun up!!!

Last fiddled with by chalsall on 2019-10-04 at 20:58 Reason: Forgot the "Run Cell" bit; copy-and-pasted the results from a live Colab instance.
chalsall is offline   Reply With Quote
Old 2019-10-05, 01:49   #195
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

11×347 Posts
Default

Just what I needed - Thanks!

I see some things scroll instead of refreshing in place, such as top. This should let me play for a while. . .
EdH is offline   Reply With Quote
Old 2019-10-05, 10:49   #196
ric
 
ric's Avatar
 
Jul 2004
Milan, Ita

2668 Posts
Default No more work?

This morning (UTC time), I keep receiving
Code:
20191005_104336: Installing needed packages (1/3)
20191005_104341: Installing needed packages (2/3)
20191005_104342: Installing needed packages (3/3)
20191005_104343: Fetching initial work...
20191005_104345: Running GPU type Tesla K80

20191005_104345: running a simple selftest...
20191005_104350: Selftest statistics
20191005_104350:   number of tests           107
20191005_104350:   successfull tests         107
20191005_104350: selftest PASSED!
20191005_104350: ERROR: get_next_assignment(): no valid assignment found in "worktodo.txt"
20191005_104350: Bootstrap finished.  Exiting.
(emphasis mine) and the worktodo file is desolately empty. Are we the victims of Colab's success in crunching gpu72's allotted work?
ric is offline   Reply With Quote
Old 2019-10-05, 12:46   #197
axn
 
axn's Avatar
 
Jun 2003

22×3×421 Posts
Default

Couple of questions:
1) Should I keep the browser tab open while things are running? What happens if I close the browser?

2) Tesla K80 is a 2x GPU in a single package. Anyone tried to run a second copy using device 1, to effectively double the throughput?
axn is offline   Reply With Quote
Old 2019-10-05, 13:57   #198
ric
 
ric's Avatar
 
Jul 2004
Milan, Ita

18210 Posts
Default

Quote:
Originally Posted by ric View Post
and the worktodo file is desolately empty
Solved by now: thanks chalsall!
ric is offline   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 07:31.


Sat Jul 17 07:31:15 UTC 2021 up 50 days, 5:18, 1 user, load averages: 1.05, 1.21, 1.36

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.