Skip to content

Commit 54a9c41

Browse files
committed
Merge branch 'main' into feature/a-100-analysis
2 parents c7d52b4 + 9aab59f commit 54a9c41

39 files changed

+4923
-596
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ contains tools to add a number of useful derived columns for plotting and analys
166166
| UUID | VARCHAR | Unique identifier |
167167
| JobID | INTEGER | Slurm job ID |
168168
| ArrayID | INTEGER | Position in job array |
169+
|ArrayJobID| INTEGER | Slurm job ID within array|
169170
| JobName | VARCHAR | Name of job |
170171
| IsArray | BOOLEAN | Indicator if job is part of an array |
171172
| Interactive | VARCHAR | Indicator if job was interactive
@@ -184,10 +185,10 @@ contains tools to add a number of useful derived columns for plotting and analys
184185
| Partition | VARCHAR | Job partition |
185186
| Nodes | VARCHAR | Job nodes as compact string |
186187
| NodeList | VARCHAR[] | List of job nodes |
187-
| CPUs | SMALLINT | Number of CPUs |
188+
| CPUs | SMALLINT | Number of CPU cores |
188189
| Memory | INTEGER | Job allocated memory (bytes) |
189190
| GPUs | SMALLINT | Number of GPUs requested |
190-
| GPUType | VARCHAR[] | List of GPU types |
191+
| GPUType | DICT | Dictionary with keys as type of GPU (str) and the values as number of GPUs corresponding to that type (int) |
191192
| GPUMemUsage | FLOAT | GPU memory usage (bytes) |
192193
| GPUComputeUsage | FLOAT | GPU compute usage (pct) |
193194
| CPUMemUsage | FLOAT | GPU memory usage (bytes) |

dev-requirements.txt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
1+
-r requirements.txt
12
ruff
23
pytest
4+
pytest-env
35
mkdocs
46
mkdocs-material
57
mkdocstrings-python
6-
ipykernel
78
build
89
black
910
mypy
1011
coverage
11-
pandas-stubs
1212
types-seaborn
13-
jupyterlab
1413
nbconvert
1514
nbdime
16-
jq
17-
pydantic
15+
types-requests

docs/mvp-scripts/cpu_metrics.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/mvp-scripts/gpu_metrics.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/mvp_scripts/cpu_metrics.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# CPU Metrics
2+
3+
::: mvp_scripts.cpu_metrics

docs/mvp_scripts/gpu_metrics.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# GPU Metrics
2+
3+
::: mvp_scripts.gpu_metrics
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ email bodies with user-specific resource usage. This script will only run on Uni
77
of the ```pi_bpachev_umass_edu``` group. It is included as an example of the sort of tool that
88
might be useful to the Unity team as a final deliverable of this project.
99

10-
::: mvp-scripts.zero_gpu_usage_list
10+
::: mvp_scripts.zero_gpu_usage_list

mkdocs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ nav:
3434
- 'visualization/efficiency_metrics.md'
3535
- 'visualization/models.md'
3636
- MVP Scripts:
37-
- 'mvp-scripts/cpu_metrics.md'
38-
- 'mvp-scripts/gpu_metrics.md'
39-
- 'mvp-scripts/zero_gpu_usage.md'
37+
- 'mvp_scripts/cpu_metrics.md'
38+
- 'mvp_scripts/gpu_metrics.md'
39+
- 'mvp_scripts/zero_gpu_usage.md'
4040

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Please feel free to use the scripts and notebook in this repository as a templat
1515
The following guidelines may prove helpful in maximizing the utility of this repository:
1616

1717
- Please avoid committing code unless it is meant to be used by the rest of the team.
18-
- New code should first be comitted in a dedicated branch (```feature/newanalysis``` or ```bugfix/typo```), and later merged into ```main``` following a code
18+
- New code should first be committed in a dedicated branch (```feature/newanalysis``` or ```bugfix/typo```), and later merged into ```main``` following a code
1919
review.
2020
- Shared datasets should usually be managed with a shared folder on Unity, not committed to Git.
2121
- Prefer committing Python modules with plotting routines like ```gpu_metrics.py``` instead of Jupyter notebooks, when possible.

0 commit comments

Comments
 (0)