mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-10-14 23:58:11 +08:00
modify export_device option
Former-commit-id: b2fc4a5499e21a5b9622c2285402efef6e27a74d
This commit is contained in:
parent
9dd5f7d642
commit
8dc1969111
@ -89,7 +89,7 @@ def create_export_tab(engine: "Engine") -> Dict[str, "Component"]:
|
||||
export_size = gr.Slider(minimum=1, maximum=100, value=1, step=1)
|
||||
export_quantization_bit = gr.Dropdown(choices=["none"] + GPTQ_BITS, value="none")
|
||||
export_quantization_dataset = gr.Textbox(value="data/c4_demo.json")
|
||||
export_device = gr.Radio(choices=["cpu", "cuda", "npu"], value="cpu")
|
||||
export_device = gr.Radio(choices=["cpu", "cuda/npu"], value="cpu")
|
||||
export_legacy_format = gr.Checkbox()
|
||||
|
||||
with gr.Row():
|
||||
|
Loading…
x
Reference in New Issue
Block a user