Closed generalsvr closed 1 year ago
revision="v2.0"
is not a valid revision. This is for the model floating point type, example fp16
.
The error is pretty explanatory.
@WASasquatch the model creator has chosen to use things like V1.0 for revision names instead of using it for FP16, Onnx, etc. 🤷 (See screen cap below or check out the model).
@artyemk Here is some more information incase you run into issues.
To correct the issue you need to:
Go to the model's 🤗 page.
Click on "Files and Versions"
Click on "main" to see the drop down of available "revisions"
v2.0 is not a listed "revision" for that model, I believe you would want to pull/download the main "revision"
Corrected Script Example:
from diffusers import StableDiffusionImageVariationPipeline
from PIL import Image
device = "cuda:0"
sd_pipe = StableDiffusionImageVariationPipeline.from_pretrained(
"lambdalabs/sd-image-variations-diffusers",
revision="main",
)
@artyemk I've opened a discussion on the models page asking the creator update the model to include v2.0 as a valid branch or to update the example code.
https://huggingface.co/lambdalabs/sd-image-variations-diffusers/discussions/6
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.
Describe the bug
When I try to initialize pipe I get this error:
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/lambdalabs/sd-image-variations-diffusers/resolve/v2.0/model_index.json
There is a problem with lambdalabs repo, please check. This issue can also be found here - https://github.com/LambdaLabsML/lambda-diffusers/issues/16
Reproduction
Code to reproduce bug (from https://github.com/LambdaLabsML/lambda-diffusers):
Logs
System Info
diffusers
version: 0.10.0.dev0