(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:
"""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."""
# TODO(ryand): spandrel.ImageModelDescriptor.to(...) does not support non_blocking. We will access the model
# 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.
self._spandrel_model.to(device=device, dtype=dtype)
@property