mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-14 06:44:59 +00:00
feat(aio): add intel profile (#1901)
* feat(aio): add intel profile * docs: clarify AIO images features
This commit is contained in:
parent
1395e505cd
commit
e58410fa99
16 changed files with 178 additions and 23 deletions
20
aio/intel/image-gen.yaml
Normal file
20
aio/intel/image-gen.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
name: stablediffusion
|
||||
parameters:
|
||||
model: runwayml/stable-diffusion-v1-5
|
||||
backend: diffusers
|
||||
step: 25
|
||||
f16: true
|
||||
diffusers:
|
||||
pipeline_type: StableDiffusionPipeline
|
||||
cuda: true
|
||||
enable_parameters: "negative_prompt,num_inference_steps"
|
||||
scheduler_type: "k_dpmpp_2m"
|
||||
|
||||
usage: |
|
||||
curl http://localhost:8080/v1/images/generations \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{
|
||||
"prompt": "<positive prompt>|<negative prompt>",
|
||||
"step": 25,
|
||||
"size": "512x512"
|
||||
}'
|
Loading…
Add table
Add a link
Reference in a new issue