Skip to content

Conversation

@PeterReid
Copy link

For Windows users, this batch file builds sd.exe using Visual Studio's cl.exe. Most of the file is dedicated to checking the environment and reporting errors nicely. Specifically, it will explain what to do if cl.exe is missing or for the wrong architecture.

@leejet
Copy link
Owner

leejet commented Aug 15, 2023

Thanks for your contribution. However, I believe CMake works well as a build tool on Windows. For instance, it automatically detects the compiler, eliminating the need to open the Developer CMD or add the cl.exe directory to the PATH. It can define macros through command-line parameters to utilize certain GGML features, such as OPENBLAS. Additionally, GGML's CMake files have pre-defined macros and compiler parameters, including those related to AVX. Achieving a similar effect through a build script would require a significant amount of work.

@ghost
Copy link

ghost commented Aug 21, 2023

For Windows users, this batch file builds sd.exe using Visual Studio's cl.exe. Most of the file is dedicated to checking the environment and reporting errors nicely. Specifically, it will explain what to do if cl.exe is missing or for the wrong architecture.

Thanks for this. I don't have CMAKE on my computer, so I'll be using this script instead.

@Green-Sky
Copy link
Contributor

iirc, visual studio ships with cmake and ninja. are you on some very old version?

@ghost
Copy link

ghost commented Aug 22, 2023

iirc, visual studio ships with cmake and ninja. are you on some very old version?

i just didnt install cmake or any of that linux tools

@bitRAKE
Copy link

bitRAKE commented Aug 23, 2023

How to get cmake to produce the optimal compiler options? I've not been sufficiently motivated to learn cmake, yet.

As for Visual Studio - I like to use \GL:

cl.exe /arch:AVX2 /fp:fast /Ox /EHsc /GL /I. /I ggml\include\ggml /I ggml\include examples\main.cpp stable-diffusion.cpp ggml\src\ggml.c /link /out:build\sd.vs.exe

... and for clang, I do:

clang.exe -march=native -ffast-math -O3 -fno-exceptions -flto -I. -Iggml/include/ggml -Iggml/include examples/main.cpp stable-diffusion.cpp ggml/src/ggml.c -fuse-ld=lld -o build/sd.clang.exe

@leejet leejet closed this Jun 1, 2024
Mauler125 pushed a commit to Mauler125/stable-diffusion.cpp that referenced this pull request Jul 17, 2025
With absolute paths, there's no way to change base url.
xxnuo added a commit to xxnuo/stable-diffusion.cpp that referenced this pull request Dec 3, 2025
Squashed commit of the following:

commit 866562c
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Nov 22 20:41:34 2025 +0100

    update api again

commit c68c0ff
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 23:46:05 2025 +0100

    Fix useless ctx reload when ctx gen options are specified but kept the same

commit d29e9fd
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 21:52:15 2025 +0100

    docs: small fix

commit 5bf8e19
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 21:34:54 2025 +0100

    fix img2img channels

commit 5ccb17a
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 21:34:07 2025 +0100

    improve docs

commit e94555f
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 20:15:18 2025 +0100

    docs: fix

commit 45d7b13
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 19:47:38 2025 +0100

    Load user-provided front-ends

commit 6992dba
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 19:36:22 2025 +0100

    fix mask_image channels + remove duplicated preview_interval parsing

commit a34cc69
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 18:55:11 2025 +0100

    Fix invalid paths with missing trailing /

commit a7af5f8
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 16:22:33 2025 +0100

    Fix symlink handling

    - Use lexically_relative for safer path computation.

    Co-authored-by: Wagner Bruna <wbruna@users.noreply.github.com>

commit d402a87
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 00:25:25 2025 +0100

    Fix more LLM mistakes in doc

commit e6f5c11
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 00:11:25 2025 +0100

    fix mistake in docs

commit 222a17a
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Thu Nov 20 20:24:30 2025 +0100

    fix

commit fd251c2
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Thu Nov 20 20:16:46 2025 +0100

    server: support photomaker and controlnets

commit be24b87
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Thu Nov 20 02:32:20 2025 +0100

    update API doc

commit 9a9de9e
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Thu Nov 20 02:23:54 2025 +0100

    add support for mask, ref_images and control image (flex.2)

commit 2ebc522
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 21:03:53 2025 +0100

    fix CosXL not being detected

commit 37b8332
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 20:36:55 2025 +0100

    fix documentation

