Skip to content

Commit 8efe2da

Browse files
committed
add service-defs for TF1
1 parent 46daa59 commit 8efe2da

File tree

10 files changed

+142
-0
lines changed

10 files changed

+142
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"command": [
3+
"{runtime_path}", "-m", "digits"
4+
]
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"command": [
3+
"{runtime_path}", "-m", "IPython"
4+
]
5+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"prestart": [
3+
{
4+
"action": "write_tempfile",
5+
"args": {
6+
"body": [
7+
"c.NotebookApp.allow_root = True\n",
8+
"c.NotebookApp.ip = \"0.0.0.0\"\n",
9+
"c.NotebookApp.port = {ports[0]}\n",
10+
"c.NotebookApp.token = \"\"\n",
11+
"c.FileContentsManager.delete_to_trash = False\n"
12+
]
13+
},
14+
"ref": "jupyter_cfg"
15+
}
16+
],
17+
"command": [
18+
"{runtime_path}", "-m", "notebook", "--no-browser", "--config", "{jupyter_cfg}"
19+
]
20+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"prestart": [
3+
{
4+
"action": "write_tempfile",
5+
"args": {
6+
"body": [
7+
"c.NotebookApp.allow_root = True\n",
8+
"c.NotebookApp.ip = \"0.0.0.0\"\n",
9+
"c.NotebookApp.port = {ports[0]}\n",
10+
"c.NotebookApp.token = \"\"\n",
11+
"c.FileContentsManager.delete_to_trash = False\n"
12+
]
13+
},
14+
"ref": "jupyter_cfg"
15+
}
16+
],
17+
"command": [
18+
"{runtime_path}", "-m", "jupyterlab", "--no-browser", "--config", "{jupyter_cfg}"
19+
]
20+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"prestart": [],
3+
"command": [
4+
"/usr/local/bin/mlflow",
5+
"ui",
6+
"--host",
7+
"0.0.0.0"
8+
]
9+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"prestart": [
3+
{
4+
"action": "mkdir",
5+
"args": {
6+
"path": "/home/work/.config/nni"
7+
}
8+
}
9+
],
10+
"command": [
11+
"{runtime_path}",
12+
"-m", "nni.main",
13+
"--logdir", "/home/work/logs",
14+
"--create", "/home/work/.config/nni/config.yml",
15+
"--host", "0.0.0.0",
16+
"--port", "{ports[0]}"
17+
]
18+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"command": [
3+
"{runtime_path}", "-m", "sftpserver", "--port", "{ports[0]}"
4+
]
5+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"prestart": [
3+
{
4+
"action": "mkdir",
5+
"args": {
6+
"path": "/home/work/logs"
7+
}
8+
}
9+
],
10+
"command": [
11+
"{runtime_path}",
12+
"-m", "tensorboard.main",
13+
"--port", "{ports[0]}"
14+
],
15+
"allowed_arguments": [
16+
"--logdir"
17+
],
18+
"default_arguments": {
19+
"--logdir": "/home/work/logs"
20+
}
21+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"prestart": [
3+
{
4+
"action": "mkdir",
5+
"args": {
6+
"path": "/home/work/logs"
7+
}
8+
}
9+
],
10+
"command": [
11+
"{runtime_path}",
12+
"-m", "tensorboard.main",
13+
"--port", "{ports[0]}",
14+
"--bind_all"
15+
],
16+
"allowed_arguments": [
17+
"--logdir"
18+
],
19+
"default_arguments": {
20+
"--logdir": "/home/work/logs"
21+
}
22+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"prestart": [],
3+
"command": [
4+
"/opt/kernel/code-server",
5+
"--port", "{ports[0]}",
6+
"--extensions-dir", "/etc/backend.ai/vscode-exts"
7+
],
8+
"allowed_arguments": [
9+
"--auth"
10+
],
11+
"allowed_envs": [
12+
"PASSWORD"
13+
],
14+
"default_arguments": {
15+
"--auth": "none"
16+
}
17+
}

0 commit comments

Comments
 (0)