File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,29 @@ python my_script.py 2 80 sigmoid 0.1
4343python my_script.py 2 80 tanh 0.1
4444```
4545
46+ Another possiblility is to generate range of argumenst.
47+ `` smart_dispatch.py -q qtest@mp2 launch python my_script.py [1:4] ``
48+
49+ Will generate:
50+ ```
51+ python my_script.py 1
52+ python my_script.py 2
53+ python my_script.py 3
54+ ```
55+
56+ You can also add a step size to the range as the 3rd argument.
57+ `` smart_dispatch.py -q qtest@mp2 launch python my_script.py [1:10:2] ``
58+
59+ Will generate:
60+ ```
61+ python my_script.py 1
62+ python my_script.py 3
63+ python my_script.py 5
64+ python my_script.py 7
65+ python my_script.py 9
66+
67+ ```
68+
4669### Resuming job/batch
4770` smart_dispatch.py -q qtest@mp2 resume {batch_id} `
4871
You can’t perform that action at this time.
0 commit comments