![]() |
[QUOTE=chalsall;527378]I'll definitely be writing this one up! Probably easiest to do a Notebook on Github -- there are a few steps...[/QUOTE]
OK, this was a hoot to formalize and document! And it really works! I have just [URL="https://github.com/chalsall/colab_reverse_ssh/blob/master/reverse_ssh_tunnel.ipynb"]published on GitHub a Notebook[/URL] which should make setting up reverse SSH tunnels through which remote Bash shell access is possible as easy as it can be. A couple of manual steps are unavoidably needed. For anyone so interested, could I please ask you to review the Notebook, and optionally give it a try? So everyone knows, the "public-facing SSH servers" which makes this trick possible don't have to have anything special. So long as there's an open SSH port facing the Internet and you have (even unprivileged) shell access, you can use it to gain interactive shell access (with "root credentials") into one or more Colab instances. Please note that because Kaggle doesn't support the "echo -e" trick, I haven't been able to get this to work there. Probably several different other tricks can be used to change the root password on the instance, but I didn't bother trying. As always, feedback (including negative) welcomed. |
Is it me? Do I need to do something to get the latest version?
Based on my results page it would seem that both background sessions and the foreground session are all processing the same TF assignment.
… later ... Until the kernel powered off and had to be restarted. Then it got a brand new assignment different from the backgrounds; rather than noticing there are other partial assignments. … later … Though it seems the 2 background sessions are still processing the same assignments. |
Every time you restart the session, it should be the latest version.
|
[QUOTE=petrw1;527498]Based on my results page it would seem that both background sessions and the foreground session are all processing the same TF assignment.[/QUOTE]
Hmmm... Let me drill down on the logs, and see what's up. SPEs are /always/ possible! :sad: But so you (and everyone) knows, if an instance shuts down and has to be relaunched, as far as GPU72 is concerned it's a brand new instance (even if it has the same assignment key name). I haven't figured out a way to manage this yet (there might not be one) -- each instance is an ***exact*** clone -- short of "uptime" there's no way to tell them apart. And just for completeness... If an instance is stopped and then restarted (re-run), it's a different matter. The file system survives. Edit: Further to Uncwilly... Yes, every time an instance is re-run (including, of course, launched), the latest version of the Bootstrap "payload" is downloaded. |
[QUOTE=chalsall;527441]For anyone so interested, could I please ask you to review the [Reverse SSH Tunnel] Notebook, and optionally give it a try?[/QUOTE]
Just wondering if anyone has given this a try? Any feedback? Because I plan to use Colab and Kaggle in some courses I'm developing, I've decided that deploying this trick should be fully automated. My students shouldn't need SSH access to a "public-facing server" to be able to SSH into a Notebook instance to do their work. For anyone who might like to help me beta-test this, could I please ask that you PM me? Basically, I need a few people who are comfortable at a Linux console, and who would like to be able to SSH into their Colab instances while they are running -- straight from your workstation. I'll give links off to (currently hidden) URLs for you to set things up for automated tunnel building. |
I think the whole colaboratory project is brilliant, and I started running it today.
Well done :) These points may well have been answered already so please forgive me I presume that I still have to submit the results manually to Priment When the session stopped running, then I can I return back to the exponent that I was running? The next session the project started with a fresh exponent, leaving 23.35% of 97413037 of the previous exponent still outstanding Thanks |
[QUOTE=bayanne;527549]I presume that I still have to submit the results manually to Priment
The next session the project started with a fresh exponent, leaving 23.35% of 97413037 of the previous exponent still outstanding[/QUOTE] Thanks for the kind words. This was very much a collaborative effort -- many important suggestions and observations from the early beta-testers. Yes, I'm afraid I haven't yet built the bridge back to Primenet to automatically submit the results. It's a more difficult problem space than I had initially hoped. Still in the queue. And, yes, you will be given that assignment back in the (near) future. For technical reasons the server currently holds it for a while before handing it back out to another one of *your* instances to finish off. I'm currently dealing with a stupid race-condition that I haven't figured out yet, so currently, this is back to 12 hours. But I'm hoping to have this "squished" later today when I should be able to bring the recycling period down to something like 20 minutes. BTW, while I'm "talking"... Yesterday I tidied up the [URL="https://www.gpu72.com/"]GPU72 TLP[/URL] to be a bit more inviting (for years the language was written for someone who already knows all about mfakt* et al) -- I'm starting to see some traffic from "newbies"; don't want to scare them away with extreme context-specific geek. Also, I've added some additional pages for those signed in, which should make drilling down on Instance AKeys easier. This includes a new [URL="https://www.gpu72.com/account/instances/"]Notebook Access Keys[/URL] report, which will be expanded upon. |
No problem about manual submission.
Is a file called results.txt generated at all? And, yes, the unfinished exponent was given back to me to complete. |
[QUOTE=bayanne;527571]Is a file called results.txt generated at all?[/QUOTE]On the assignment page on GPU72, there is a link to your Colab results. Copy and paste to the primenet manual submission form (Chris put a handy link on the results page.)
|
[QUOTE=Uncwilly;527573]On the assignment page on GPU72, there is a link to your Colab results. Copy and paste to the primenet manual submission form (Chris put a handy link on the results page.)[/QUOTE]
Thanks, I had suspected that he might have this covered :) |
Colab factors not recognized/posted
1 Attachment(s)
I suspect a new factor-found malfunction: when TF results in a factor, this is not reported into the Instances Results page: the exponent remains assigned with a 100% completion percentage, and the subsequent communication to Primenet does not clear the relative assignment, nor the result. Attached (redacted) screenshot to hopefully make things clearer.
This behaviour is recent: until a few days ago, factors were reported flawlessly. |
| All times are UTC. The time now is 22:02. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.