Skip to content

Commit 114320e

Browse files
committed
(minor) typo
1 parent 6161aa7 commit 114320e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

invokeai/backend/spandrel_image_to_image_model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ def to(
112112
) -> None:
113113
"""Note: Some models have limited dtype support. Call supports_dtype(...) to check if the dtype is supported.
114114
Note: The non_blocking parameter is currently ignored."""
115-
# TODO(ryand): spandrel.ImageModelDescriptor.to(...) does not support non_blocking. We will access the model
116-
# directly if we want to apply this optimization.
115+
# TODO(ryand): spandrel.ImageModelDescriptor.to(...) does not support non_blocking. We will have to access the
116+
# model directly if we want to apply this optimization.
117117
self._spandrel_model.to(device=device, dtype=dtype)
118118

119119
@property

0 commit comments

Comments
 (0)