From 727d88e9a94e2e51369d1a429583b82c46c20401 Mon Sep 17 00:00:00 2001
From: Lianmin Zheng
If it is a kernel error, it is not easy to fix.
If it is out-of-memory, sometimes it will report this error instead of “Out-of-memory.” In this case, try setting a smaller value for --mem-fraction-static
. The default value of --mem-fraction-static
is around 0.8 - 0.9. https://github.com/sgl-project/sglang/blob/1edd4e07d6ad52f4f63e7f6beaa5987c1e1cf621/python/sglang/srt/server_args.py#L92-L102
If it is out-of-memory, sometimes it will report this error instead of “Out-of-memory.” In this case, try setting a smaller value for --mem-fraction-static
. The default value of --mem-fraction-static
is around 0.8 - 0.9.
Add --disable-cuda-graph
.
Add --disable-flashinfer-sampling
.
Add --sampling-backend pytorch
.