a-macdougall
a-macdougall
Passing scheduler as "Simple" in the API payload appears to be working: https://github.com/lllyasviel/stable-diffusion-webui-forge/issues/1221
Here's some code... ``` import requests import io import base64 from PIL import Image url = "http://127.0.0.1:7860" requests.get(url=f"{url}/sdapi/v1/sd-models") option_payload = { "sd_model_checkpoint": "Flux1-Dev BNB NF4 v2.safetensors", "CLIP_stop_at_last_layers": 2 } requests.post(url=f"{url}/sdapi/v1/options",...
It specifies torch 2.0.1. You probably have torch 2.6.0 or higher installed. Torch 2.5.0 might work.