神经信息平台API客户端
neuromation的Python项目详细描述
目录
- 前言
- 神经系统
- 神经工作
- 神经储存
- 神经储存cp
- 神经存储ls
- 神经储存球
- 神经储存室
- 神经存储mkdir
- 神经储存mv
- 神经储存负荷
- 神经图像
- 神经影像学
- 神经图像推送
- 神经图像拉取
- 神经图像标签
- 神经配置
- 神经配置登录
- neuro config login with token
- neuro config登录headless
- 神经配置显示
- 神经配置显示令牌
- neuro-config docker
- neuro配置注销
- 神经完成
- 神经完成生成
- 神经完成贴片
- 神经前交叉韧带
- 神经acl授予
- 神经acl revoke rel="nofollow">神经acl revoke
- 神经前交叉韧带列表
- 神经帮助
- 神经跑步
- neuro提交
- 神经性ps
- 神经状态
- 神经执行器
- 神经端口-前进
- 神经日志
- 神经杀伤
- 神经顶端
- neuro保存
- 神经登录
- neuro注销
- 神经性脑瘫
- 神经ls
- 神经室
- 神经mkdir
- 神经mv
- 神经影像
- 神经推压
- 神经牵引
- 神经共享
- api
- 贡献
前言
欢迎使用neuromation api python客户端。 包传送命令行工具称为neuro。使用neuro您可以:
- 执行和调试作业
- 操作数据
- 找点乐子
神经系统
用法:
啊!选项:
<表><广告>命令组:
<表><广告>命令:
<表><广告>神经工作
作业操作。
用法:
neuro job [OPTIONS] COMMAND [ARGS]...
选项:
<表><广告>命令:
<表><广告>神经作业运行
使用预定义的资源配置运行作业。
图像容器图像名称。
CMD列表将作为命令传递给模型容器。
用法:
neuro job run [OPTIONS] IMAGE [CMD]...
示例:
# Starts a container pytorch:latest on a machine with smaller GPU resources# (see exact values in `neuro config show`) and with two volumes mounted:# storage://~ --> /var/storage/home (in read-write mode),# storage://neuromation --> /var/storage/neuromation (in read-only mode). neuro run --preset=gpu-small --volume=HOME pytorch:latest # Starts a container using the custom image my-ubuntu:latest stored in neuromation# registry, run /script.sh and pass arg1 and arg2 as its arguments: neuro run -s cpu-small image://~/my-ubuntu:latest --entrypoint=/script.sh arg1 arg2
选项:
<表><广告>neuro config show
)entrypoint
和cmd
指令)神经工作提交
提交要在群集上运行的图像。
图像容器图像名称。
cmd列表将作为命令传递给模型容器。
用法:
neuro job submit [OPTIONS] IMAGE [CMD]...
示例:
# Starts a container pytorch:latest with two paths mounted. Directory /q1/# is mounted in read only mode to /qm directory within container.# Directory /mod mounted to /mod directory in read-write mode. neuro submit --volume storage:/q1:/qm:ro --volume storage:/mod:/mod:rw pytorch:latest # Starts a container using the custom image my-ubuntu:latest stored in neuromation# registry, run /script.sh and pass arg1 arg2 arg3 as its arguments: neuro submit image://~/my-ubuntu:latest --entrypoint=/script.sh arg1 arg2 arg3
选项:
<表><广告>entrypoint
和cmd
指令)神经工作ls
列出所有作业。
用法:
neuro job ls [OPTIONS]
示例:
neuro ps -a
neuro ps --name my-experiments-v1 -s failed -s succeeded
neuro ps --description=my favourite job
neuro ps -s failed -s succeeded -q
选项:
<表><广告>all
已弃用,请改用neuro ps-a
。\-s pending-s running-s succeeded-s failed
)神经工作状态
显示作业的状态。
用法:
neuro job status [OPTIONS] JOB
选项:
<表><广告>神经工作主管
在正在运行的作业中执行命令。
用法:
neuro [OPTIONS] COMMAND [ARGS]...0
示例:
neuro [OPTIONS] COMMAND [ARGS]...1
选项:
<表><广告>神经工作端口前进
将正在运行的作业的端口转发到本地端口。
用法:
neuro [OPTIONS] COMMAND [ARGS]...2
示例:
neuro [OPTIONS] COMMAND [ARGS]...3
选项:
<表><广告>神经工作日志
打印容器的日志。
用法:
neuro [OPTIONS] COMMAND [ARGS]...4
选项:
<表><广告>神经工作杀伤
终止作业。
用法:
neuro [OPTIONS] COMMAND [ARGS]...5
选项:
<表><广告>神经工作台
显示GPU/CPU/内存使用情况。
用法:
neuro [OPTIONS] COMMAND [ARGS]...6
选项:
<表><广告>节省神经工作
将作业状态保存到图像
用法:
neuro [OPTIONS] COMMAND [ARGS]...7
示例:
neuro [OPTIONS] COMMAND [ARGS]...8
选项:
<表><广告>神经作业浏览
在Web浏览器中打开作业的URL。
用法:
neuro [OPTIONS] COMMAND [ARGS]...9
选项:
<表><广告>神经储存
存储操作。
用法:
neuro job [OPTIONS] COMMAND [ARGS]...0
选项:
<表><广告>命令:
<表><广告>神经储存cp
复制文件和目录。
源或目标应具有storage://scheme。如果scheme被省略,则假定为file://scheme。
用法:
neuro job [OPTIONS] COMMAND [ARGS]...1
示例:
neuro job [OPTIONS] COMMAND [ARGS]...2
选项:
<表><广告>神经储存ls
列出目录内容。
默认情况下,路径等于用户的主目录(存储:)
strong>用法:
neuro job [OPTIONS] COMMAND [ARGS]...3
选项:
<表><广告>神经储存球
列出与模式匹配的资源。
用法:
neuro job [OPTIONS] COMMAND [ARGS]...4
选项:
<表><广告>神经储存室
删除文件或目录。
用法:
neuro job [OPTIONS] COMMAND [ARGS]...5
示例:
neuro job [OPTIONS] COMMAND [ARGS]...6
选项:
<表><广告>神经存储mkdir
制作目录。
用法:
neuro job [OPTIONS] COMMAND [ARGS]...7
选项:
<表><广告>神经储存mv
移动或重命名文件和目录。
source必须包含存储中现有文件或目录的路径,
destination必须包含目标文件或目录的完整路径。
用法:
neuro job [OPTIONS] COMMAND [ARGS]...8
示例:
neuro job [OPTIONS] COMMAND [ARGS]...9
选项:
<表><广告>神经储存负荷
使用minio复制文件和目录(实验)。
与"cp"相同,但使用minio和amazon s3协议。
用法:
neuro job run [OPTIONS] IMAGE [CMD]...0
选项:
<表><广告>神经影像
容器图像操作。
用法:
neuro job run [OPTIONS] IMAGE [CMD]...1
选项:
<表><广告>命令:<表><广告>
神经图像ls
列出图像。
用法:
neuro job run [OPTIONS] IMAGE [CMD]...2
选项:
<表><广告>神经图像推送
将图像推送到平台注册表。
远程图像必须是带有image://scheme的url。图像名称可以包含标记。
如果未指定"最新"标记,则将其用作值。
用法:
neuro job run [OPTIONS] IMAGE [CMD]...3
示例:
neuro job run [OPTIONS] IMAGE [CMD]...4
选项:
<表><广告>神经图像拉取
从平台注册表中提取图像。
图像名称可以包含
标记。
用法:
neuro job run [OPTIONS] IMAGE [CMD]...5
示例:
neuro job run [OPTIONS] IMAGE [CMD]...6
选项:
<表><广告>神经图像标签
在平台注册表中列出图像的标记。
图像名称必须是带有image://scheme的url。
用法:
neuro job run [OPTIONS] IMAGE [CMD]...7
示例:
neuro job run [OPTIONS] IMAGE [CMD]...8
选项:
<表><广告>神经形态
客户端配置。
用法:
neuro job run [OPTIONS] IMAGE [CMD]...9
选项:
<表><广告>命令:
<表><广告>Neuro配置登录
登录神经信息平台.
url是平台入口点url。
用法:
# Starts a container pytorch:latest on a machine with smaller GPU resources# (see exact values in `neuro config show`) and with two volumes mounted:# storage://~ --> /var/storage/home (in read-write mode),# storage://neuromation --> /var/storage/neuromation (in read-only mode). neuro run --preset=gpu-small --volume=HOME pytorch:latest # Starts a container using the custom image my-ubuntu:latest stored in neuromation# registry, run /script.sh and pass arg1 and arg2 as its arguments: neuro run -s cpu-small image://~/my-ubuntu:latest --entrypoint=/script.sh arg1 arg20
选项:
<表><广告>使用令牌登录neuro配置
使用令牌登录神经信息平台。
token是神经信息管理团队提供的身份验证令牌。
url是平台入口点url。
用法:
# Starts a container pytorch:latest on a machine with smaller GPU resources# (see exact values in `neuro config show`) and with two volumes mounted:# storage://~ --> /var/storage/home (in read-write mode),# storage://neuromation --> /var/storage/neuromation (in read-only mode). neuro run --preset=gpu-small --volume=HOME pytorch:latest # Starts a container using the custom image my-ubuntu:latest stored in neuromation# registry, run /script.sh and pass arg1 and arg2 as its arguments: neuro run -s cpu-small image://~/my-ubuntu:latest --entrypoint=/script.sh arg1 arg21
选项:
<表><广告>neuro-config无头登录
从非gui服务器环境登录到neuromation平台。
url是一个平台入口点url。
该命令的工作方式与"neuro登录"类似,但不是打开浏览器来执行oauth注册,而是打印一个应该在guest
主机上打开的url。
用户在neuro命令中输入成功登录后显示在浏览器中的代码
,以完成登录过程。
用法:
# Starts a container pytorch:latest on a machine with smaller GPU resources# (see exact values in `neuro config show`) and with two volumes mounted:# storage://~ --> /var/storage/home (in read-write mode),# storage://neuromation --> /var/storage/neuromation (in read-only mode). neuro run --preset=gpu-small --volume=HOME pytorch:latest # Starts a container using the custom image my-ubuntu:latest stored in neuromation# registry, run /script.sh and pass arg1 and arg2 as its arguments: neuro run -s cpu-small image://~/my-ubuntu:latest --entrypoint=/script.sh arg1 arg22
选项:
<表><广告>神经配置显示
打印当前设置。
用法:
# Starts a container pytorch:latest on a machine with smaller GPU resources# (see exact values in `neuro config show`) and with two volumes mounted:# storage://~ --> /var/storage/home (in read-write mode),# storage://neuromation --> /var/storage/neuromation (in read-only mode). neuro run --preset=gpu-small --volume=HOME pytorch:latest # Starts a container using the custom image my-ubuntu:latest stored in neuromation# registry, run /script.sh and pass arg1 and arg2 as its arguments: neuro run -s cpu-small image://~/my-ubuntu:latest --entrypoint=/script.sh arg1 arg23
选项:
<表><广告>神经配置显示令牌
打印当前授权令牌。
用法:
# Starts a container pytorch:latest on a machine with smaller GPU resources# (see exact values in `neuro config show`) and with two volumes mounted:# storage://~ --> /var/storage/home (in read-write mode),# storage://neuromation --> /var/storage/neuromation (in read-only mode). neuro run --preset=gpu-small --volume=HOME pytorch:latest # Starts a container using the custom image my-ubuntu:latest stored in neuromation# registry, run /script.sh and pass arg1 and arg2 as its arguments: neuro run -s cpu-small image://~/my-ubuntu:latest --entrypoint=/script.sh arg1 arg24
选项:
<表><广告>神经配置docker
配置Docker客户端以使用平台注册表
用法:
# Starts a container pytorch:latest on a machine with smaller GPU resources# (see exact values in `neuro config show`) and with two volumes mounted:# storage://~ --> /var/storage/home (in read-write mode),# storage://neuromation --> /var/storage/neuromation (in read-only mode). neuro run --preset=gpu-small --volume=HOME pytorch:latest # Starts a container using the custom image my-ubuntu:latest stored in neuromation# registry, run /script.sh and pass arg1 and arg2 as its arguments: neuro run -s cpu-small image://~/my-ubuntu:latest --entrypoint=/script.sh arg1 arg25
选项:
<表><广告>Neuro配置注销
注销。
用法:
# Starts a container pytorch:latest on a machine with smaller GPU resources# (see exact values in `neuro config show`) and with two volumes mounted:# storage://~ --> /var/storage/home (in read-write mode),# storage://neuromation --> /var/storage/neuromation (in read-only mode). neuro run --preset=gpu-small --volume=HOME pytorch:latest # Starts a container using the custom image my-ubuntu:latest stored in neuromation# registry, run /script.sh and pass arg1 and arg2 as its arguments: neuro run -s cpu-small image://~/my-ubuntu:latest --entrypoint=/script.sh arg1 arg26
选项:
<表><广告>神经完成
输出外壳完成代码。
用法:
# Starts a container pytorch:latest on a machine with smaller GPU resources# (see exact values in `neuro config show`) and with two volumes mounted:# storage://~ --> /var/storage/home (in read-write mode),# storage://neuromation --> /var/storage/neuromation (in read-only mode). neuro run --preset=gpu-small --volume=HOME pytorch:latest # Starts a container using the custom image my-ubuntu:latest stored in neuromation# registry, run /script.sh and pass arg1 and arg2 as its arguments: neuro run -s cpu-small image://~/my-ubuntu:latest --entrypoint=/script.sh arg1 arg27
选项:
<表><广告>命令:
<表><广告>神经完成生成
提供生成外壳完成的指令。
用法:
# Starts a container pytorch:latest on a machine with smaller GPU resources# (see exact values in `neuro config show`) and with two volumes mounted:# storage://~ --> /var/storage/home (in read-write mode),# storage://neuromation --> /var/storage/neuromation (in read-only mode). neuro run --preset=gpu-small --volume=HOME pytorch:latest # Starts a container using the custom image my-ubuntu:latest stored in neuromation# registry, run /script.sh and pass arg1 and arg2 as its arguments: neuro run -s cpu-small image://~/my-ubuntu:latest --entrypoint=/script.sh arg1 arg28
选项:
<表><广告>神经完成补片
自动修补shell配置启用完成的持续时间配置文件
用法:
# Starts a container pytorch:latest on a machine with smaller GPU resources# (see exact values in `neuro config show`) and with two volumes mounted:# storage://~ --> /var/storage/home (in read-write mode),# storage://neuromation --> /var/storage/neuromation (in read-only mode). neuro run --preset=gpu-small --volume=HOME pytorch:latest # Starts a container using the custom image my-ubuntu:latest stored in neuromation# registry, run /script.sh and pass arg1 and arg2 as its arguments: neuro run -s cpu-small image://~/my-ubuntu:latest --entrypoint=/script.sh arg1 arg29
选项:
<表><广告>神经前交叉韧带
访问控制列表管理。
用法:
neuro job submit [OPTIONS] IMAGE [CMD]...0
选项:
<表><广告>命令:
<表><广告>神经acl补助
将uri指定的资源共享给具有权限的用户
用法:
neuro job submit [OPTIONS] IMAGE [CMD]...1
示例:
neuro job submit [OPTIONS] IMAGE [CMD]...2
选项:
<表><广告>神经acl撤销
撤消用户对
uri
用法:
neuro job submit [OPTIONS] IMAGE [CMD]...3
示例:
neuro job submit [OPTIONS] IMAGE [CMD]...4
选项:
<表><广告>神经前交叉韧带列表
列出可供用户使用或由用户共享的资源
用法:
neuro job submit [OPTIONS] IMAGE [CMD]...5
示例:
neuro job submit [OPTIONS] IMAGE [CMD]...6
选项:
<表><广告>神经帮助
获取有关命令的帮助。
用法:
neuro job submit [OPTIONS] IMAGE [CMD]...7
选项:
<表><广告>神经运行
使用预定义的资源配置运行作业。
图像容器图像名称。
CMD列表将作为命令传递给模型容器。
用法:
neuro job submit [OPTIONS] IMAGE [CMD]...8
示例:
# Starts a container pytorch:latest on a machine with smaller GPU resources# (see exact values in `neuro config show`) and with two volumes mounted:# storage://~ --> /var/storage/home (in read-write mode),# storage://neuromation --> /var/storage/neuromation (in read-only mode). neuro run --preset=gpu-small --volume=HOME pytorch:latest # Starts a container using the custom image my-ubuntu:latest stored in neuromation# registry, run /script.sh and pass arg1 and arg2 as its arguments: neuro run -s cpu-small image://~/my-ubuntu:latest --entrypoint=/script.sh arg1 arg2
选项:
<表><广告>neuro config show
)entrypoint
和cmd
指令)神经提交
提交要在群集上运行的图像。
图像容器图像名称。
cmd列表将作为命令传递给模型容器。
用法:
# Starts a container pytorch:latest with two paths mounted. Directory /q1/# is mounted in read only mode to /qm directory within container.# Directory /mod mounted to /mod directory in read-write mode. neuro submit --volume storage:/q1:/qm:ro --volume storage:/mod:/mod:rw pytorch:latest # Starts a container using the custom image my-ubuntu:latest stored in neuromation# registry, run /script.sh and pass arg1 arg2 arg3 as its arguments: neuro submit image://~/my-ubuntu:latest --entrypoint=/script.sh arg1 arg2 arg30
示例:
# Starts a container pytorch:latest with two paths mounted. Directory /q1/# is mounted in read only mode to /qm directory within container.# Directory /mod mounted to /mod directory in read-write mode. neuro submit --volume storage:/q1:/qm:ro --volume storage:/mod:/mod:rw pytorch:latest # Starts a container using the custom image my-ubuntu:latest stored in neuromation# registry, run /script.sh and pass arg1 arg2 arg3 as its arguments: neuro submit image://~/my-ubuntu:latest --entrypoint=/script.sh arg1 arg2 arg3
选项:
<表><广告>entrypoint
和cmd
指令)神经ps
L列出所有作业。
用法:
# Starts a container pytorch:latest with two paths mounted. Directory /q1/# is mounted in read only mode to /qm directory within container.# Directory /mod mounted to /mod directory in read-write mode. neuro submit --volume storage:/q1:/qm:ro --volume storage:/mod:/mod:rw pytorch:latest # Starts a container using the custom image my-ubuntu:latest stored in neuromation# registry, run /script.sh and pass arg1 arg2 arg3 as its arguments: neuro submit image://~/my-ubuntu:latest --entrypoint=/script.sh arg1 arg2 arg32
示例:
neuro ps -a
neuro ps --name my-experiments-v1 -s failed -s succeeded
neuro ps --description=my favourite job
neuro ps -s failed -s succeeded -q
选项:
<表><广告>all
已弃用,请改用neuro ps-a
。\-s pending-s running-s succeeded-s failed
)神经状态
显示作业的状态。
用法:
# Starts a container pytorch:latest with two paths mounted. Directory /q1/# is mounted in read only mode to /qm directory within container.# Directory /mod mounted to /mod directory in read-write mode. neuro submit --volume storage:/q1:/qm:ro --volume storage:/mod:/mod:rw pytorch:latest # Starts a container using the custom image my-ubuntu:latest stored in neuromation# registry, run /script.sh and pass arg1 arg2 arg3 as its arguments: neuro submit image://~/my-ubuntu:latest --entrypoint=/script.sh arg1 arg2 arg34
选项:
<表><广告>神经执行器
在正在运行的作业中执行命令。
用法:
# Starts a container pytorch:latest with two paths mounted. Directory /q1/# is mounted in read only mode to /qm directory within container.# Directory /mod mounted to /mod directory in read-write mode. neuro submit --volume storage:/q1:/qm:ro --volume storage:/mod:/mod:rw pytorch:latest # Starts a container using the custom image my-ubuntu:latest stored in neuromation# registry, run /script.sh and pass arg1 arg2 arg3 as its arguments: neuro submit image://~/my-ubuntu:latest --entrypoint=/script.sh arg1 arg2 arg35
示例:
neuro [OPTIONS] COMMAND [ARGS]...1
选项:
<表><广告>神经端口前进
将正在运行的作业的端口转发到本地端口。
用法:
# Starts a container pytorch:latest with two paths mounted. Directory /q1/# is mounted in read only mode to /qm directory within container.# Directory /mod mounted to /mod directory in read-write mode. neuro submit --volume storage:/q1:/qm:ro --volume storage:/mod:/mod:rw pytorch:latest # Starts a container using the custom image my-ubuntu:latest stored in neuromation# registry, run /script.sh and pass arg1 arg2 arg3 as its arguments: neuro submit image://~/my-ubuntu:latest --entrypoint=/script.sh arg1 arg2 arg37
示例:
neuro [OPTIONS] COMMAND [ARGS]...3
选项:
<表><广告>神经日志
打印容器的日志。
用法:
# Starts a container pytorch:latest with two paths mounted. Directory /q1/# is mounted in read only mode to /qm directory within container.# Directory /mod mounted to /mod directory in read-write mode. neuro submit --volume storage:/q1:/qm:ro --volume storage:/mod:/mod:rw pytorch:latest # Starts a container using the custom image my-ubuntu:latest stored in neuromation# registry, run /script.sh and pass arg1 arg2 arg3 as its arguments: neuro submit image://~/my-ubuntu:latest --entrypoint=/script.sh arg1 arg2 arg39
选项:
<表><广告>神经杀伤
终止作业。
用法:
neuro job ls [OPTIONS]0
选项:
<表><广告>神经顶端
显示GPU/CPU/内存使用情况。
用法:
neuro job ls [OPTIONS]1
选项:
<表><广告>神经保存
将作业状态保存到图像
用法:
neuro job ls [OPTIONS]2
示例:
neuro [OPTIONS] COMMAND [ARGS]...8
选项:
<表><广告>神经登录
登录神经信息平台。
url是平台入口点url。
用法:
neuro job ls [OPTIONS]4
选项:
<表><广告>神经退出
注销。
用法:
neuro job ls [OPTIONS]5
选项:
<表><广告>神经cp
复制文件和目录。
源或目标应具有storage://scheme。如果scheme被省略,则假定为file://scheme。
用法:
neuro job ls [OPTIONS]6
示例:
neuro job [OPTIONS] COMMAND [ARGS]...2
选项:
<表><广告>神经ls
列出目录内容。
默认情况下,路径等于用户的主目录(存储:)
用法:
neuro job ls [OPTIONS]8
选项:
<表><广告>神经rm
删除文件或目录。
用法:
neuro job ls [OPTIONS]9
示例:
neuro job [OPTIONS] COMMAND [ARGS]...6
选项:
<表><广告>神经mkdir
制作目录。
用法:
neuro ps -a
neuro ps --name my-experiments-v1 -s failed -s succeeded
neuro ps --description=my favourite job
neuro ps -s failed -s succeeded -q
1
选项:
<表><广告>神经mv
移动或重命名文件和目录。
source必须包含存储中现有文件或目录的路径,
destination必须包含目标文件或目录的完整路径。
用法:
neuro ps -a
neuro ps --name my-experiments-v1 -s failed -s succeeded
neuro ps --description=my favourite job
neuro ps -s failed -s succeeded -q
2
示例:
neuro job [OPTIONS] COMMAND [ARGS]...9
选项:
<表><广告>神经影像
列出图像。
用法:
neuro ps -a
neuro ps --name my-experiments-v1 -s failed -s succeeded
neuro ps --description=my favourite job
neuro ps -s failed -s succeeded -q
4
< < > STRong>选项:<表><广告>神经推压
将图像推送到平台注册表。
远程图像必须是带有image://scheme的url。图像名称可以包含标记。
如果未指定"最新"标记,则将其用作值。
用法:
neuro ps -a
neuro ps --name my-experiments-v1 -s failed -s succeeded
neuro ps --description=my favourite job
neuro ps -s failed -s succeeded -q
5
示例:
neuro job run [OPTIONS] IMAGE [CMD]...4
选项:
<表><广告>神经牵拉
从平台注册表中提取图像。
图像名称可以包含
标记。
用法:
neuro ps -a
neuro ps --name my-experiments-v1 -s failed -s succeeded
neuro ps --description=my favourite job
neuro ps -s failed -s succeeded -q
7
示例:
neuro job run [OPTIONS] IMAGE [CMD]...6
选项:
<表><广告>神经共享
将uri指定的资源共享给具有权限的用户
用法:
neuro ps -a
neuro ps --name my-experiments-v1 -s failed -s succeeded
neuro ps --description=my favourite job
neuro ps -s failed -s succeeded -q
9
示例:
neuro job submit [OPTIONS] IMAGE [CMD]...2
选项:
<表><广告>API
待办事项
开始之前,建议安装干净的虚拟环境: 开发流程:贡献
neuro job status [OPTIONS] JOB
1
neuro job status [OPTIONS] JOB
2
make init
进行测试
制作绒布
发布
推荐PyPI第三方库