zetavg commited on
Commit
b6c4b29
1 Parent(s): bfd75de

finetune_ui: set default for load_in_8bit

Browse files
llama_lora/ui/finetune/finetune_ui.py CHANGED
@@ -1035,7 +1035,7 @@ def finetune_ui():
1035
 
1036
  with gr.Accordion("Advanced Options", open=False, elem_id="finetune_advance_options_accordion"):
1037
  with gr.Row(elem_id="finetune_advanced_options_checkboxes"):
1038
- load_in_8bit = gr.Checkbox(label="8bit", value=False)
1039
  fp16 = gr.Checkbox(label="FP16", value=True)
1040
  bf16 = gr.Checkbox(label="BF16", value=False)
1041
  gradient_checkpointing = gr.Checkbox(
 
1035
 
1036
  with gr.Accordion("Advanced Options", open=False, elem_id="finetune_advance_options_accordion"):
1037
  with gr.Row(elem_id="finetune_advanced_options_checkboxes"):
1038
+ load_in_8bit = gr.Checkbox(label="8bit", value=Config.load_8bit)
1039
  fp16 = gr.Checkbox(label="FP16", value=True)
1040
  bf16 = gr.Checkbox(label="BF16", value=False)
1041
  gradient_checkpointing = gr.Checkbox(