-
Notifications
You must be signed in to change notification settings - Fork 70
QVAC-14019: feat(diffusion): add img2img generation via in-context conditioning #884
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
148 commits
Select commit
Hold shift + click to select a range
a7ddced
updated for sd
dfa0f59
updated and successfuly built
5564ec7
downloads
ce927db
Merge pull request #517 from aegioscy/sd
aegioscy c239c8b
updated with working loading
72aa075
Merge pull request #523 from tetherto/sd
aegioscy e06fea6
updated load model js for Q4_K test
4713ab2
rewrote parameter handling to support multiple params and also two di…
ff0be14
got sd inference to work
6bf7db6
Merge pull request #545 from tetherto/sd
aegioscy 21b2257
updated for sd2
b6ee2b8
Merge pull request #557 from tetherto/sd
aegioscy 834f069
got full sdxl to work
ee1b525
Merge pull request #593 from tetherto/sd
aegioscy a9cb009
rename folder to qvac-lib-infer-diffusion
gianni-cor 8730525
update package name
gianni-cor ba0cccd
sd3 finished
139b0b6
Merge feature-media-generation: rename package to qvac-lib-infer-diff…
d9a9642
Merge pull request #618 from tetherto/sd
aegioscy cc9327a
rename: qvac-lib-infer-diffusion -> lib-infer-diffusion
40e104f
Merge pull request #620 from tetherto/media-gen-rename
aegioscy 1683a05
updated for cuda linux
2573b6f
updated for model
9b30ad0
have something working
8287228
changelog
ba1068a
cpp lint
4b031d6
Merge branch 'main' into feature-media-generation
donriddo 6d96bda
formatt
38ad01d
Merge branch 'feature-media-generation' of github.com:tetherto/qvac i…
d284265
Merge branch 'main' into feature-media-generation
donriddo f6b1417
updated model for gian
3874f3a
Merge branch 'feature-media-generation' of github.com:tetherto/qvac i…
f469311
Merge branch 'main' into feature-media-generation
Proletter 9b5bc5f
integration test
c0bd401
Merge branch 'feature-media-generation' of https://github.com/tethert…
8a6a1d5
fixing according to boss
12b6f38
fix(android): enable BUILD_SHARED_LIBS and stub pthread_cancel for GG…
b814301
fix(android): exclude Vulkan on Android and fix pthread_cancel stub
ecf9a71
ci: dump vcpkg configure logs on failure for android build
a279e0e
fix(android): insert pthread_cancel stub after pthread.h include
9cd62b9
fix(android): resolve BUILD_SHARED_LIBS override and pthread_cancel i…
b2ca6bd
updated for android hopefully works
0fac183
added opencl support for android
23f778d
windows attempt fix
02c5471
attempting to fix windows again
e704ab6
NORM problem with ggml operation
63a3b61
attempting to patch norm
df09ddd
attempting again to fix
f033816
diagonstic step
a678b6d
update for opencl
94b6bcd
Merge branch 'main' into feature-media-generation
gianni-cor e3a1568
Merge branch 'main' into feature-media-generation
gianni-cor b0f3b9c
updated for device selection
63ce363
Merge branch 'feature-media-generation' of https://github.com/tethert…
75c2d36
fix(diffusion): add CI/CD workflows, test infra, and integration test…
donriddo 7e89d1e
fixed integration tests
57c5404
resolved
c710640
updated
9d1c040
updated timeout
9c37577
cpp unit tests complete and tested YAY BABY
c50921c
cpp lint
052f222
updated
29db6db
test(diffusion): add integration tests for SDXL, SD3, and FLUX.2 (#757)
donriddo a0f033a
QVAC-13954: Clean up vcpkg deps in lib-infer-diffusion (#781)
jpgaribotti fd84602
updated for runtime stats
1fadd8d
fixed connection to logger, as it was not properly connected before
38320db
fixed for license file, validated working run on m1 air
f17de01
quickstart quick-maths
d2910fb
fixed integration for windows
c7b4f48
fix(diffusion): add real cancel/abort support to native generation (#…
donriddo f912111
Merge branch 'main' into feature-media-generation
gianni-cor f551adb
refactor(diffusion): static ggml core with DL backends and CMakeLists…
jpgaribotti e2f140e
feat(diffusion): hybrid static CPU + dynamic GPU backends for Android…
jpgaribotti 809e31a
Merge branch 'main' into feature-media-generation
gianni-cor 51081c7
fix(diffusion): JS layer review fixes and cancel test coverage (#783)
donriddo d47cb08
feat(diffusion): move stable-diffusion-cpp to registry (#865)
jpgaribotti 7a3aa34
updated i2i
679eff2
working anime version of i2i
46ba818
Merge feature-media-generation into feature-im2im
73971d4
cpp lint
3396fda
fixed
2a57b66
Merge origin/main into feature-im2im
aegioscy 20cb31d
feat(diffusion): unify img2img to always use in-context conditioning
aegioscy b471e5f
chore(diffusion): remove accidentally committed 27MB android prebuild…
aegioscy a5dd58f
fix(diffusion): remove unload() calls from img2img/ref2img tests
aegioscy fc2f146
refactor(diffusion): unify img2img API, add von Neumann test asset, r…
aegioscy 3682f7c
style(diffusion): fix standard lint violations in img2img examples
aegioscy 24624e3
Merge branch 'main' into feature-im2im
gianni-cor 024f430
fix(diffusion): add bare-fs as direct dependency to resolve CI module…
aegioscy 3d5f12e
attempting to resolve dl
aegioscy 019264a
fixed pathing issue
aegioscy 1b3af2b
increased timeouts
aegioscy 2e2121e
fix(diffusion): skip FLUX2 img2img test on CPU-only runners
aegioscy 7f5affb
fix(diffusion): only set SD_CPU_ONLY on no-GPU runners
aegioscy 11e9b55
fix(diffusion): remove SD_CPU_ONLY env var from workflow
aegioscy e811013
Merge remote-tracking branch 'origin/main' into feature-im2im
aegioscy 1de4fa2
fix(diffusion): remove ggml overlay port to use registry version
aegioscy 92f6189
changed seed and description
aegioscy c0cb44e
fix(diffusion): increase Windows test timeout to 30 minutes
aegioscy cbbc500
chore(diffusion): regenerate mobile integration tests
aegioscy 038e823
feat(diffusion): change FLUX2 txt2img prompt to cartoon watercolor style
aegioscy 842e8dd
fix(diffusion): double test timeouts on Windows
aegioscy 957432c
feat(diffusion): add SD3 img2img support with SDEdit and dual-path ro…
aegioscy 026d9af
Merge branch 'main' into feature-im2im
aegioscy 64d6c70
added linting fix
aegioscy af8ecaf
fixed integration test
aegioscy abd8cb3
updated cpp lint
aegioscy 9f347ab
updated for sizing
aegioscy d906438
fix(diffusion): fix SD3 img2img integration test OOM on Vulkan CI
aegioscy d83d264
Merge branch 'main' into feature-im2im
aegioscy 4636107
attemping pr start
aegioscy 8c29019
fix(diffusion): format cpp files with clang-format
aegioscy f62500f
fix(diffusion): address PR review — image resize, error handling, ali…
aegioscy 053aee0
fix(diffusion): format C++ files with clang-format-19
aegioscy 01a3595
perf(diffusion): use stbi_info_from_memory for efficient dimension de…
aegioscy 3b86fcf
fix(diffusion): format test_img2img.cpp with clang-format-19
aegioscy 754d299
docs(diffusion): add comprehensive guidance scale reference for img2img
aegioscy bb91481
chore: update vcpkg-registry baseline commit
aegioscy 32d7db8
Merge branch 'main' into feature-im2im
aegioscy 879ff65
fix(diffusion): pin ggml to port-version 4 for Vulkan LSan leak fix
aegioscy 6b06567
fix(diffusion): revert ggml to port-version 3, port-version 4 patch i…
aegioscy 6bb5e8e
fix(diffusion): add ggml overlay port with corrected Vulkan LSan patch
aegioscy 171abd8
fix(diffusion): use ggml port-version 5 from jpgaribotti fork
aegioscy f122bc5
fix(diffusion): point registry to jpgaribotti fork for ggml port-vers…
aegioscy 79e4647
fix: suppress LSAN false positives in diffusion C++ tests
aegioscy 7c930d5
fix: add dbus leak suppressions for test initialization
aegioscy 0afcea1
fix: add Windows model download step to cpp-tests workflow
aegioscy c656858
fix: reduce SD3 example steps from 100 to 28
aegioscy 44fe93c
fix: correct example image paths
aegioscy 51a00d8
fix: ensure temp directory exists in example scripts
aegioscy ea5f172
fix: validate init_image is Uint8Array in img2img mode
aegioscy 000847e
fix: guard SdImageBatch against nullptr from generate_image()
aegioscy 0fc523b
fix(diffusion): format cpp files with clang-format-19
aegioscy ed4c7fa
Merge origin/main into feature-im2im: resolve test timeout conflicts
aegioscy e66703b
fix(readme): clarify config vs parameter serialization
aegioscy 18f0e0b
fix: restore dbus leak suppressions removed by clang-format commit
aegioscy 395e115
fix(diffusion): apply clang-format-19 to test_stb_image_security.cpp
aegioscy 5046966
Update packages/lib-infer-diffusion/addon/src/model-interface/SdModel…
aegioscy c461f5f
Update packages/lib-infer-diffusion/addon/src/model-interface/SdModel…
aegioscy 8082388
fix(diffusion): format cpp files with clang-format-19
aegioscy 0e5908e
Revert "fix(diffusion): format cpp files with clang-format-19"
aegioscy 6a62d96
fix(diffusion): guard FLUX img2img prediction and harden readImageDim…
aegioscy 831b69c
fix(diffusion): remove FLUX.1 references from documentation
aegioscy bff36aa
test(diffusion): add input-validation test to mobile integration suite
aegioscy fb03a68
Merge remote-tracking branch 'origin/main' into feature-im2im
aegioscy ccff5c1
Merge origin/main: keep img2img implementation from feature-im2im
aegioscy da6c822
chore(diffusion): bump to 0.2.0 and update changelog
aegioscy 749ed8c
fix(diffusion): revert vcpkg registry baseline to main
aegioscy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,4 +23,5 @@ logs/ | |
| output/ | ||
| temp/ | ||
| *.deb | ||
| *.zip | ||
| test/integration/all.js | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,8 @@ | ||
| # Known false positive with N-API callbacks under ASan | ||
| leak:SdModel::process | ||
| leak:SdModel::load | ||
|
|
||
| # D-Bus library false positives during test initialization | ||
| leak:dbus_bus_register | ||
| leak:dbus_pending_call_block | ||
| leak:_dbus_message_loader_queue_messages |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.