Skip to content

Commit

Permalink
fix(mm): fix ModelCacheBase method name
Browse files Browse the repository at this point in the history
  • Loading branch information
psychedelicious committed Feb 26, 2024
1 parent 200a9d1 commit 3ccb4e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def offload_unlocked_models(self, size_required: int) -> None:
pass

@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."""
pass

Expand Down

0 comments on commit 3ccb4e6

Please sign in to comment.