generated from recursionpharma/bc_jupyter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.yml.erb
68 lines (68 loc) · 1.44 KB
/
form.yml.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<%-
groups = OodSupport::User.new.groups.sort_by(&:id).tap { |groups|
groups.unshift(groups.delete(OodSupport::Process.group))
}.map(&:name).grep(/^P./)
-%>
---
cluster: "slurm"
form:
- bc_queue
- bc_num_hours
- num_cores
- gpu_type
- num_gpus
- memory
- account
- working_dir
- version
attributes:
gpu_type:
label: GPU Type
widget: select
options:
- ["none", "none"]
- ["a100", "a100"]
- ["1080ti", "1080ti"]
- ["v100", "v100"]
class: "gpu-selection"
num_gpus:
widget: "number_field"
label: "Number of GPUS"
value: 0
required: true
help: "Specify the number of gpus for the job"
class: "gpu-count-field"
bc_queue:
label: Slurm Partition
widget: select
options:
- ["batch", "batch"]
- ["interactive", "interactive"]
- ["mem", "mem"]
bc_num_hours:
widget: "number_field"
label: "Number of Hours"
value: 1
min: 1
max: 24
required: true
help: "Specify the number of hours. Min: 1hr, Max: 24hrs"
num_cores:
widget: "number_field"
label: "Number of Cores"
value: 1
min: 1
max: 16
required: true
help: "Specify the number of cores for the job. Max: 16"
memory:
widget: "number_field"
label: "Memory (GB)"
value: 2
min: 1
max: 32
required: true
help: "Specify the amount of memory in MB. Min: 2GB, Max: 32GB"
account: null
version: "4.9.1"
working_dir: null