Skip to content

Commit

Permalink
Update test_pinn.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ndem0 authored Nov 6, 2023
1 parent 32db54d commit 4cd4d52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_solvers/test_pinn.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def test_train_cpu():
n = 10
poisson_problem.discretise_domain(n, 'grid', locations=boundaries)
pinn = PINN(problem = poisson_problem, model=model, extra_features=None, loss=LpLoss())
trainer = Trainer(solver=pinn, max_epochs=1, accelerator='cuda', batch_size=20)
trainer = Trainer(solver=pinn, max_epochs=1, accelerator='cpu', batch_size=20)
trainer.train()

def test_train_restore():
Expand Down

0 comments on commit 4cd4d52

Please sign in to comment.