Skip to content

TypeError: CLIPTextModel.__init__() got an unexpected keyword argument 'offload_state_dict' #53

@AlgernonDmello

Description

@AlgernonDmello

Creating the pipeline 'pipe' fails
`/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'`

Steps performed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions