Issue with missing text_unet/versatile_diffusion.py file in model_index.json
Hi, I’m encountering an issue when using the shi-labs/versatile-diffusion model with the diffusers library. When I attempt to load the model, I receive the following error:
ValueError: text_unet/versatile_diffusion.py as defined in model_index.json
does not exist in shi-labs/versatile-diffusion and is not a module in 'diffusers/pipelines'.
This suggests that the text_unet/versatile_diffusion.py file referenced in model_index.json is missing or might not be properly configured. Could this be due to incomplete files in the repository, or is there an alternative setup process I should follow? Any insights would be greatly appreciated!
Thanks!
Have you found a solution? I received the same error. Thanks!
Have you found a solution? I received the same error. Thanks!
Not yet. But I suspect it's a problem with the diffuser library and huggingface_hub library versions.
Is this question: ModuleNotFoundError: No module named 'versatile_diffusion' ?
Have you found a solution? I faced the same barrier
You can visit https://huggingface.co/shi-labs/versatile-diffusion/tree/main/pretrained_pth to get a compact .pth / .safetensors with all model weight.
I have download all folders in huggingface including this.However,when I run the first demo code (pipe = VersatileDiffusionPipeline.from_pretrained("./versatile-diffusion", torch_dtype=torch.float16,use_safetensors=False,local_files_only=True)),it raise ERROR like this:ModuleNotFoundError: No module named 'versatile_diffusion'. I can't solve this problem