Skip to content

Commit 55b13c1

Browse files
committed
(minor) Add TODO comment regarding the location of get_model_cache_key().
1 parent 7dc3e0f commit 55b13c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

invokeai/backend/model_manager/load/model_cache/model_cache.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
MB = 2**20
2525

2626

27+
# TODO(ryand): Where should this go? The ModelCache shouldn't be concerned with submodels.
2728
def get_model_cache_key(model_key: str, submodel_type: Optional[SubModelType] = None) -> str:
2829
if submodel_type:
2930
return f"{model_key}:{submodel_type.value}"

0 commit comments

Comments
 (0)