Fix bug in IPAdapter.to(...).

This commit is contained in:
Ryan Dick
2023-09-14 15:45:25 -04:00
parent a22c8cb3a1
commit 94c186bb4c
2 changed files with 3 additions and 2 deletions

View File

@ -72,7 +72,6 @@ class IPAdapterModel(ModelBase):
if child_type is not None:
raise ValueError("There are no child models in an IP-Adapter model.")
# TODO(ryand): Update self.model_size when the model is loaded from disk.
return self.model_size
def get_model(