Skip to content

[Bug] sd-server ignores --upscale-model #1203

@randomqhacker

Description

@randomqhacker

Git commit

sd-master-9565c7f-bin-Linux-Ubuntu-24.04-x86_64-vulkan.zip
released today, 2025-01-17

Operating System & Version

Ubuntu 25.10

GGML backends

Vulkan

Command-line arguments used

./sd-server --listen-ip 0.0.0.0 --listen-port 8081 --color --diffusion-model z_image_turbo-Q4_K.gguf --vae z-vae.safetensors --llm Qwen3-4B-Instruct-2507-UD-Q5_K_XL.gguf --cfg-scale 1.0 --diffusion-fa --lora-model-dir lora --upscale-model RealESRGAN_x4plus_anime_6B.pth --upscale-repeats 1 -H 240 -W 320 --steps 8;

Steps to reproduce

  1. Attempt to use --upscale-model RealESRGAN_x4plus_anime_6B.pth with sd-server
  2. Notice the model is not loaded in the console output
  3. Generate a request and notice the resolution is not upscaled
  4. Use the same argument with sd-cli and notice that the image is upscaled

What you expected to happen

I expected sd-server to upscale all requests by default when the upscale-model is included on the command line.

What actually happened

upscale-model is ignored.

Logs / error messages / stack trace

No response

Additional context / environment details

using z-image-turbo. upscaling does work in sd-cli with this model.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions