Add the MMDiT model of Stable Diffusion 3 (#2397)

* add mmdit of stable diffusion 3

lint

add comments

* correct a misplaced comment

* fix cargo fmt

* fix clippy error

* use bail! instead of assert!

* use get_on_dim in splitting qkv
This commit is contained in:
Czxck001
2024-08-05 10:26:15 -07:00
committed by GitHub
parent 500c9f2882
commit dfdce2b602
6 changed files with 763 additions and 0 deletions

View File

@ -0,0 +1,4 @@
pub mod blocks;
pub mod embedding;
pub mod model;
pub mod projections;