Skip to content

Commit

Permalink
add cuda graph capture failure possible solution (#3430)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhyncs authored Feb 9, 2025
1 parent 014cab4 commit bc72e5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/sglang/srt/model_executor/cuda_graph_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ def __init__(self, model_runner: ModelRunner):
"1. disable cuda graph by --disable-cuda-graph\n"
"2. set --mem-fraction-static to a smaller value (e.g., 0.8 or 0.7)\n"
"3. disable torch compile by not using --enable-torch-compile\n"
"4. set --cuda-graph-max-bs to a smaller value (e.g., 32)\n"
"Open an issue on GitHub https://github.com/sgl-project/sglang/issues/new/choose \n"
)

Expand Down

0 comments on commit bc72e5b

Please sign in to comment.