mirror of
https://github.com/xming521/WeClone.git
synced 2026-08-29 02:10:55 +08:00
Fixed the bug where vllm uninstallation caused the inability to use online cleaning.
This commit is contained in:
@@ -76,7 +76,7 @@ class DataProcessor:
|
||||
logger.warning("开启 prompt_with_history 不支持 clean_dataset 功能")
|
||||
exit()
|
||||
|
||||
if not is_vllm_available():
|
||||
if not is_vllm_available() and not self.config.get("online_llm_clear"):
|
||||
logger.warning("vLLM 不可用,暂不清洗数据集。")
|
||||
clean_dataset_config["enable_clean"] = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user