mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
(minor) typo
This commit is contained in:
@ -112,8 +112,8 @@ class SpandrelImageToImageModel(RawModel):
|
|||||||
) -> None:
|
) -> None:
|
||||||
"""Note: Some models have limited dtype support. Call supports_dtype(...) to check if the dtype is supported.
|
"""Note: Some models have limited dtype support. Call supports_dtype(...) to check if the dtype is supported.
|
||||||
Note: The non_blocking parameter is currently ignored."""
|
Note: The non_blocking parameter is currently ignored."""
|
||||||
# TODO(ryand): spandrel.ImageModelDescriptor.to(...) does not support non_blocking. We will access the model
|
# TODO(ryand): spandrel.ImageModelDescriptor.to(...) does not support non_blocking. We will have to access the
|
||||||
# directly if we want to apply this optimization.
|
# model directly if we want to apply this optimization.
|
||||||
self._spandrel_model.to(device=device, dtype=dtype)
|
self._spandrel_model.to(device=device, dtype=dtype)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
Reference in New Issue
Block a user