SuperAPI AI 工具集

runpod-compute

数据与分析

查看项目

更新于 10-15 20:24

技能介绍

用途:在特定研究任务中,用 runpodctl CLI 创建带 SSH 访问的持久 GPU Pod,适用于需要保留状态的长时间实验、复现或基准测试所需的大型数据集,以及需要多步迭代并通过 SSH 操作的研究工作。该技能不用于研究任务之外的供应商管理,每个 Pod 都应绑定到具体的复现、基准或数据密集型研究目标。

主要能力:创建 Pod、列出 Pod、停止(保留卷)、启动已停止的 Pod、终止并删除 Pod、列出可用 GPU 类型与价格、在本地与 Pod 之间传输文件。

安装与配置:macOS 可用 brew install runpod/runpodctl/runpodctl;随后执行 runpodctl config --apiKey=YOUR_KEY。

常用命令:runpodctl create pod --gpuType "NVIDIA A100 80GB PCIe" --imageName "runpod/pytorch:2.4.0-py3.11-cuda12.4.1-devel-ubuntu22.04" --name experiment;runpodctl get pod;runpodctl stop pod <id>;runpodctl start pod <id>;runpodctl remove pod <id>;runpodctl gpu list;runpodctl send <file>;runpodctl receive <code>。

SSH 访问:ssh root@<IP> -p <PORT> -i ~/.ssh/id_ed25519。连接信息可通过 runpodctl get pod <id> 获取,Pod 需暴露 22/tcp 端口。

支持的 GPU 类型:NVIDIA GeForce RTX 4090、NVIDIA RTX A6000、NVIDIA A40、NVIDIA A100 80GB PCIe、NVIDIA H100 80GB HBM3。

限制与注意:实验结束后应始终停止或删除 Pod;可用 command -v runpodctl 检查命令是否可用。资料未提供具体计费、配额、区域或权限细节。