diff --git a/config-cn.json b/config-cn.json index 8f6fb30..cfd598b 100644 --- a/config-cn.json +++ b/config-cn.json @@ -20,6 +20,16 @@ "config": "{ports:\n [ {containerPort: 22,\n name: devbox-ssh-port,\n protocol: TCP}]\n appPorts:\n [{port: 8080,\n name: devbox-app-port,\n protocol: TCP}]\n user: devbox,\n workingDir: /home/devbox/project,\n releaseCommand:\n [/bin/bash\n , -c]\n releaseArgs:\n [/home/devbox/project/entrypoint.sh]}" } ] + }, + { + "name": "pytorch", + "version": [ + { + "name": "pytorch", + "image": "ghcr.io/labring-actions/devbox/pytorch-pytorch:d40e5f", + "config": "{ports:\n [ {containerPort: 22,\n name: devbox-ssh-port,\n protocol: TCP}]\n appPorts:\n [{port: 8080,\n name: devbox-app-port,\n protocol: TCP}]\n user: devbox,\n workingDir: /home/devbox/project,\n releaseCommand:\n [/bin/bash\n , -c]\n releaseArgs:\n [/home/devbox/project/entrypoint.sh]}" + } + ] } ], "Language": [ diff --git a/config.json b/config.json index 05798b1..53cbd5e 100644 --- a/config.json +++ b/config.json @@ -250,6 +250,16 @@ "config": "{ports:\n [ {containerPort: 22,\n name: devbox-ssh-port,\n protocol: TCP}]\n appPorts:\n [{port: 8080,\n name: devbox-app-port,\n protocol: TCP}]\n user: devbox,\n workingDir: /home/devbox/project,\n releaseCommand:\n [/bin/bash\n , -c]\n releaseArgs:\n [/home/devbox/project/entrypoint.sh]}" } ] + }, + { + "name": "pytorch", + "version": [ + { + "name": "pytorch", + "image": "ghcr.io/labring-actions/devbox/pytorch-pytorch:d40e5f", + "config": "{ports:\n [ {containerPort: 22,\n name: devbox-ssh-port,\n protocol: TCP}]\n appPorts:\n [{port: 8080,\n name: devbox-app-port,\n protocol: TCP}]\n user: devbox,\n workingDir: /home/devbox/project,\n releaseCommand:\n [/bin/bash\n , -c]\n releaseArgs:\n [/home/devbox/project/entrypoint.sh]}" + } + ] } ], "Language": [ diff --git a/yaml/cn/Framework/pytorch/pytorch.yaml b/yaml/cn/Framework/pytorch/pytorch.yaml new file mode 100644 index 0000000..cd1136c --- /dev/null +++ b/yaml/cn/Framework/pytorch/pytorch.yaml @@ -0,0 +1,39 @@ +apiVersion: devbox.sealos.io/v1alpha1 +kind: Runtime +metadata: + name: pytorch-pytorch-2024-12-10-0431 + namespace: devbox-system + annotations: + devbox.sealos.io/defaultVersion: "false" +spec: + classRef: pytorch + config: + image: ghcr.io/labring-actions/devbox/pytorch-pytorch:d40e5f + ports: + - containerPort: 22 + name: devbox-ssh-port + protocol: TCP + appPorts: + - port: 8080 + name: devbox-app-port + protocol: TCP + user: devbox + workingDir: /home/devbox/project + releaseCommand: + - /bin/bash + - -c + releaseArgs: + - /home/devbox/project/entrypoint.sh + description: pytorch pytorch + version: "pytorch" + runtimeVersion: 2024-12-10-0431 + state: active +--- +apiVersion: devbox.sealos.io/v1alpha1 +kind: RuntimeClass +metadata: + name: pytorch +spec: + title: "pytorch" + kind: Framework + description: pytorch diff --git a/yaml/en/Framework/pytorch/pytorch.yaml b/yaml/en/Framework/pytorch/pytorch.yaml new file mode 100644 index 0000000..cd1136c --- /dev/null +++ b/yaml/en/Framework/pytorch/pytorch.yaml @@ -0,0 +1,39 @@ +apiVersion: devbox.sealos.io/v1alpha1 +kind: Runtime +metadata: + name: pytorch-pytorch-2024-12-10-0431 + namespace: devbox-system + annotations: + devbox.sealos.io/defaultVersion: "false" +spec: + classRef: pytorch + config: + image: ghcr.io/labring-actions/devbox/pytorch-pytorch:d40e5f + ports: + - containerPort: 22 + name: devbox-ssh-port + protocol: TCP + appPorts: + - port: 8080 + name: devbox-app-port + protocol: TCP + user: devbox + workingDir: /home/devbox/project + releaseCommand: + - /bin/bash + - -c + releaseArgs: + - /home/devbox/project/entrypoint.sh + description: pytorch pytorch + version: "pytorch" + runtimeVersion: 2024-12-10-0431 + state: active +--- +apiVersion: devbox.sealos.io/v1alpha1 +kind: RuntimeClass +metadata: + name: pytorch +spec: + title: "pytorch" + kind: Framework + description: pytorch