-
Notifications
You must be signed in to change notification settings - Fork 529
Description
TypeError Traceback (most recent call last)
/tmp/ipython-input-768621971.py in <cell line: 0>()
1 from diffusers import DiffusionPipeline
2
----> 3 pipe = DiffusionPipeline.from_pretrained("stabilityai/sd-turbo")
4
5 prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
4 frames
/usr/local/lib/python3.12/dist-packages/transformers/modeling_utils.py in from_pretrained(cls, pretrained_model_name_or_path, config, cache_dir, ignore_mismatched_sizes, force_download, local_files_only, token, revision, use_safetensors, weights_only, *model_args, **kwargs)
4972 with ContextManagers(model_init_context):
4973 # Let's make sure we don't run the init function of buffer modules
-> 4974 model = cls(config, *model_args, **model_kwargs)
4975
4976 # Make sure to tie the weights correctly
TypeError: CLIPTextModel.init() got an unexpected keyword argument 'offload_state_dict'