Skip to content

Commit

Permalink
update olive opt configs
Browse files Browse the repository at this point in the history
  • Loading branch information
lshqqytiger committed Oct 28, 2023
1 parent 414e147 commit 64e6b06
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 5 deletions.
6 changes: 5 additions & 1 deletion configs/olive_optimize/config_safety_checker.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,11 @@
"enable_bias_splitgelu": false,
"enable_packed_qkv": true,
"enable_packed_kv": true,
"enable_bias_add": false
"enable_bias_add": false,
"group_norm_channels_last": false,
"force_fp16_inputs": {
"GroupNorm": [0, 1, 2]
}
},
"force_fp32_ops": ["RandomNormalLike"]
}
Expand Down
6 changes: 5 additions & 1 deletion configs/olive_optimize/config_text_encoder.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,11 @@
"enable_bias_splitgelu": false,
"enable_packed_qkv": true,
"enable_packed_kv": true,
"enable_bias_add": false
"enable_bias_add": false,
"group_norm_channels_last": false,
"force_fp16_inputs": {
"GroupNorm": [0, 1, 2]
}
},
"force_fp32_ops": ["RandomNormalLike"]
}
Expand Down
6 changes: 5 additions & 1 deletion configs/olive_optimize/config_unet.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,11 @@
"enable_bias_splitgelu": false,
"enable_packed_qkv": true,
"enable_packed_kv": true,
"enable_bias_add": false
"enable_bias_add": false,
"group_norm_channels_last": false,
"force_fp16_inputs": {
"GroupNorm": [0, 1, 2]
}
},
"force_fp32_ops": ["RandomNormalLike"]
}
Expand Down
6 changes: 5 additions & 1 deletion configs/olive_optimize/config_vae_decoder.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,11 @@
"enable_bias_splitgelu": false,
"enable_packed_qkv": true,
"enable_packed_kv": true,
"enable_bias_add": false
"enable_bias_add": false,
"group_norm_channels_last": false,
"force_fp16_inputs": {
"GroupNorm": [0, 1, 2]
}
},
"force_fp32_ops": ["RandomNormalLike"]
}
Expand Down
6 changes: 5 additions & 1 deletion configs/olive_optimize/config_vae_encoder.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,11 @@
"enable_bias_splitgelu": false,
"enable_packed_qkv": true,
"enable_packed_kv": true,
"enable_bias_add": false
"enable_bias_add": false,
"group_norm_channels_last": false,
"force_fp16_inputs": {
"GroupNorm": [0, 1, 2]
}
},
"force_fp32_ops": ["RandomNormalLike"]
}
Expand Down

0 comments on commit 64e6b06

Please sign in to comment.