modelscope / ms-swift

Use PEFT or Full-parameter to finetune 350+ LLMs or 100+ MLLMs. (LLM: Qwen2.5, Llama3.2, GLM4, Internlm2.5, Yi1.5, Mistral, Baichuan2, DeepSeek, Gemma2, ...; MLLM: Qwen2-VL, Qwen2-Audio, Llama3.2-Vision, Llava, InternVL2, MiniCPM-V-2.6, GLM4v, Xcomposer2.5, Yi-VL, DeepSeek-VL, Phi3.5-Vision, ...)
https://swift.readthedocs.io/zh-cn/latest/Instruction/index.html
Apache License 2.0
3.97k stars 348 forks source link

UserWarning: The value passed into gr.Dropdown() is not in the list of choices. Please update the list of choices to include: delete or set allow_custom_value=True. warnings.warn( #497

Closed Sui-Xing closed 7 months ago

Sui-Xing commented 7 months ago

启动webui之后有警告 进入webui 网页,训练方式,训练精度等不可选,没有下拉选项

/hy-tmp/conda/envs/swift_v3/lib/python3.8/site-packages/gradio/components/dropdown.py:173: UserWarning: The value passed into gr.Dropdown() is not in the list of choices. Please update the list of choices to include: delete or set allow_custom_value=True.
  warnings.warn(
/hy-tmp/conda/envs/swift_v3/lib/python3.8/site-packages/gradio/components/dropdown.py:173: UserWarning: The value passed into gr.Dropdown() is not in the list of choices. Please update the list of choices to include: lora or set allow_custom_value=True.
  warnings.warn(
/hy-tmp/conda/envs/swift_v3/lib/python3.8/site-packages/gradio/components/dropdown.py:173: UserWarning: The value passed into gr.Dropdown() is not in the list of choices. Please update the list of choices to include: AUTO or set allow_custom_value=True.
  warnings.warn(
/hy-tmp/conda/envs/swift_v3/lib/python3.8/site-packages/gradio/components/dropdown.py:173: UserWarning: The value passed into gr.Dropdown() is not in the list of choices. Please update the list of choices to include: push_best or set allow_custom_value=True.
  warnings.warn(
/hy-tmp/conda/envs/swift_v3/lib/python3.8/site-packages/gradio/components/dropdown.py:173: UserWarning: The value passed into gr.Dropdown() is not in the list of choices. Please update the list of choices to include: 0 or set allow_custom_value=True.
  warnings.warn(
/hy-tmp/conda/envs/swift_v3/lib/python3.8/site-packages/gradio/components/dropdown.py:173: UserWarning: The value passed into gr.Dropdown() is not in the list of choices. Please update the list of choices to include: nf4 or set allow_custom_value=True.
  warnings.warn(
tastelikefeet commented 7 months ago

不能复现,请给下复现步骤,或使用main分支最新代码尝试