support vllm 0.6.0

Former-commit-id: e39470ec51a9c74ad901871eb816df10e851f351
This commit is contained in:
hiyouga
2024-09-08 02:26:20 +08:00
parent b6810b209a
commit eb5af3d90b
5 changed files with 12 additions and 51 deletions

View File

@@ -123,7 +123,7 @@ def _check_extra_dependencies(
require_version("mixture-of-depth>=1.1.6", "To fix: pip install mixture-of-depth>=1.1.6")
if model_args.infer_backend == "vllm":
require_version("vllm>=0.4.3", "To fix: pip install vllm>=0.4.3")
require_version("vllm>=0.4.3,<=0.6.0", "To fix: pip install vllm>=0.4.3,<=0.6.0")
if finetuning_args.use_galore:
require_version("galore_torch", "To fix: pip install galore_torch")