Skip to content

Commit

Permalink
OpenVINO fix INT8
Browse files Browse the repository at this point in the history
  • Loading branch information
Disty0 committed Dec 30, 2023
1 parent c77505f commit bc79cbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/sd_models_compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def compile_torch(sd_model):
def compile_diffusers(sd_model):
if shared.opts.ipex_optimize:
sd_model = ipex_optimize(sd_model)
if shared.opts.nncf_compress_weights:
if shared.opts.nncf_compress_weights and not (shared.opts.cuda_compile and shared.opts.cuda_compile_backend == "openvino_fx"):
sd_model = nncf_compress_weights(sd_model)
if not (shared.opts.cuda_compile or shared.opts.cuda_compile_vae or shared.opts.cuda_compile_upscaler):
return sd_model
Expand Down

0 comments on commit bc79cbc

Please sign in to comment.