소스 검색

genai plugin: add wheel package (#4626)

zhang-prog 1 개월 전
부모
커밋
f887a30928
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      paddlex/paddlex_cli.py

+ 1 - 0
paddlex/paddlex_cli.py

@@ -369,6 +369,7 @@ def install(args):
         for plugin_type in plugin_types:
             if "vllm" in plugin_type or "sglang" in plugin_type:
                 try:
+                    install_packages(["wheel"], constraints="required")
                     if "vllm" in plugin_type:
                         install_packages(
                             ["flash-attn == 2.8.3"], constraints="required"