Skip to content

Commit

Permalink
Fix merge issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bmaltais committed Aug 9, 2024
1 parent d714691 commit 41d473a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions kohya_gui/dreambooth_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -731,9 +731,6 @@ def train_model(
cache_text_encoder_outputs = sdxl and sdxl_cache_text_encoder_outputs
no_half_vae = sdxl and sdxl_no_half_vae

cache_text_encoder_outputs = sdxl and sdxl_cache_text_encoder_outputs
no_half_vae = sdxl and sdxl_no_half_vae

if max_data_loader_n_workers == "" or None:
max_data_loader_n_workers = 0
else:
Expand Down Expand Up @@ -1023,11 +1020,6 @@ def dreambooth_tab(
source_model.sdxl_checkbox, config=config, trainer="finetune",
)

# Add SDXL Parameters
sdxl_params = SDXLParameters(
source_model.sdxl_checkbox, config=config
)

with gr.Accordion("Advanced", open=False, elem_id="advanced_tab"):
advanced_training = AdvancedTraining(headless=headless, config=config)
advanced_training.color_aug.change(
Expand Down

0 comments on commit 41d473a

Please sign in to comment.