Ver Fonte

genai plugin: add wheel package (#4626)

zhang-prog há 1 mês atrás
pai
commit
a6b11945fe
1 ficheiros alterados com 1 adições e 0 exclusões
  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"