Track bundled vendor runtime sources
This commit is contained in:
6
vendor/ComfyUI/comfy_extras/chainner_models/model_loading.py
vendored
Normal file
6
vendor/ComfyUI/comfy_extras/chainner_models/model_loading.py
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import logging
|
||||
from spandrel import ModelLoader
|
||||
|
||||
def load_state_dict(state_dict):
|
||||
logging.warning("comfy_extras.chainner_models is deprecated and has been replaced by the spandrel library.")
|
||||
return ModelLoader().load_from_state_dict(state_dict).eval()
|
||||
Reference in New Issue
Block a user