mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-06 13:47:06 +00:00
Supplement the input parameters to correctly convert the flux model to BFL format; fixes #1996
This commit is contained in:
@@ -56,7 +56,7 @@ def convert(args):
|
||||
save_dtype = str_to_dtype(args.save_precision) if args.save_precision is not None else None
|
||||
|
||||
# make reverse map from diffusers map
|
||||
diffusers_to_bfl_map = flux_utils.make_diffusers_to_bfl_map()
|
||||
diffusers_to_bfl_map = flux_utils.make_diffusers_to_bfl_map(19, 38)
|
||||
|
||||
# iterate over three safetensors files to reduce memory usage
|
||||
flux_sd = {}
|
||||
|
||||
Reference in New Issue
Block a user