🦄

How to make the Kaggle environment in RunPod

2024/08/27に公開

1. What is the RunPod?

RunPod is one of the GPU cloud services with a fee per time. We can use high-performance GPUs on the cloud.

I wrote the article to start up the runpod. please refer as you need.
https://zenn.dev/yuto_mo/articles/fb0d4cb876b354

2. How to make up the Kaggle environment

There is an image for Kaggle on Docker, so we will register this as a template for RunPod.

Please fill in the settings like this from New Template button in Template tab:

  • Please define the container disk and volume disk as you like.

The rests are easy, create the pod with kaggle template ans deploy it.

3. Connect

You can connect by the ssh command like this:

ssh kedqiwenfi43bto4t-634636@ssh.runpod.io -i ~/.ssh/id_ed25519

you can check the command from pods "connect" button.

I could connect from terminal, but I can't connect from vscode remote-ssh.
I'm glad to tell me if you know that how to connect the server from vscode.

4. Summary

This time, I explained about kaggle environment in runpod. If you want to connect to server, I reccomend you to utilize the pytorch templates and install some needed libraries for kaggle at this time(now, kaggle env use pytorch 2.4).

Discussion