Skip to content
Snippets Groups Projects
Commit f923dcba authored by Lukáš Krupčík's avatar Lukáš Krupčík
Browse files

add reservation

parent c2cc06a8
No related branches found
Tags v2.0.0-beta.4
No related merge requests found
......@@ -10,6 +10,7 @@ form:
- num_gpus
- version
- working_dir
- reservation
attributes:
custom_queue:
......@@ -60,3 +61,8 @@ attributes:
data-target-file-type: dirs # Valid values are: files, dirs, or both
readonly: false
help: "Select your project directory; defaults to $HOME"
reservation:
label: "Reservation"
value: "none"
help: "Use only for reservation"
......@@ -25,4 +25,7 @@ script:
<%- if gpu -%>
- "--gpus <%= ng %>"
- "--comment='use:xorg=True'"
<%- end -%>
\ No newline at end of file
<%- end -%>
<%- if reservation && reservation != "none" -%>
- "--reservation=<%= reservation %>"
<%- end -%>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment