-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform.yml
More file actions
79 lines (67 loc) · 1.41 KB
/
form.yml
File metadata and controls
79 lines (67 loc) · 1.41 KB
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
69
70
71
72
73
74
75
76
77
78
cluster: “the_best_cluster”
form:
- service
- container
- workspace
- auto_queues
- cpus
- gpus
- mem
- bc_num_hours
- bc_email_on_started
attributes:
service:
label: "IDE"
widget: select
options:
- ["JupyterLab", "jupyter" ]
- ["VS Code", "code-server" ]
container:
label: "Container/Environment"
widget: select
options:
- [“Your Favorite Container”]
workspace:
label: Workspace (optional)
help: |
Select a folder to start the server in (the default is your `$HOME` directory).
data-filepicker: true
data-target-file-type: dirs
data-default-directory: '$HOME'
readonly: true
value: '$HOME'
auto_queues:
label: "Partition"
value: "dev"
required: true
display: true
help: |
<small>Partition to submit the job to</small>
cpus:
label: "#CPUs"
widget: "number_field"
required: true
min: 1
value: "1"
help: |
<small>Number of CPU cores to allocate</small>
gpus:
label: "#GPUs (optional)"
widget: "number_field"
min: 1
max: 8
value: ""
help: |
<small>
Number of GPUs to allocate
</small>
mem:
label: "Memory (GB) (optional)"
widget: "number_field"
help: |
<small>Amount of memory to allocate</small>
bc_num_hours:
label: "Runtime (in hours)"
bc_email_on_started:
default: false
value: 0