Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
stduhpf
/
stable-diffusion.cpp
Public
forked from
leejet/stable-diffusion.cpp
Notifications
You must be signed in to change notification settings
Fork
3
Star
26
Code
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Master
- #5
#5
Open
stvoler
wants to merge 143 commits into
stduhpf:master
stduhpf/stable-diffusion.cpp:master
from
stvoler:master
stvoler/sd-server.cpp:master
Copy head branch name to clipboard
Conversation
Commits
143
(143)
Checks
Files changed
Open
Master
#5
stvoler
wants to merge 143 commits into
stduhpf:master
stduhpf/stable-diffusion.cpp:master
from
stvoler:master
stvoler/sd-server.cpp:master
Copy head branch name to clipboard
Commits
Commits on Nov 23, 2024
feat: add sd3.5 medium and skip layer guidance support (#451)
Show description for 65fa646
stduhpf
and
leejet
authored
65fa646
View commit details
Copy full SHA for 65fa646
Browse repository at this point
fix: improve clip text_projection support (#397)
stduhpf
authored
9b1d90b
View commit details
Copy full SHA for 9b1d90b
Browse repository at this point
feat: add flux 1 lite 8B (freepik) support (#474)
Show description for 6ea8122
stduhpf
and
leejet
authored
6ea8122
View commit details
Copy full SHA for 6ea8122
Browse repository at this point
docs: update readme (#462)
fszontagh
authored
0758544
View commit details
Copy full SHA for 0758544
Browse repository at this point
feat: add support for loading F8_E5M2 weights (#460)
LostRuins
authored
8f94efa
View commit details
Copy full SHA for 8f94efa
Browse repository at this point
fix: typo in clip-g encoder arg (#472)
pminev
authored
8c7719f
View commit details
Copy full SHA for 8c7719f
Browse repository at this point
docs: update README.md (#452)
newfla
authored
b99cbfe
View commit details
Copy full SHA for b99cbfe
Browse repository at this point
feat: add PhotoMaker Version 2 support (#358)
Show description for 2b1bc06
bssrdf
and
bssrdf
authored
2b1bc06
View commit details
Copy full SHA for 2b1bc06
Browse repository at this point
docs: update readme, add python bindings (#423)
william-murray1204
authored
ea9b647
View commit details
Copy full SHA for ea9b647
Browse repository at this point
fix: repair flash attention support (#386)
Show description for 1c168d9
3 people
authored
1c168d9
View commit details
Copy full SHA for 1c168d9
Browse repository at this point
refactor: add some sd vesion helper functions
leejet
committed
b5f4932
View commit details
Copy full SHA for b5f4932
Browse repository at this point
sync: update ggml
leejet
committed
c3eeb66
View commit details
Copy full SHA for c3eeb66
Browse repository at this point
Commits on Nov 24, 2024
fix: remove default variables in c headers (#478)
stduhpf
authored
53b415f
View commit details
Copy full SHA for 53b415f
Browse repository at this point
fix: use ggml_nn_attention in vae
leejet
committed
4570715
View commit details
Copy full SHA for 4570715
Browse repository at this point
Commits on Nov 30, 2024
feat: flexible model architecture for dit models (Flux & SD3) (#490)
Show description for 7ce63e7
stduhpf
and
leejet
authored
7ce63e7
View commit details
Copy full SHA for 7ce63e7
Browse repository at this point
feat: remove type restrictions (#489)
stduhpf
authored
9148b98
View commit details
Copy full SHA for 9148b98
Browse repository at this point
chore: remove rocm5.5 build temporarily
leejet
committed
9578fdc
View commit details
Copy full SHA for 9578fdc
Browse repository at this point
Commits on Dec 28, 2024
feat: support more LoRA models (#520)
stduhpf
authored
cc92a6a
View commit details
Copy full SHA for cc92a6a
Browse repository at this point
feat: support Inpaint models (#511)
stduhpf
authored
8f4ab9a
View commit details
Copy full SHA for 8f4ab9a
Browse repository at this point
fix: fix metal build (#513)
stduhpf
authored
0d9d665
View commit details
Copy full SHA for 0d9d665
Browse repository at this point
feat: support Moore Threads GPU (#529)
Show description for 5cc74d1
yeahdongcn
authored
5cc74d1
View commit details
Copy full SHA for 5cc74d1
Browse repository at this point
fix: fix typo for skip layers parameters (#492)
piallai
authored
b5cc142
View commit details
Copy full SHA for b5cc142
Browse repository at this point
feat: support 16 channel tae (taesd/taef1) (#527)
stduhpf
authored
d50473d
View commit details
Copy full SHA for d50473d
Browse repository at this point
feat: use pretty-progress for tensor loading (#516)
stduhpf
authored
348a54e
View commit details
Copy full SHA for 348a54e
Browse repository at this point
chore: change SD_CUBLAS/SD_USE_CUBLAS to SD_CUDA/SD_USE_CUDA
leejet
committed
dcf91f9
View commit details
Copy full SHA for dcf91f9
Browse repository at this point
Commits on Jan 18, 2025
chore: fix CI windows release artifacts (#532)
idostyle
authored
27edb76
View commit details
Copy full SHA for 27edb76
Browse repository at this point
chore: fix amd rocm build (#571)
null-define
authored
b70aaa6
View commit details
Copy full SHA for b70aaa6
Browse repository at this point
chore: fix CUDA on GitHub Action (#567)
ag2s20150909
authored
4fe83d5
View commit details
Copy full SHA for 4fe83d5
Browse repository at this point
fix: avoid sd2((non inpaint) crash on v-pred check (#537)
stduhpf
authored
587a37b
View commit details
Copy full SHA for 587a37b
Browse repository at this point
feat: add sdxl v-pred suppport (#536)
stduhpf
authored
d9b5942
View commit details
Copy full SHA for d9b5942
Browse repository at this point
docs: add CLI-GUI to list (#546)
piallai
authored
5eb15ef
View commit details
Copy full SHA for 5eb15ef
Browse repository at this point
Commits on Feb 5, 2025
chore: SD_USE_CUBLAS => SD_USE_CUDA for MUSA backend (#578)
Show description for a3cbdf6
yeahdongcn
authored
a3cbdf6
View commit details
Copy full SHA for a3cbdf6
Browse repository at this point
fix: fix rank 1 loras (#575)
stduhpf
authored
e500d95
View commit details
Copy full SHA for e500d95
Browse repository at this point
chore: fix cuda on github action (#580)
ag2s20150909
authored
2535ad5
View commit details
Copy full SHA for 2535ad5
Browse repository at this point
feat: support JPEG compression (#583)
vmobilis
authored
d46ed5e
View commit details
Copy full SHA for d46ed5e
Browse repository at this point
Commits on Feb 22, 2025
chore: bump MUSA SDK version to rc3.1.1 (#599)
Show description for 59ca2b0
yeahdongcn
authored
59ca2b0
View commit details
Copy full SHA for 59ca2b0
Browse repository at this point
fix: make get_files_from_dir works with absolute path (#598)
Show description for 3753223
mpulukkinen
and
Matti Pulkkinen
authored
3753223
View commit details
Copy full SHA for 3753223
Browse repository at this point
feat: partial LyCORIS support (tucker decomposition for LoCon + LoHa + LoKr) (#577)
stduhpf
authored
1be2491
View commit details
Copy full SHA for 1be2491
Browse repository at this point
fix:: unapply current loras properly (#590)
stduhpf
authored
f23b803
View commit details
Copy full SHA for f23b803
Browse repository at this point
chore: add global SYCL compile flags (#597)
airMeng
authored
838beb9
View commit details
Copy full SHA for 838beb9
Browse repository at this point
fix: force binary mask for inpaint models (#589)
Show description for 69c7378
stduhpf
and
leejet
authored
69c7378
View commit details
Copy full SHA for 69c7378
Browse repository at this point
docs: fix typo in readme (#574)
piallai
authored
9960976
View commit details
Copy full SHA for 9960976
Browse repository at this point
docs: add missing --mask and --guidance options to print_usage (#572)
lalala-233
authored
f27f2b2
View commit details
Copy full SHA for f27f2b2
Browse repository at this point
feat: implement DDIM with the "trailing" timestep spacing and TCD (#568)
yslai
authored
19d876e
View commit details
Copy full SHA for 19d876e
Browse repository at this point
Commits on Mar 1, 2025
fix: fix embeddings with quantized models (#601)
stduhpf
authored
fbd42b6
View commit details
Copy full SHA for fbd42b6
Browse repository at this point
fix: preprocess tensor names in tensor types map (#607)
Show description for 85e9a12
stduhpf
authored
85e9a12
View commit details
Copy full SHA for 85e9a12
Browse repository at this point
fix: fix race condition causing inconsistent value for `decoder_only` (#609)
stduhpf
authored
f50a7f6
View commit details
Copy full SHA for f50a7f6
Browse repository at this point
sync: update ggml
leejet
committed
195d170
View commit details
Copy full SHA for 195d170
Browse repository at this point
fix: avoid potential dangling pointer problem
leejet
committed
30b3ac8
View commit details
Copy full SHA for 30b3ac8
Browse repository at this point
Commits on Mar 9, 2025
fix: suport sdxl embedddings (#621)
stduhpf
authored
3fb275a
View commit details
Copy full SHA for 3fb275a
Browse repository at this point
chore: silence some warnings about precision loss (#620)
vmobilis
authored
81556f3
View commit details
Copy full SHA for 81556f3
Browse repository at this point
fix: ModelLoader::load_tensors duplicated check (#623)
Show description for d7c7a34
idostyle
authored
d7c7a34
View commit details
Copy full SHA for d7c7a34
Browse repository at this point
fix: clang complains about needless braces (#618)
vmobilis
authored
655f8a5
View commit details
Copy full SHA for 655f8a5
Browse repository at this point
fix: correct img2img time (#616)
vmobilis
authored
10feacf
View commit details
Copy full SHA for 10feacf
Browse repository at this point
fix missing argument in prototype of stbi_write_jpg (#613)
vmobilis
authored
10c6501
View commit details
Copy full SHA for 10c6501
Browse repository at this point
Commits on Jun 29, 2025
feat: add FLUX.1 Kontext dev support (#707)
Show description for c9b5735
stduhpf
and
leejet
authored
c9b5735
View commit details
Copy full SHA for c9b5735
Browse repository at this point
docs: add kontext doc
leejet
committed
884e23e
View commit details
Copy full SHA for 884e23e
Browse repository at this point
feat: add Chroma support (#696)
Show description for b1cc40c
3 people
authored
b1cc40c
View commit details
Copy full SHA for b1cc40c
Browse repository at this point
style: format code
leejet
committed
45d0ebb
View commit details
Copy full SHA for 45d0ebb
Browse repository at this point
fix: fix the issue in parsing --chroma-disable-dit-mask
leejet
committed
a28d04d
View commit details
Copy full SHA for a28d04d
Browse repository at this point
docs: add chroma doc
leejet
committed
d6c87dc
View commit details
Copy full SHA for d6c87dc
Browse repository at this point
Commits on Jun 30, 2025
fix: allow resetting clip_skip to its default value (#697)
wbruna
authored
b1fc16b
View commit details
Copy full SHA for b1fc16b
Browse repository at this point
fix: fix musa docker build (#662)
Show description for 539b5b9
yeahdongcn
authored
539b5b9
View commit details
Copy full SHA for 539b5b9
Browse repository at this point
fix: avoid crash on sdxl loras (#658)
Show description for 0d8b39f
wbruna
authored
0d8b39f
View commit details
Copy full SHA for 0d8b39f
Browse repository at this point
feat: add OpenCL backend support (#680)
rmatif
authored
d42fd59
View commit details
Copy full SHA for d42fd59
Browse repository at this point
chore: avoid warnings when building on linux
leejet
committed
23de7fc
View commit details
Copy full SHA for 23de7fc
Browse repository at this point
Commits on Jul 1, 2025
fix: force zero-initialize output of tiling (#703)
stduhpf
authored
ea46fd6
View commit details
Copy full SHA for ea46fd6
Browse repository at this point
chore: fix windows build and release
leejet
committed
ecf5db9
View commit details
Copy full SHA for ecf5db9
Browse repository at this point
feat: add CosXL support (#683)
stduhpf
authored
9251756
View commit details
Copy full SHA for 9251756
Browse repository at this point
refector: reuse some code
leejet
committed
7dac89a
View commit details
Copy full SHA for 7dac89a
Browse repository at this point
Commits on Jul 2, 2025
feat: add T5 with llama.cpp naming convention support (#654)
stduhpf
authored
83ef4e4
View commit details
Copy full SHA for 83ef4e4
Browse repository at this point
docs: add Android app to README (#647)
rmatif
authored
0927e8e
View commit details
Copy full SHA for 0927e8e
Browse repository at this point
docs: add golang cgo bindings to README (#635)
Binozo
authored
7a8ff2e
View commit details
Copy full SHA for 7a8ff2e
Browse repository at this point
Commits on Jul 3, 2025
fix: actually use embeddings with SDXL (#657)
stduhpf
authored
8d0819c
View commit details
Copy full SHA for 8d0819c
Browse repository at this point
fix: break the line after skipping tensors in VAE (#591)
vmobilis
authored
3bae667
View commit details
Copy full SHA for 3bae667
Browse repository at this point
Commits on Jul 4, 2025
fix: fix a few typos on cli help and error messages (#714)
wbruna
authored
76c7262
View commit details
Copy full SHA for 76c7262
Browse repository at this point
feat: override text encoders for unet models (#682)
stduhpf
authored
19fbfd8
View commit details
Copy full SHA for 19fbfd8
Browse repository at this point
Commits on Jul 5, 2025
feat: make lora graph size variable
leejet
committed
1ce1c1a
View commit details
Copy full SHA for 1ce1c1a
Browse repository at this point
Commits on Jul 6, 2025
fix: correct --chroma-enable-t5-mask argument
leejet
committed
b9e4718
View commit details
Copy full SHA for b9e4718
Browse repository at this point
fix: mark encoder.embed_tokens.weight as unused tensor (#721)
idostyle
authored
225162f
View commit details
Copy full SHA for 225162f
Browse repository at this point
feat: add support for f64/i64 and clip_g diffusers model (#681)
stduhpf
authored
dafc32d
View commit details
Copy full SHA for dafc32d
Browse repository at this point
Commits on Jul 7, 2025
feat: overriding quant types for specific tensors on model conversion (#724)
wbruna
authored
6d84a30
View commit details
Copy full SHA for 6d84a30
Browse repository at this point
Commits on Jul 12, 2025
feat: add Instruct-Pix2pix/CosXL-Edit support (#679)
Show description for a772dca
stduhpf
and
leejet
authored
a772dca
View commit details
Copy full SHA for a772dca
Browse repository at this point
Commits on Jul 13, 2025
refactor: update c api (#728)
leejet
authored
ca0bd93
View commit details
Copy full SHA for ca0bd93
Browse repository at this point
fix: avoid macOS build failed
leejet
committed
0739361
View commit details
Copy full SHA for 0739361
Browse repository at this point
Commits on Jul 14, 2025
fix: make --taesd work (#731)
SkutteOleg
authored
1896b28
View commit details
Copy full SHA for 1896b28
Browse repository at this point
Commits on Jul 17, 2025
Add server example
stduhpf
committed
a6f6e5d
View commit details
Copy full SHA for a6f6e5d
Browse repository at this point
server: remove pingpong endpoint
stduhpf
committed
ce76dec
View commit details
Copy full SHA for ce76dec
Browse repository at this point
Server: Fix missing return on non-void function
stduhpf
committed
377a2d1
View commit details
Copy full SHA for 377a2d1
Browse repository at this point
Server: change default host
stduhpf
committed
d018c23
View commit details
Copy full SHA for d018c23
Browse repository at this point
Server: Fix printf
stduhpf
committed
1b91a09
View commit details
Copy full SHA for 1b91a09
Browse repository at this point
server: move httplib to thirdparty folder
stduhpf
committed
d22ef24
View commit details
Copy full SHA for d22ef24
Browse repository at this point
Server: accept json inputs + return bas64 image
stduhpf
committed
eb239ba
View commit details
Copy full SHA for eb239ba
Browse repository at this point
server: use t.join() instead of infinite loop
stduhpf
committed
b61fce8
View commit details
Copy full SHA for b61fce8
Browse repository at this point
server: fix CI Build
stduhpf
committed
559f205
View commit details
Copy full SHA for 559f205
Browse repository at this point
server: attach image metadata in response
stduhpf
committed
8b83616
View commit details
Copy full SHA for 8b83616
Browse repository at this point
server: add simple client script
stduhpf
committed
bf69f5a
View commit details
Copy full SHA for bf69f5a
Browse repository at this point
Server: add client docstrings
stduhpf
committed
b128c41
View commit details
Copy full SHA for b128c41
Browse repository at this point
server: client: fix image preview on non-windows os
stduhpf
committed
897df4c
View commit details
Copy full SHA for 897df4c
Browse repository at this point
server: support sampling method arg
stduhpf
committed
5c7d32f
View commit details
Copy full SHA for 5c7d32f
Browse repository at this point
server: small test client fixes
stduhpf
committed
45ca9bb
View commit details
Copy full SHA for 45ca9bb
Browse repository at this point
Try adding photomaker support
stduhpf
committed
b5772ae
View commit details
Copy full SHA for b5772ae
Browse repository at this point
server: update
stduhpf
committed
4e651e2
View commit details
Copy full SHA for 4e651e2
Browse repository at this point
server: update and refacor (add queue)
stduhpf
committed
9bce34c
View commit details
Copy full SHA for 9bce34c
Browse repository at this point
server: update samplers and schedulers
stduhpf
committed
f9b2a6d
View commit details
Copy full SHA for f9b2a6d
Browse repository at this point
global running task_id
stduhpf
committed
578ae14
View commit details
Copy full SHA for 578ae14
Browse repository at this point
basic webui
stduhpf
committed
c9e46e2
View commit details
Copy full SHA for c9e46e2
Browse repository at this point
Make server ui better
stduhpf
committed
8d725e7
View commit details
Copy full SHA for 8d725e7
Browse repository at this point
Fixes
stduhpf
committed
476a66f
View commit details
Copy full SHA for 476a66f
Browse repository at this point
Frontend: dirty queue display
stduhpf
committed
15bd894
View commit details
Copy full SHA for 15bd894
Browse repository at this point
server: do not block when loading
stduhpf
committed
320bbb9
View commit details
Copy full SHA for 320bbb9
Browse repository at this point
server: fix queue
stduhpf
committed
d1b8f67
View commit details
Copy full SHA for d1b8f67
Browse repository at this point
server: allow to unload model components
stduhpf
committed
57843fc
View commit details
Copy full SHA for 57843fc
Browse repository at this point
Frontend: qol
stduhpf
committed
4d02f39
View commit details
Copy full SHA for 4d02f39
Browse repository at this point
Use progress_callback
stduhpf
committed
a1e82ec
View commit details
Copy full SHA for a1e82ec
Browse repository at this point
update progress bars (+fixes)
stduhpf
committed
4a1fb94
View commit details
Copy full SHA for 4a1fb94
Browse repository at this point
frontend.cpp: use relative paths in fetch() (#4) (cherry-picked)
Show description for 226caf0
mord0d
authored and
stduhpf
committed
226caf0
View commit details
Copy full SHA for 226caf0
Browse repository at this point
rebaseon master and apply api changes
stduhpf
committed
bcba77c
View commit details
Copy full SHA for bcba77c
Browse repository at this point
server: update api
stduhpf
committed
febe7b5
View commit details
Copy full SHA for febe7b5
Browse repository at this point
Commits on Jul 18, 2025
server: use new naming convention
stduhpf
committed
47e1744
View commit details
Copy full SHA for 47e1744
Browse repository at this point
Commits on Jul 23, 2025
server: change API
stduhpf
committed
2ac5e31
View commit details
Copy full SHA for 2ac5e31
Browse repository at this point
server: redirect base path to ui
stduhpf
committed
0934b51
View commit details
Copy full SHA for 0934b51
Browse repository at this point
Commits on Jul 24, 2025
build-windows.yml
stvoler
committed
5794254
View commit details
Copy full SHA for 5794254
Browse repository at this point
Commits on Jul 26, 2025
build-mac
stvoler
committed
1db8b0f
View commit details
Copy full SHA for 1db8b0f
Browse repository at this point
build-mac.yml
stvoler
committed
d53d94d
View commit details
Copy full SHA for d53d94d
Browse repository at this point
sd-mac-build-1
stvoler
committed
522653c
View commit details
Copy full SHA for 522653c
Browse repository at this point
s1
stvoler
committed
c68b40a
View commit details
Copy full SHA for c68b40a
Browse repository at this point
metal
stvoler
committed
08cbb34
View commit details
Copy full SHA for 08cbb34
Browse repository at this point
amd1
stvoler
committed
431715b
View commit details
Copy full SHA for 431715b
Browse repository at this point
Commits on Jul 28, 2025
build-linux.yml
stvoler
committed
ddf0c97
View commit details
Copy full SHA for ddf0c97
Browse repository at this point
build-linux-1
stvoler
committed
bd65a26
View commit details
Copy full SHA for bd65a26
Browse repository at this point
linux 2
stvoler
committed
ec0fb17
View commit details
Copy full SHA for ec0fb17
Browse repository at this point
linux 3
stvoler
committed
aaf05c2
View commit details
Copy full SHA for aaf05c2
Browse repository at this point
off
stvoler
committed
52b0059
View commit details
Copy full SHA for 52b0059
Browse repository at this point
Commits on Aug 16, 2025
build-linux.yml
stvoler
committed
b1617d7
View commit details
Copy full SHA for b1617d7
Browse repository at this point
build linux
stvoler
committed
9ad5bbb
View commit details
Copy full SHA for 9ad5bbb
Browse repository at this point
linux
stvoler
committed
ed54dfe
View commit details
Copy full SHA for ed54dfe
Browse repository at this point
build-linux.yml
stvoler
committed
57501e7
View commit details
Copy full SHA for 57501e7
Browse repository at this point
linux 1
stvoler
committed
e8667b8
View commit details
Copy full SHA for e8667b8
Browse repository at this point
linux 2
stvoler
committed
fa3cf22
View commit details
Copy full SHA for fa3cf22
Browse repository at this point
cuda 1
stvoler
committed
a71deff
View commit details
Copy full SHA for a71deff
Browse repository at this point
cuda 2
stvoler
committed
bc3bf49
View commit details
Copy full SHA for bc3bf49
Browse repository at this point
Commits on Aug 17, 2025
cuda 3
stvoler
committed
ec44f4b
View commit details
Copy full SHA for ec44f4b
Browse repository at this point
You can’t perform that action at this time.