vastai
仓库创建 2019年1月29日最近提交 2 天前SkillHot 收录 21 天前
▸ 精选理由
提供可脚本化的 CLI(支持 --raw JSON 输出),便于集成到自动化流程。
▸ 风险提示
需要 API Key 与账户权限,命令可能导致计费或资源被删除。
这个 Skill 做什么
命令行工具,用于在 Vast.ai 上管理 GPU 实例、模板、卷、无服务器端点和账单。
命令行管理你在 Vast.ai 上的 GPU 资源、模板、磁盘卷、无服务器端点和账单,方便把云算力当成本地工具来操控。会在你需要批量启动/停止实例、管理镜像或查看费用时用到,适合做自动化部署和成本管控。优点是以 CLI 为主,方便写脚本集成到 CI/CD 或运维流程里。
▸ 展开 SKILL.md 英文原文
Vast.ai CLI to manage GPU instances, volumes, serverless endpoints, and billing.
207
Stars
89
Forks
2
仓库内 Skill
+3
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/vast-ai/vast-cli/master/vastai/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/vast-ai/vast-cli/master/vastai/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# vastai Manage GPU instances, templates, volumes, serverless endpoints, SSH keys, and billing on Vast.ai. > Command is `vastai` (lowercase). Always use `--raw` for machine-readable JSON output. ## Install ```bash # PyPI (recommended) pip install vastai ``` ## Quick start ```bash vastai set api-key <YOUR_API_KEY> # Authenticate (one-time); Create API Key in account at https://console.vast.ai/manage-keys/ vastai show user # Verify auth + check balance vastai create ssh-key ~/.ssh/id_ed25519.pub # Register SSH key (do BEFORE create) vastai search offers 'gpu_name=RTX_4090 num_gpus=1 verified=true direct_port_count>=1 rentable=t
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有