Skip to content

Commit 9a443e6

Browse files
committed
Reduce memory used by UMA tests
1 parent 4d88b6e commit 9a443e6

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ jobs:
6565
run: uv run --no-sync pytest tests/test_{mlip_calculators,single_point,eos}.py
6666

6767
- name: Create space in cache
68-
run: rm -r ~/.cache/*
68+
run: |
69+
rm -rf ~/.cache/*
70+
uv cache clean
6971
7072
- name: Install UMA
7173
run: |

tests/test_mlip_calculators.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@
139139
("sevennet", "cpu", {"model_path": SEVENNET_PATH}),
140140
("sevennet", "cpu", {}),
141141
("sevennet", "cpu", {"model": "sevennet-0"}),
142-
("uma", "cpu", {}),
143142
("uma", "cpu", {"model": UMA_LABEL}),
144143
("uma", "cpu", {"model_path": UMA_LABEL}),
145144
("uma", "cpu", {"model_name": UMA_LABEL}),

tests/test_single_point.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,6 @@ def test_potential_energy(struct, expected, properties, prop_key, calc_kwargs, i
120120
"NaCl.cif",
121121
{"model": ESEN_LABEL},
122122
),
123-
(
124-
"uma",
125-
"cpu",
126-
-27.09960527,
127-
"NaCl.cif",
128-
{},
129-
),
130123
(
131124
"uma",
132125
"cpu",

0 commit comments

Comments
 (0)