LaurentMazare / tch-rs

Rust bindings for the C++ api of PyTorch.
Apache License 2.0
4.32k stars 343 forks source link

Any way to test on the cloud but develop locally? #568

Closed danjavady closed 1 year ago

danjavady commented 1 year ago

So I don't have enough DevOps experience/knowledge nor AI knowledge to know what I'm doing here. I develop on a Mac, so I can't train things locally. I do deep learning on Google Colab but i've only been able to use python with it. Google colab is nice because it is only $13 a month

So my question is... I want to be able to develop locally but train on the cloud. I generally use scala, python, and rust and intellij offers me a lot of tooling that I lose out on relying on google colab. How can I achieve this? How can I get IntelliJ to train my models on some cloud service without having to rely on some web IDE?

LaurentMazare commented 1 year ago

I don't have much experience with this, my guess is that you would want to get ssh access to your colab instance and then you can treat it as a standard linux box. Searching for "colab ssh access" will give you pointers on how some people managed to do this. (It's also possible to run some rust code in your jupyter kernel via evcxr but I never tried this)

LaurentMazare commented 1 year ago

Closing as no update in a while.