runpod-compute
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseRunPod Compute
RunPod 计算资源
Use CLI for persistent GPU pods with SSH access.
runpodctl使用 CLI工具管理带有SSH访问权限的持久化GPU Pod。
runpodctlSetup
配置步骤
bash
brew install runpod/runpodctl/runpodctl # macOS
runpodctl config --apiKey=YOUR_KEYbash
brew install runpod/runpodctl/runpodctl # macOS
runpodctl config --apiKey=YOUR_KEYCommands
常用命令
| Command | Description |
|---|---|
| Create a pod |
| List all pods |
| Stop (preserves volume) |
| Resume a stopped pod |
| Terminate and delete |
| List available GPU types and prices |
| Transfer files to/from pods |
| Receive transferred files |
| 命令 | 描述 |
|---|---|
| 创建Pod |
| 列出所有Pod |
| 停止Pod(保留存储卷) |
| 恢复已停止的Pod |
| 终止并删除Pod |
| 列出可用的GPU型号及价格 |
| 在本地与Pod间传输文件 |
| 接收传输的文件 |
SSH access
SSH访问
bash
ssh root@<IP> -p <PORT> -i ~/.ssh/id_ed25519Get connection details from . Pods must expose port .
runpodctl get pod <id>22/tcpbash
ssh root@<IP> -p <PORT> -i ~/.ssh/id_ed25519从命令中获取连接信息。Pod必须开放端口。
runpodctl get pod <id>22/tcpGPU types
GPU型号
NVIDIA GeForce RTX 4090NVIDIA RTX A6000NVIDIA A40NVIDIA A100 80GB PCIeNVIDIA H100 80GB HBM3NVIDIA GeForce RTX 4090NVIDIA RTX A6000NVIDIA A40NVIDIA A100 80GB PCIeNVIDIA H100 80GB HBM3When to use
使用场景
- Long-running experiments needing persistent state
- Large dataset processing
- Multi-step work with SSH access between iterations
- Always stop or remove pods after experiments
- Check availability:
command -v runpodctl
- 需要持久化状态的长期实验
- 大型数据集处理
- 迭代过程中需要SSH访问的多步骤工作
- 实验结束后务必停止或删除Pod
- 检查可用性:
command -v runpodctl