Reverse Engineering Google Colab
dagshub.com
dagshub.com
The most interesting thing was a custom binary that mounts your Google drive as a folder. I was able to copy it off colab and use it on my own Linux boxes, which was handy in a “oh neat, lookie there” kind of way. I assume it’ll break whenever they update their api, but you’d still be able to just grab the new binary from a random colab instance.
There’s also a custom script they run to set up everything, using Node. It spawns a bunch of stuff that I’ve forgotten. (It was 2019 when I was poking around, and a pandemic has a nice way of wiping one’s memory of ye olden hacking days. Still a bit sad I never got to go to the tensorflow conference.)
Anyway just ssh in and ls -la / and you’ll see one or two interesting folders. You can rsync them down to your box and examine at your leisure.
https://research.google.com/colaboratory/faq.html#limitation...
Good catch though. I didn’t know that.
When I originally figured out how to ssh in, I kept it a secret figuring that it’d be a matter of time till they clamped down. Guess it took a few years, or I just missed it. Bunch of us in the ML scene used to do it regularly, since it’s way easier to monitor a training run via tmux.
> circumvent, reverse-engineer, modify, disable, or otherwise tamper with any security technology that Google uses to protect the Paid Service or encourage or help anyone else to do so;
> access the Paid Service other than by means authorized by Google; or
I'm not sure what exactly they mean by "means authorized by Google".
Not quite the same thing I guess.
Just came here to note that we read all of our in-product feedback submissions as well as GitHub issues: https://github.com/googlecolab/colabtools/issues
If you've got feature requests or encounter bugs we appreciate you filing!
I can imagine plenty of teenagers interested in programming would like to tinker on Colab. However, Google restricts the service to people 18 and above.
I can think of the "players interact" element of game ratings (and the fundamentally open-ended nature of that) but not much else. Perhaps it's mostly just moderation/policy?
That isn't what Colab is intended for. Google has better and more productive tools for companies who can fit the bill, which is getting cheaper over time.
AI Notebooks behave the same in practice as Google Colab with one-click one/off for model testing + JupyterLab. If you want to minimize costs via spot instances, you can deploy a Compute Engine with the Deep Learning VM image, which also includes a running JupyterLab on launch if need to use that workflow, and also saves time by including your framework of choice. A spot VM with a T4 GPU is about $0.18/hour.
pops a terminal inline in the colab notbook on the backing vm. super useful if you get tired of having to shell execute all the time via the cell interface.