-
Notifications
You must be signed in to change notification settings - Fork 0
/
form.yml
86 lines (86 loc) · 2.37 KB
/
form.yml
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
79
80
81
82
83
84
85
86
---
cluster: "research"
form:
- python_provider
- jupyter_kind
- miniconda_path
- work_dir
- apptainer_image
- bih_cpus
- bih_mem
- bih_time
- bih_partition
attributes:
jupyter_kind:
widget: "select"
label: "Jupyter Lab/Notebook"
options:
- [ "lab", "lab" ]
- [ "notebook", "notebook" ]
help: |
Use "new" Jupyter Lab or "legacy" Jupyter Notebook.
python_provider:
widget: "select"
label: "Python Source"
help: |
You can either use one of the provided Apptainer images (based
on miniconda3 Docker images) or provide a path to your miniconda3
installation.
options:
- [ "Apptainer", "apptainer" ]
- [ "miniconda", "miniconda" ]
miniconda_path:
widget: "text_field"
label: "Miniconda Path"
help: |
Specify the path including the "bin" of the Miniconda3 installation
that you want to use. Separate name of environment with a colon.
Example: `~/miniconda3/bin:fancy-jupyter`.
work_dir:
widget: "text_field"
label: "Work Dir"
help: |
Specify the path to the work dirctory.
If you leave this blank then you would start in your `$HOME`.
apptainer_image:
widget: "select"
label: "Apptainer Image"
help: |
The Apptainer images are based on the miniconda3 Docker image
and install jupyter notebook, scikit-learn, pandas, and other
popular packages. Missing packages? Try to build and use your
own miniconda package!
options:
- [ "bih-jupyter_0.2", "bih-jupyter_0.2" ]
bih_cpus:
widget: "number_field"
label: "Number of cores"
value: 4
help: Number of cores to allocate.
min: 1
max: 64
step: 1
bih_mem:
widget: "number_field"
label: "Memory [GiB]"
value: 4
help: Memory to allocate for job.
min: 1
max: 256
bih_time:
widget: "text_field"
label: "Running time"
value: "1d"
required: true
help: "Specify the running time as either hours (e.g., '12h') or days (e.g., '3d')."
pattern: "^([0-9]{1,2}h|[1-9]d|1[0-4]d)$"
bih_partition:
widget: select
label: "partition to run in"
value: "long"
help: |
- **medium** - at most 7 days available (up to 128 cores in all jobs)
- **long** - at most 28 days available (upt o 32 cores in all jobs)
options:
- [ "medium", "medium" ]
- [ "long", "long" ]