We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6161aa7 commit 114320eCopy full SHA for 114320e
invokeai/backend/spandrel_image_to_image_model.py
@@ -112,8 +112,8 @@ def to(
112
) -> None:
113
"""Note: Some models have limited dtype support. Call supports_dtype(...) to check if the dtype is supported.
114
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.
+ # TODO(ryand): spandrel.ImageModelDescriptor.to(...) does not support non_blocking. We will have to access the
+ # model directly if we want to apply this optimization.
117
self._spandrel_model.to(device=device, dtype=dtype)
118
119
@property
0 commit comments