Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
gmertes committed Aug 2, 2024
1 parent 118550f commit cac927d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/diagnostics/test_checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
from anemoi.training.diagnostics.callbacks import AnemoiCheckpoint
from anemoi.training.utils.jsonify import map_config_to_primitives

torch.mps.set_per_process_memory_fraction(0.0)


class DummyModel(torch.nn.Module):
"""Dummy pytorch model for testing."""
Expand Down

0 comments on commit cac927d

Please sign in to comment.