瀏覽代碼

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"