[model] do not force load processor (#8457)

This commit is contained in:
Yaowei Zheng
2025-06-25 19:43:00 +08:00
committed by GitHub
parent 48897e5b16
commit f276b9a963
3 changed files with 7 additions and 5 deletions

View File

@@ -98,7 +98,7 @@ def check_dependencies() -> None:
"transformers>=4.45.0,<=4.52.4,!=4.46.0,!=4.46.1,!=4.46.2,!=4.46.3,!=4.47.0,!=4.47.1,!=4.48.0,!=4.52.0"
)
check_version("datasets>=2.16.0,<=3.6.0")
check_version("accelerate>=0.34.0,<=1.7.0")
check_version("accelerate>=1.3.0,<=1.7.0")
check_version("peft>=0.14.0,<=0.15.2")
check_version("trl>=0.8.6,<=0.9.6")
if is_transformers_version_greater_than("4.46.0") and not is_transformers_version_greater_than("4.48.1"):