I have been following this thread to remote in through VSCode using SSH and ngrok Configuring Google Colab Like A Pro. It works pretty good. But I have encountered two problems:
Q1. How to setup GPU from VSCode? In the Colab there is a dropdown menu, where you could select GPU to accelerate the training process. But how do we do it in VScode through SSH?
Q2. How to prevent kicking off from Colab? I have read a trick in this Configuring Google Colab Like a Pro and How to prevent Google Colab from disconnecting. But they are not intended to be used in the VScode environment through SSH. Basically it has to be run in the Colab cell.
Thanks.