Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Vladimir Mandic <[email protected]>
  • Loading branch information
vladmandic committed Dec 31, 2024
1 parent 8ae7a5b commit 935cac6
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 @@ -531,7 +531,7 @@ def torchao_model(model, op=None, sd_model=None): # pylint: disable=unused-argum
return sd_model


def openvino_recompile_model(p, hires=False, refiner=False): # recompile if a parameter changes
def openvino_recompile_model(p, hires=False, refiner=False): # recompile if a parameter changes # pylint: disable=unused-argument
if shared.opts.cuda_compile_backend == "openvino_fx" and 'Model' in shared.opts.cuda_compile:
compile_height = p.height if not hires and hasattr(p, 'height') else p.hr_upscale_to_y
compile_width = p.width if not hires and hasattr(p, 'width') else p.hr_upscale_to_x
Expand Down

0 comments on commit 935cac6

Please sign in to comment.