Skip to content

Commit 29b0c81

Browse files
update shift_factor
1 parent 9410e46 commit 29b0c81

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/convert_cogview4_to_diffusers_megatron.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ def main(args):
311311
"norm_num_groups": 32,
312312
"sample_size": 1024,
313313
"scaling_factor": 1.0,
314+
"shift_factor": 0.0,
314315
"force_upcast": True,
315316
"use_quant_conv": False,
316317
"use_post_quant_conv": False,

0 commit comments

Comments
 (0)