Git Product home page Git Product logo

runpodctl's Introduction

runpodctl

runpodctl is a CLI tool to automate / manage GPU pods for runpod.io.

Please note that there is a breaking change in 1.8.0 that is incompatible with previous versions. You can check your version by typing

runpodctl version

All pods automatically come with runpodctl installed with a pod-scoped API key!

Tutorial

A very detailed tutorial that shows how to utilize runpodctl in multiple situations: https://www.youtube.com/watch?v=QN1vdGhjcRc

runpodctl chapters:

How to install runpodctl latest version to transfer files between Pods and PC

How to upload thousands of images (big data) from your computer to RunPod via runpodctl

How to send files from your PC to RunPod via runpodctl

How to download a folder from RunPod to your PC via runpodctl

How to add runpodctl to environment path to use from every folder

How to download your trained model files (ckpt) into your PC via runpodctl

install linux/osx command line

get latest binary from releases

linux

wget --quiet --show-progress https://github.com/Run-Pod/runpodctl/releases/download/v1.9.0/runpodctl-linux-amd -O runpodctl && chmod +x runpodctl && sudo cp runpodctl /usr/bin/runpodctl

osx (ARM)

wget --quiet --show-progress https://github.com/runpod/runpodctl/releases/download/v1.9.0/runpodctl-darwin-arm -O runpodctl && chmod +x runpodctl && sudo mv runpodctl /usr/local/bin/runpodctl

osx (AMD) - For Intel Processors

wget --quiet --show-progress https://github.com/runpod/runpodctl/releases/download/v1.9.0/runpodctl-darwin-amd -O runpodctl && chmod +x runpodctl && sudo mv runpodctl /usr/local/bin/runpodctl

how to transfer data

Using send or receive command does not require API keys due to built-in security of one-time codes.

Run the following on the computer that has the file you want to send

runpodctl send data.txt

The command should output something like

Sending 'data.txt' (5 B)
Code is: 8338-galileo-collect-fidel
On the other computer run

runpodctl receive 8338-galileo-collect-fidel

Run the following on the computer that you want to send the file to

runpodctl receive 8338-galileo-collect-fidel

It should start transferring with output that looks like

Receiving 'data.txt' (5 B)

Receiving (<-149.36.0.243:8692)
data.txt 100% |████████████████████| ( 5/ 5B, 0.040 kB/s)

download with windows powershell

wget https://github.com/runpod/runpodctl/releases/download/v1.9.0/runpodctl-win-amd -O runpodctl.exe


how to transfer data

Using send or receive command does not require API keys due to built-in security of one-time codes.

Run the following on the computer that has the file you want to send

./runpodctl.exe send data.txt

The command should output something like

Sending 'data.txt' (5 B)
Code is: 8338-galileo-collect-fidel
On the other computer run

runpodctl receive 8338-galileo-collect-fidel

Run the following on the computer that you want to send the file to

runpodctl receive 8338-galileo-collect-fidel

It should start transferring with output that looks like

Receiving 'data.txt' (5 B)

Receiving (<-149.36.0.243:8692)
data.txt 100% |████████████████████| ( 5/ 5B, 0.040 kB/s)

Using google drive

You can use the following links for google colab

Send

Receive

how to manage pods

Visit docs for details of all commands.

First configure the API key. You can get API key from runpod.

runpodctl config --apiKey={key}

Get all pods:

runpodctl get pod

Get a pod:

runpodctl get pod {podId}

Start an ondemand pod.

runpodctl start pod {podId}

Start a spot pod with bid. The bid price you set is the price you will pay if not outbid:

runpodctl start pod {podId} --bid=0.3

Stop a pod:

runpodctl stop pod {podId}


thanks to

runpodctl's People

Contributors

flash-singh avatar zhl146 avatar github-actions[bot] avatar furkangozukara avatar yamanahlawat avatar 0xdevalias avatar chitalian avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.