We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c43924 commit 532b395Copy full SHA for 532b395
src/diffusers/modular_pipelines/modular_pipeline.py
@@ -360,7 +360,6 @@ def from_pretrained(
360
"token",
361
]
362
hub_kwargs = {name: kwargs.pop(name) for name in hub_kwargs_names if name in kwargs}
363
- hub_kwargs.update({"trust_remote_code": trust_remote_code})
364
365
config = cls.load_config(pretrained_model_name_or_path)
366
has_remote_code = "auto_map" in config and cls.__name__ in config["auto_map"]
0 commit comments