fix(mm): fix ModelCacheBase method name

This commit is contained in:
psychedelicious 2024-02-26 17:36:03 +11:00
parent 37d66488c5
commit c80c0f0fb9

View File

@ -111,7 +111,7 @@ class ModelCacheBase(ABC, Generic[T]):
pass pass
@abstractmethod @abstractmethod
def move_model_to_device(self, cache_entry: CacheRecord[AnyModel], device: torch.device) -> None: def move_model_to_device(self, cache_entry: CacheRecord[AnyModel], target_device: torch.device) -> None:
"""Move model into the indicated device.""" """Move model into the indicated device."""
pass pass