Selaa lähdekoodia

genai plugin: add wheel package (#4626)

zhang-prog 1 kuukausi sitten
vanhempi
commit
a6b11945fe
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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"