Files
candle/candle-examples/examples
Czxck001 ca7cf5cb3b Add Stable Diffusion 3 Example (#2558)
* Add stable diffusion 3 example

Add get_qkv_linear to handle different dimensionality in linears

Add stable diffusion 3 example

Add use_quant_conv and use_post_quant_conv for vae in stable diffusion

adapt existing AutoEncoderKLConfig to the change

add forward_until_encoder_layer to ClipTextTransformer

rename sd3 config to sd3_medium in mmdit; minor clean-up

Enable flash-attn for mmdit impl when the feature is enabled.

Add sd3 example codebase

add document

crediting references

pass the cargo fmt test

pass the clippy test

* fix typos

* expose cfg_scale and time_shift as options

* Replace the sample image with JPG version. Change image output format accordingly.

* make meaningful error messages

* remove the tail-end assignment in sd3_vae_vb_rename

* remove the CUDA requirement

* use default_value in clap args

* add use_flash_attn to turn on/off flash-attn for MMDiT at runtime

* resolve clippy errors and warnings

* use default_value_t

* Pin the web-sys dependency.

* Clippy fix.

---------

Co-authored-by: Laurent <laurent.mazare@gmail.com>
2024-10-13 22:08:40 +02:00
..
2024-07-23 23:10:57 +02:00
2024-08-01 08:26:19 +02:00
2024-07-23 23:10:57 +02:00
2024-02-09 17:36:50 +01:00
2024-09-28 23:48:00 +02:00
2024-10-01 11:48:39 +02:00
2023-11-24 15:09:14 +00:00
2024-07-23 23:10:57 +02:00
2024-08-28 11:20:09 +02:00
2024-08-17 20:31:23 +02:00
2024-08-01 11:59:22 +02:00
2024-08-01 14:19:41 +02:00
2024-02-22 10:22:03 +01:00
2024-08-16 18:57:14 +02:00
2024-07-23 23:10:57 +02:00
2024-08-04 19:52:40 +02:00
2024-09-05 23:46:55 +02:00
2024-04-26 11:02:51 +02:00
2024-09-29 19:56:56 +02:00
2024-08-01 11:05:07 +02:00
2024-09-30 21:23:54 +02:00
2024-01-17 10:27:58 +01:00
2024-03-09 11:21:48 +01:00
2024-09-28 23:48:00 +02:00
2024-07-23 23:10:57 +02:00
2024-09-05 23:46:55 +02:00
2024-09-05 23:46:55 +02:00