commit 65ae03f
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 20:34:08 2025 +0100

    add (ai-generated) openAPI documentation

commit 6248639
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 20:33:23 2025 +0100

    support init_image (basic img2img)

commit 3e6e074
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 20:32:59 2025 +0100

    Fix http code for task not found

commit 552ad03
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 20:32:37 2025 +0100

    Support Qwen

commit f641368
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 18:22:07 2025 +0100

    implement even more stuff

commit 33d83b2
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 17:46:02 2025 +0100

    do not expose lora dir

commit ed127fd
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 17:43:23 2025 +0100

    server: fix ctx not reliably updating when it should

commit 2f02d22
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 16:01:06 2025 +0100

    fix sd_ctx leak

commit e89ca3a
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 12:10:11 2025 +0100

    server: implement some stuff

commit e30017a
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Tue Nov 18 19:48:50 2025 +0100

    server: refactor prompt json parsing + new API (kept legacy API working for now)

commit bfb0683
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Mon Nov 17 01:48:31 2025 +0100

    server: clean launch args

commit 9871027
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Mon Nov 17 00:46:42 2025 +0100

    fix small order of operation mistake

commit 72e3d23
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Mon Nov 17 00:20:48 2025 +0100

    server: refactor inner params to match api

commit c833c23
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sun Nov 16 20:48:46 2025 +0100

    server: refactor args parsing (same as cli)

commit f055275
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sun Nov 16 17:05:21 2025 +0100

    sd.h API changes again

commit 7c637ce
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Nov 15 21:24:32 2025 +0100

    server: fix default shift (+format code)

commit a2b6e36
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Nov 15 20:59:30 2025 +0100

    server: enable previews

commit 689c99d
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Nov 15 20:37:28 2025 +0100

    server: update lib api (fix build)

commit 04f4433
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Jul 23 17:49:05 2025 +0200

    server: redirect base path to ui

commit 14c79ed
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Jul 23 16:04:05 2025 +0200

    server: change API

commit d06b636
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Jul 18 11:37:14 2025 +0200

    server: use new naming convention

commit 54fe4f2
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Thu Jul 17 18:16:50 2025 +0200

    server: update api

commit 23dbce0
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Thu Jul 10 15:35:39 2025 +0200

    rebaseon master  and apply api changes

