reenable sdpa and fast tok by default

This commit is contained in:
hiyouga
2024-04-24 02:18:44 +08:00
parent 707f0b1d5d
commit 07737a3d2d
8 changed files with 64 additions and 27 deletions

View File

@@ -33,7 +33,7 @@ def create_top() -> Dict[str, "Component"]:
quantization_bit = gr.Dropdown(choices=["none", "8", "4"], value="none")
template = gr.Dropdown(choices=list(templates.keys()), value="default")
rope_scaling = gr.Radio(choices=["none", "linear", "dynamic"], value="none")
booster = gr.Radio(choices=["none", "flashattn", "unsloth"], value="none")
booster = gr.Radio(choices=["none", "flashattn2", "unsloth"], value="none")
model_name.change(list_adapters, [model_name, finetuning_type], [adapter_path], queue=False).then(
get_model_path, [model_name], [model_path], queue=False