mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-09 06:45:09 +00:00
support SD3.5M
This commit is contained in:
@@ -65,6 +65,7 @@ class Sd3NetworkTrainer(train_network.NetworkTrainer):
|
||||
)
|
||||
mmdit = sd3_utils.load_mmdit(state_dict, loading_dtype, "cpu")
|
||||
self.model_type = mmdit.model_type
|
||||
mmdit.set_pos_emb_random_crop_rate(args.pos_emb_random_crop_rate)
|
||||
|
||||
if args.fp8_base:
|
||||
# check dtype of model
|
||||
|
||||
Reference in New Issue
Block a user