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
As of 2023-04-03, creating the container using the provided docker file and the current version of stable-diffusion causes an internal server error when executing text2img:
ValueError: The component <class 'transformers.models.clip.feature_extraction_clip.CLIPFeatureExtractor'> of <class 'diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion.StableDiffusionPipeline'> cannot be loaded as it does not seem to have any of the loading methods defined in {'ModelMixin': ['save_pretrained', 'from_pretrained'], 'SchedulerMixin': ['save_config', 'from_config'], 'DiffusionPipeline': ['save_pretrained', 'from_pretrained'], 'OnnxRuntimeModel': ['save_pretrained', 'from_pretrained'], 'PreTrainedTokenizer': ['save_pretrained', 'from_pretrained'], 'PreTrainedTokenizerFast': ['save_pretrained', 'from_pretrained'], 'PreTrainedModel': ['save_pretrained', 'from_pretrained'], 'FeatureExtractionMixin': ['save_pretrained', 'from_pretrained']}.
Using pinned, more recent versions of the requirements -- and also pinning the version of the stable diffusion model -- fixes this issue and helps future-proof this tutorial.
As of 2023-04-03, creating the container using the provided docker file and the current version of stable-diffusion causes an internal server error when executing
text2img
:Using pinned, more recent versions of the requirements -- and also pinning the version of the stable diffusion model -- fixes this issue and helps future-proof this tutorial.
In
retrieve_model.py
:In
requirements.txt
:The text was updated successfully, but these errors were encountered: