抢先体验。CLI 目前仅向抢先体验客户开放,其命令仍可能变化。CLI 能完成的所有操作,也都可以通过 SSH 和控制台完成。已有在用服务器的客户可通过工单申请访问权限。
安装
抢先体验客户可在控制台中找到安装命令和个人访问令牌。除非安装命令来自我们,否则切勿从公共软件仓库安装名为“coregpu”的软件包。安装完成后:
coregpu login
查看实时库存
coregpu gpus
coregpu gpus --available --sort price
部署服务器
coregpu deploy b300 --gpus 8 --image pytorch-cuda --ssh-key ~/.ssh/id_ed25519.pub
该命令会预留 GPU,从余额中支付首月费用,等待服务器就绪,然后输出 SSH 命令。
管理服务器
coregpu servers # list your servers and renewal dates
coregpu ssh <server> # open an SSH session
coregpu renew <server> --gpus 4
coregpu stop <server> # stop at the end of the current month
不使用 CLI
实时库存始终可以通过公开的库存 API 获取,所有服务器也都通过标准 SSH 管理。