commit 1bfabe2
Author: mordød <48280847+mord0d@users.noreply.github.com>
Date:   Thu Jul 10 13:05:57 2025 +0000

    frontend.cpp: use relative paths in fetch() (leejet#4) (cherry-picked)
    With absolute paths, there's no way to change base url.

commit 05ad316
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sun Jan 5 01:16:19 2025 +0100

    update progress bars (+fixes)

commit acf5f91
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sun Jan 5 00:23:58 2025 +0100

    Use progress_callback

commit 32acbe7
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Jan 4 21:04:13 2025 +0100

    Frontend: qol

commit 5c2937e
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Jan 4 17:06:14 2025 +0100

    server: allow to unload model components

commit a49ef57
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Jan 4 16:00:59 2025 +0100

    server: fix queue

commit f3b1b0d
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Jan 3 21:10:35 2025 +0100

    server: do not block when loading

commit 9f15b8e
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Jan 3 21:10:19 2025 +0100

    Frontend: dirty queue display

commit 0f06d0d
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Jan 3 20:31:56 2025 +0100

    Fixes

commit 0aa0ff6
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Jan 3 20:16:13 2025 +0100

    Make server ui better

commit 36355bc
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Jan 3 00:29:14 2025 +0100

    basic webui

commit 786a881
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Thu Jan 2 21:54:53 2025 +0100

    global running task_id

commit 77075cf
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Thu Jan 2 21:04:23 2025 +0100

    server: update samplers and schedulers

commit 8f5ab7f
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Thu Jan 2 19:41:25 2025 +0100

    server: update and refacor (add queue)

commit e24d300
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Mon Nov 25 01:32:21 2024 +0100

    server: update

commit cc933c2
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Tue Oct 22 17:08:48 2024 +0200

    Try adding photomaker support

commit fee5cc7
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sun Oct 6 01:58:28 2024 +0200

    server: small test client fixes

commit 022eff0
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sun Oct 6 02:00:11 2024 +0200

    server: support sampling method arg

commit 5c10430
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Oct 5 19:33:11 2024 +0200

    server: client: fix image preview on non-windows os

commit 1c4e4a2
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Oct 5 17:14:55 2024 +0200

    Server: add client docstrings

commit bed5708
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Oct 5 16:40:43 2024 +0200

    server: add simple client script

commit c42aac4
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Oct 5 13:11:41 2024 +0200

    server: attach image metadata in response

commit 6c91435
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Oct 4 15:06:47 2024 +0200

    server: fix CI Build

commit bd830ec
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Oct 4 14:54:46 2024 +0200

    server: use t.join() instead of infinite loop

commit 81deebe
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Oct 4 14:05:49 2024 +0200

    Server: accept json inputs + return bas64 image

commit 0c35eb8
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Oct 4 14:05:04 2024 +0200

    server: move httplib to thirdparty folder

commit b66bb3e
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Tue Aug 27 11:24:01 2024 +0200

    Server: Fix printf

commit 4b10a98
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Tue Aug 27 11:16:41 2024 +0200

    Server: change default host

commit dd76aed
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Tue Aug 27 11:15:27 2024 +0200

    Server: Fix missing return on non-void function

commit 9dc4937
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Tue Aug 27 00:37:55 2024 +0200

    server: remove pingpong endpoint

commit 9049cad
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sun Aug 25 23:46:41 2024 +0200

    Add server example

feat: jetson build

Update Dockerfile.jetson

fix: params

Update Dockerfile.jetson

Update Makefile

feat: more options

Update Makefile

Update Dockerfile.jetson

Update Dockerfile.jetson

Update Dockerfile.jetson

Update Dockerfile.jetson

Update Makefile

Update Dockerfile.jetson

Update Dockerfile.jetson

Update Dockerfile.jetson
xxnuo added a commit to xxnuo/stable-diffusion.cpp that referenced this pull request Dec 5, 2025
Squashed commit of the following:

commit 866562c
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Nov 22 20:41:34 2025 +0100

    update api again

commit c68c0ff
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 23:46:05 2025 +0100

    Fix useless ctx reload when ctx gen options are specified but kept the same

commit d29e9fd
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 21:52:15 2025 +0100

    docs: small fix

commit 5bf8e19
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 21:34:54 2025 +0100

    fix img2img channels

commit 5ccb17a
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 21:34:07 2025 +0100

    improve docs

commit e94555f
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 20:15:18 2025 +0100

    docs: fix

commit 45d7b13
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 19:47:38 2025 +0100

    Load user-provided front-ends

commit 6992dba
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 19:36:22 2025 +0100

    fix mask_image channels + remove duplicated preview_interval parsing

commit a34cc69
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 18:55:11 2025 +0100

    Fix invalid paths with missing trailing /

commit a7af5f8
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 16:22:33 2025 +0100

    Fix symlink handling

    - Use lexically_relative for safer path computation.

    Co-authored-by: Wagner Bruna <wbruna@users.noreply.github.com>

commit d402a87
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 00:25:25 2025 +0100

    Fix more LLM mistakes in doc

commit e6f5c11
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 00:11:25 2025 +0100

    fix mistake in docs

commit 222a17a
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Thu Nov 20 20:24:30 2025 +0100

    fix

commit fd251c2
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Thu Nov 20 20:16:46 2025 +0100

    server: support photomaker and controlnets

commit be24b87
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Thu Nov 20 02:32:20 2025 +0100

    update API doc

commit 9a9de9e
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Thu Nov 20 02:23:54 2025 +0100

    add support for mask, ref_images and control image (flex.2)

commit 2ebc522
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 21:03:53 2025 +0100

    fix CosXL not being detected

commit 37b8332
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 20:36:55 2025 +0100

    fix documentation

commit 65ae03f
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 20:34:08 2025 +0100

    add (ai-generated) openAPI documentation

commit 6248639
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 20:33:23 2025 +0100

    support init_image (basic img2img)

commit 3e6e074
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 20:32:59 2025 +0100

    Fix http code for task not found

commit 552ad03
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 20:32:37 2025 +0100

    Support Qwen

commit f641368
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 18:22:07 2025 +0100

    implement even more stuff

commit 33d83b2
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 17:46:02 2025 +0100

    do not expose lora dir

commit ed127fd
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 17:43:23 2025 +0100

    server: fix ctx not reliably updating when it should

commit 2f02d22
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 16:01:06 2025 +0100

    fix sd_ctx leak

commit e89ca3a
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 12:10:11 2025 +0100

    server: implement some stuff

commit e30017a
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Tue Nov 18 19:48:50 2025 +0100

    server: refactor prompt json parsing + new API (kept legacy API working for now)

commit bfb0683
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Mon Nov 17 01:48:31 2025 +0100

    server: clean launch args

commit 9871027
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Mon Nov 17 00:46:42 2025 +0100

    fix small order of operation mistake

commit 72e3d23
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Mon Nov 17 00:20:48 2025 +0100

    server: refactor inner params to match api

commit c833c23
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sun Nov 16 20:48:46 2025 +0100

    server: refactor args parsing (same as cli)

commit f055275
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sun Nov 16 17:05:21 2025 +0100

    sd.h API changes again

commit 7c637ce
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Nov 15 21:24:32 2025 +0100

    server: fix default shift (+format code)

commit a2b6e36
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Nov 15 20:59:30 2025 +0100

    server: enable previews

commit 689c99d
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Nov 15 20:37:28 2025 +0100

    server: update lib api (fix build)

commit 04f4433
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Jul 23 17:49:05 2025 +0200

    server: redirect base path to ui

commit 14c79ed
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Jul 23 16:04:05 2025 +0200

    server: change API

commit d06b636
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Jul 18 11:37:14 2025 +0200

    server: use new naming convention

commit 54fe4f2
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Thu Jul 17 18:16:50 2025 +0200

    server: update api

commit 23dbce0
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Thu Jul 10 15:35:39 2025 +0200

    rebaseon master  and apply api changes

commit 1bfabe2
Author: mordød <48280847+mord0d@users.noreply.github.com>
Date:   Thu Jul 10 13:05:57 2025 +0000

    frontend.cpp: use relative paths in fetch() (leejet#4) (cherry-picked)
    With absolute paths, there's no way to change base url.

commit 05ad316
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sun Jan 5 01:16:19 2025 +0100

    update progress bars (+fixes)

commit acf5f91
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sun Jan 5 00:23:58 2025 +0100

    Use progress_callback

commit 32acbe7
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Jan 4 21:04:13 2025 +0100

    Frontend: qol

commit 5c2937e
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Jan 4 17:06:14 2025 +0100

    server: allow to unload model components

commit a49ef57
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Jan 4 16:00:59 2025 +0100

    server: fix queue

commit f3b1b0d
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Jan 3 21:10:35 2025 +0100

    server: do not block when loading

commit 9f15b8e
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Jan 3 21:10:19 2025 +0100

    Frontend: dirty queue display

commit 0f06d0d
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Jan 3 20:31:56 2025 +0100

    Fixes

commit 0aa0ff6
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Jan 3 20:16:13 2025 +0100

    Make server ui better

commit 36355bc
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Jan 3 00:29:14 2025 +0100

    basic webui

commit 786a881
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Thu Jan 2 21:54:53 2025 +0100

    global running task_id

commit 77075cf
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Thu Jan 2 21:04:23 2025 +0100

    server: update samplers and schedulers

commit 8f5ab7f
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Thu Jan 2 19:41:25 2025 +0100

    server: update and refacor (add queue)

commit e24d300
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Mon Nov 25 01:32:21 2024 +0100

    server: update

commit cc933c2
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Tue Oct 22 17:08:48 2024 +0200

    Try adding photomaker support

commit fee5cc7
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sun Oct 6 01:58:28 2024 +0200

    server: small test client fixes

commit 022eff0
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sun Oct 6 02:00:11 2024 +0200

    server: support sampling method arg

commit 5c10430
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Oct 5 19:33:11 2024 +0200

    server: client: fix image preview on non-windows os

commit 1c4e4a2
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Oct 5 17:14:55 2024 +0200

    Server: add client docstrings

commit bed5708
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Oct 5 16:40:43 2024 +0200

    server: add simple client script

commit c42aac4
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Oct 5 13:11:41 2024 +0200

    server: attach image metadata in response

commit 6c91435
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Oct 4 15:06:47 2024 +0200

    server: fix CI Build

commit bd830ec
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Oct 4 14:54:46 2024 +0200

    server: use t.join() instead of infinite loop

commit 81deebe
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Oct 4 14:05:49 2024 +0200

    Server: accept json inputs + return bas64 image

commit 0c35eb8
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Oct 4 14:05:04 2024 +0200

    server: move httplib to thirdparty folder

commit b66bb3e
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Tue Aug 27 11:24:01 2024 +0200

    Server: Fix printf

commit 4b10a98
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Tue Aug 27 11:16:41 2024 +0200

    Server: change default host

commit dd76aed
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Tue Aug 27 11:15:27 2024 +0200

    Server: Fix missing return on non-void function

commit 9dc4937
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Tue Aug 27 00:37:55 2024 +0200

    server: remove pingpong endpoint

commit 9049cad
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sun Aug 25 23:46:41 2024 +0200

    Add server example

feat: jetson build

Update Dockerfile.jetson

fix: params

Update Dockerfile.jetson

Update Makefile

feat: more options

Update Makefile

Update Dockerfile.jetson

Update Dockerfile.jetson

Update Dockerfile.jetson

Update Dockerfile.jetson

Update Makefile

Update Dockerfile.jetson

Update Dockerfile.jetson

Update Dockerfile.jetson
xxnuo added a commit to xxnuo/stable-diffusion.cpp that referenced this pull request Dec 5, 2025
Update Makefile

Squashed commit of the following:

commit 866562c
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Nov 22 20:41:34 2025 +0100

    update api again

commit c68c0ff
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 23:46:05 2025 +0100

    Fix useless ctx reload when ctx gen options are specified but kept the same

commit d29e9fd
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 21:52:15 2025 +0100

    docs: small fix

commit 5bf8e19
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 21:34:54 2025 +0100

    fix img2img channels

commit 5ccb17a
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 21:34:07 2025 +0100

    improve docs

commit e94555f
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 20:15:18 2025 +0100

    docs: fix

commit 45d7b13
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 19:47:38 2025 +0100

    Load user-provided front-ends

commit 6992dba
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 19:36:22 2025 +0100

    fix mask_image channels + remove duplicated preview_interval parsing

commit a34cc69
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 18:55:11 2025 +0100

    Fix invalid paths with missing trailing /

commit a7af5f8
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 16:22:33 2025 +0100

    Fix symlink handling

    - Use lexically_relative for safer path computation.

    Co-authored-by: Wagner Bruna <wbruna@users.noreply.github.com>

commit d402a87
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 00:25:25 2025 +0100

    Fix more LLM mistakes in doc

commit e6f5c11
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Nov 21 00:11:25 2025 +0100

    fix mistake in docs

commit 222a17a
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Thu Nov 20 20:24:30 2025 +0100

    fix

commit fd251c2
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Thu Nov 20 20:16:46 2025 +0100

    server: support photomaker and controlnets

commit be24b87
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Thu Nov 20 02:32:20 2025 +0100

    update API doc

commit 9a9de9e
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Thu Nov 20 02:23:54 2025 +0100

    add support for mask, ref_images and control image (flex.2)

commit 2ebc522
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 21:03:53 2025 +0100

    fix CosXL not being detected

commit 37b8332
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 20:36:55 2025 +0100

    fix documentation

commit 65ae03f
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 20:34:08 2025 +0100

    add (ai-generated) openAPI documentation

commit 6248639
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 20:33:23 2025 +0100

    support init_image (basic img2img)

commit 3e6e074
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 20:32:59 2025 +0100

    Fix http code for task not found

commit 552ad03
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 20:32:37 2025 +0100

    Support Qwen

commit f641368
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 18:22:07 2025 +0100

    implement even more stuff

commit 33d83b2
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 17:46:02 2025 +0100

    do not expose lora dir

commit ed127fd
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 17:43:23 2025 +0100

    server: fix ctx not reliably updating when it should

commit 2f02d22
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 16:01:06 2025 +0100

    fix sd_ctx leak

commit e89ca3a
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Nov 19 12:10:11 2025 +0100

    server: implement some stuff

commit e30017a
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Tue Nov 18 19:48:50 2025 +0100

    server: refactor prompt json parsing + new API (kept legacy API working for now)

commit bfb0683
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Mon Nov 17 01:48:31 2025 +0100

    server: clean launch args

commit 9871027
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Mon Nov 17 00:46:42 2025 +0100

    fix small order of operation mistake

commit 72e3d23
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Mon Nov 17 00:20:48 2025 +0100

    server: refactor inner params to match api

commit c833c23
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sun Nov 16 20:48:46 2025 +0100

    server: refactor args parsing (same as cli)

commit f055275
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sun Nov 16 17:05:21 2025 +0100

    sd.h API changes again

commit 7c637ce
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Nov 15 21:24:32 2025 +0100

    server: fix default shift (+format code)

commit a2b6e36
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Nov 15 20:59:30 2025 +0100

    server: enable previews

commit 689c99d
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Nov 15 20:37:28 2025 +0100

    server: update lib api (fix build)

commit 04f4433
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Jul 23 17:49:05 2025 +0200

    server: redirect base path to ui

commit 14c79ed
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Wed Jul 23 16:04:05 2025 +0200

    server: change API

commit d06b636
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Jul 18 11:37:14 2025 +0200

    server: use new naming convention

commit 54fe4f2
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Thu Jul 17 18:16:50 2025 +0200

    server: update api

commit 23dbce0
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Thu Jul 10 15:35:39 2025 +0200

    rebaseon master  and apply api changes

commit 1bfabe2
Author: mordød <48280847+mord0d@users.noreply.github.com>
Date:   Thu Jul 10 13:05:57 2025 +0000

    frontend.cpp: use relative paths in fetch() (leejet#4) (cherry-picked)
    With absolute paths, there's no way to change base url.

commit 05ad316
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sun Jan 5 01:16:19 2025 +0100

    update progress bars (+fixes)

commit acf5f91
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sun Jan 5 00:23:58 2025 +0100

    Use progress_callback

commit 32acbe7
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Jan 4 21:04:13 2025 +0100

    Frontend: qol

commit 5c2937e
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Jan 4 17:06:14 2025 +0100

    server: allow to unload model components

commit a49ef57
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Jan 4 16:00:59 2025 +0100

    server: fix queue

commit f3b1b0d
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Jan 3 21:10:35 2025 +0100

    server: do not block when loading

commit 9f15b8e
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Jan 3 21:10:19 2025 +0100

    Frontend: dirty queue display

commit 0f06d0d
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Jan 3 20:31:56 2025 +0100

    Fixes

commit 0aa0ff6
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Jan 3 20:16:13 2025 +0100

    Make server ui better

commit 36355bc
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Jan 3 00:29:14 2025 +0100

    basic webui

commit 786a881
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Thu Jan 2 21:54:53 2025 +0100

    global running task_id

commit 77075cf
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Thu Jan 2 21:04:23 2025 +0100

    server: update samplers and schedulers

commit 8f5ab7f
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Thu Jan 2 19:41:25 2025 +0100

    server: update and refacor (add queue)

commit e24d300
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Mon Nov 25 01:32:21 2024 +0100

    server: update

commit cc933c2
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Tue Oct 22 17:08:48 2024 +0200

    Try adding photomaker support

commit fee5cc7
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sun Oct 6 01:58:28 2024 +0200

    server: small test client fixes

commit 022eff0
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sun Oct 6 02:00:11 2024 +0200

    server: support sampling method arg

commit 5c10430
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Oct 5 19:33:11 2024 +0200

    server: client: fix image preview on non-windows os

commit 1c4e4a2
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Oct 5 17:14:55 2024 +0200

    Server: add client docstrings

commit bed5708
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Oct 5 16:40:43 2024 +0200

    server: add simple client script

commit c42aac4
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sat Oct 5 13:11:41 2024 +0200

    server: attach image metadata in response

commit 6c91435
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Oct 4 15:06:47 2024 +0200

    server: fix CI Build

commit bd830ec
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Oct 4 14:54:46 2024 +0200

    server: use t.join() instead of infinite loop

commit 81deebe
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Oct 4 14:05:49 2024 +0200

    Server: accept json inputs + return bas64 image

commit 0c35eb8
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Fri Oct 4 14:05:04 2024 +0200

    server: move httplib to thirdparty folder

commit b66bb3e
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Tue Aug 27 11:24:01 2024 +0200

    Server: Fix printf

commit 4b10a98
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Tue Aug 27 11:16:41 2024 +0200

    Server: change default host

commit dd76aed
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Tue Aug 27 11:15:27 2024 +0200

    Server: Fix missing return on non-void function

commit 9dc4937
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Tue Aug 27 00:37:55 2024 +0200

    server: remove pingpong endpoint

commit 9049cad
Author: Stéphane du Hamel <stephduh@live.fr>
Date:   Sun Aug 25 23:46:41 2024 +0200

    Add server example

feat: jetson build

Update Dockerfile.jetson

fix: params

Update Dockerfile.jetson

Update Makefile

feat: more options

Update Makefile

Update Dockerfile.jetson

Update Dockerfile.jetson

Update Dockerfile.jetson

Update Dockerfile.jetson

Update Makefile

Update Dockerfile.jetson

Update Dockerfile.jetson

Update Dockerfile.jetson

Update Makefile

Update jetson.dev.version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants