Skip to content

Commit 42b245c

Browse files
committed
Fix typo in error message
1 parent 296b3ac commit 42b245c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/torchjd/autogram/_engine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def _check_module_is_compatible(module: nn.Module) -> None:
156156
raise ValueError(
157157
f"Found a module of type {type(module)}, with `track_running_stats=True`, which is "
158158
"incompatible with the autogram engine due to performing in-place operations on "
159-
"tensors and having side-effects during the forward pass. Try setting"
159+
"tensors and having side-effects during the forward pass. Try setting "
160160
"`track_running_stats` to `False`."
161161
)
162162

0 commit comments

Comments
 (0)