Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diffusers is not working at all. Load by default stablediffusion instead diffusers #1499

Closed
JZacharie opened this issue Dec 27, 2023 · 1 comment · Fixed by #1500
Closed
Assignees
Labels
bug Something isn't working high prio regression

Comments

@JZacharie
Copy link
Contributor

LocalAI version:
2.2.0-ffmpeg

Environment, CPU architecture, OS, and Version:
Linux srv-gpt 5.15.131-1-pve #1 SMP PVE 5.15.131-2 (2023-11-14T11:32Z) x86_64 x86_64 x86_64 GNU/Linux, Proxmox LXC, AMD Ryzen 9 5900X, 128 GB RAM

Describe the bug
Diffusers is not working at all. Load by default stablediffusion instead diffusers

To Reproduce
I set up dreamlike-photoreal as stated in the docs. File "dreamlike-photoreal.yaml" in models folder with content:

name: dreamlike-photoreal
parameters:
  model: Linaqruf/dreamlike-photoreal
backend: diffusers
# Force CPU usage - set to true for GPU
f16: false
diffusers:
  pipeline_type: StableDiffusionPipeline
  cuda: false # Enable for GPU usage (CUDA)
  scheduler_type: euler_a

Then ran command as stated in docs:

curl http://localhost:8080/v1/images/generations \
    -H "Content-Type: application/json" \
    -d '{
      "prompt": "cat, outdoor, sun, tree|rain, night, people", 
      "model": "dreamlike-photoreal", 
      "step": 51,
      "size": "1024x1024" 
    }'

It results always in this error:

Load by default stablediffusion instead diffusers

image

env with COMPEL=0

/tmp/localai/backend_data/backend-assets/grpc/stablediffusion

image

image

image

Expected behavior
Diffusers generate images.

@JZacharie JZacharie added the bug Something isn't working label Dec 27, 2023
@mudler
Copy link
Owner

mudler commented Dec 27, 2023

good catch, this sounds a regression introduced with #1283 . cc @M0Rf30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high prio regression
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants