(minor) typo

This commit is contained in:
Ryan Dick
2024-07-02 10:14:20 -04:00
parent 6161aa73af
commit 114320ee69

View File

@ -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