Skip to content

Commit ac607e8

Browse files
committed
Update README.md
1 parent 9f85508 commit ac607e8

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,29 @@ python my_script.py 2 80 sigmoid 0.1
4343
python 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

0 commit comments

Comments
 (0)