Platform: Paperspace (Free; Paid options)

Don’t see the full error message. But paperspace have issue at the moment with torch / torch vision install. You can try installing latest versions of these libs and rasing ticket at paperspace so they can fix the error.

Hi @dkobran !

As I asked here, I’d love to use Paperspace Gradient’s GPU, while coding in my local VS Code. Kind of the opposite to what you showed in the message I replied to :slight_smile:

Does this make any sense to you, is it possible to do something like that? I’m not a fan of coding in the browser (you can find more details in the longer post I linked to)

Thanks a lot in advance!

edit: solution given by JH :heart:Visual Studio Code Remote Development

Hi @maraoz,

Just to add to the solution, you can connect a python notebook in your local VSCode instance to the Paperspace Gradient Notebook Jupyter kernel. Documentation on how to do that can be found here.

Let me know if you have any further questions about this setup.

2 Likes

2.5 years later, I came across this issue at 5am was very frustrated, but I found your solution and it worked. Thank you!

Hi how do we show the files on the Gradient server in VS Code? I can connect and create a new notebook. When I use !ls I can see my files, but they dont appear in my VS Code Explorer, so I can’t open them.

Any tips?

Hi @justinchangmusic,

Currently the connection instructions and token we have in the Gradient Notebook only allows you to connect to the remote Jupyter kernel which will allow you to run a python notebook in VSCode but doesn’t give you full access like ssh using VSCode Remote Explorer would.

However, VSCode just released the following instructions which does provide a way to tunnel in to your Gradient Notebook from your local VSCode instance. This should give you the experience you are looking for (e.g. seeing system files in VSCode and being able to open/edit them). Making Remote Development Even Better

Let me know if you have any questions about the above