Skip to content

Commit

Permalink
Change name of import reference in test to reflect name change.
Browse files Browse the repository at this point in the history
  • Loading branch information
zghannam committed Dec 17, 2024
1 parent e91d9d1 commit c53ad7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_nam/test_train/test_lightning_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def mocked_loss(
raise RuntimeError("Trigger fallback")
return _torch.tensor(1.0)

mocker.patch("nam.train.lightning_module.multi_resolution_stft_loss", mocked_loss)
mocker.patch("nam.train.lightning_module._multi_resolution_stft_loss", mocked_loss)

batch_size = 3
sequence_length = 4096
Expand Down

0 comments on commit c53ad7e

Please sign in to comment.