Skip to content

Commit 6cde288

Browse files
committed
NNI service-defs
1 parent 7ef5d0b commit 6cde288

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

python/service-defs/nni.json

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+
}

0 commit comments

Comments
 (0)