Fix pre-commit issues: remove trailing whitespace and modernize type hints

Co-authored-by: hsliuustc0106 <222337142+hsliuustc0106@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]andhsliuustc0106 committed 2026-01-19 05:07:55 +00:00
1 parent 53a387762e
commit 31187ff519
3 files changed
+31 -32

No files matched your search

+1 -1
View File
@@ -112,7 +112,7 @@ def initialize_model(
vae = model.vae
elif hasattr(model, "pipe") and hasattr(model.pipe, "vae"):
vae = model.pipe.vae
if vae is not None:
if hasattr(vae, "use_slicing"):
vae.use_slicing = od_config.vae_use_slicing