Enable CPU device on SGLang (#2806)

This commit is contained in:
Chunyuan WU
2025-01-16 21:22:53 -08:00
committed by GitHub
parent a8ccacc8b8
commit 63051738a9
13 changed files with 376 additions and 9 deletions
+1 -1
View File
@@ -392,7 +392,7 @@ class ServerArgs:
"--device",
type=str,
default="cuda",
choices=["cuda", "xpu", "hpu"],
choices=["cuda", "xpu", "hpu", "cpu"],
help="The device type.",
)
parser.add_argument(