chore(tests): switch to sd-1.5

also increase prep time for downloading models

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
Ettore Di Giacinto 2025-01-22 12:21:46 +01:00
parent 2e3f90705f
commit f4f0499b60
3 changed files with 6 additions and 18 deletions

View file

@ -3,27 +3,15 @@ backend: stablediffusion-ggml
cfg_scale: 4.5
options:
- clip_l_path:clip_l.safetensors
- clip_g_path:clip_g.safetensors
- t5xxl_path:t5xxl-Q5_0.gguf
- sampler:euler
parameters:
model: sd3.5_large-Q4_0.gguf
model: stable-diffusion-v1-5-pruned-emaonly-Q4_0.gguf
step: 25
download_files:
- filename: "sd3.5_large-Q4_0.gguf"
sha256: "c79ed6cdaa7decaca6b05ccc636b956b37c47de9b104c56315ca8ed086347b00"
uri: "huggingface://second-state/stable-diffusion-3.5-large-GGUF/sd3.5_large-Q4_0.gguf"
- filename: clip_g.safetensors
sha256: ec310df2af79c318e24d20511b601a591ca8cd4f1fce1d8dff822a356bcdb1f4
uri: huggingface://second-state/stable-diffusion-3.5-large-GGUF/clip_g.safetensors
- filename: clip_l.safetensors
sha256: 660c6f5b1abae9dc498ac2d21e1347d2abdb0cf6c0c0c8576cd796491d9a6cdd
uri: huggingface://second-state/stable-diffusion-3.5-large-GGUF/clip_l.safetensors
- filename: t5xxl-Q5_0.gguf
sha256: f4df16c641a05c4a6ca717068ba3ee312875000f6fac0efbd152915553b5fc3e
uri: huggingface://second-state/stable-diffusion-3.5-large-GGUF/t5xxl-Q5_0.gguf
- filename: "stable-diffusion-v1-5-pruned-emaonly-Q4_0.gguf"
sha256: "b8944e9fe0b69b36ae1b5bb0185b3a7b8ef14347fe0fa9af6c64c4829022261f"
uri: "huggingface://second-state/stable-diffusion-v1-5-GGUF/stable-diffusion-v1-5-pruned-emaonly-Q4_0.gguf"
usage: |
curl http://localhost:8080/v1/images/generations \

View file

@ -768,7 +768,7 @@ var _ = Describe("API test", func() {
}
response := postModelApplyRequest("http://127.0.0.1:9090/models/apply", modelApplyRequest{
ID: "localai@sd-3.5-large-ggml",
ID: "localai@sd-1.5-ggml",
Name: "stablediffusion",
})

View file

@ -54,7 +54,7 @@ var _ = BeforeSuite(func() {
Eventually(func() error {
_, err := client.ListModels(context.TODO())
return err
}, "20m").ShouldNot(HaveOccurred())
}, "50m").ShouldNot(HaveOccurred())
})
var _ = AfterSuite(func() {