You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/diffusers/modular_pipelines/modular_pipeline.py
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1638,9 +1638,10 @@ def __repr__(self):
1638
1638
1639
1639
1640
1640
# YiYi TODO:
1641
-
# 1. look into the serialization of modular_model_index.json, make sure the items are properly ordered like model_index.json (currently a mess)
1642
-
# 2. do we need ConfigSpec? seems pretty unnecessrary for loader, can just add and kwargs to the loader
1643
-
# 3. add validator for methods where we accpet kwargs to be passed to from_pretrained()
1641
+
# 1. move the modular_repo arg and the logic to fetch info from repo out of __init__ so that __init__ alwasy create an default modular_model_index config
1642
+
# 2. look into the serialization of modular_model_index.json, make sure the items are properly ordered like model_index.json (currently a mess)
1643
+
# 3. do we need ConfigSpec? seems pretty unnecessrary for loader, can just add and kwargs to the loader
1644
+
# 4. add validator for methods where we accpet kwargs to be passed to from_pretrained()
0 commit comments