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

@ -32,6 +32,7 @@ pub mod metavoice;
pub mod mistral;
pub mod mixformer;
pub mod mixtral;
pub mod mmdit;
pub mod mobilenetv4;
pub mod mobileone;
pub mod moondream;