Skip to content

Commit

Permalink
Merge pull request #169 from openclimatefix/update-e2e-test
Browse files Browse the repository at this point in the history
Force using CPU to get e2e test working locally with macs/mps
  • Loading branch information
dfulu authored Mar 26, 2024
2 parents f1534d8 + 1e8ab1d commit 5f5d154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_end2end.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@


def test_model_trainer_fit(multimodal_model, sample_train_val_datamodule):
trainer = lightning.pytorch.trainer.trainer.Trainer(fast_dev_run=True)
trainer = lightning.pytorch.trainer.trainer.Trainer(fast_dev_run=True, accelerator="cpu")
trainer.fit(model=multimodal_model, datamodule=sample_train_val_datamodule)

0 comments on commit 5f5d154

Please sign in to comment.