sglang 0.2.9__py3-none-any.whl → 0.2.9.post1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sglang/check_env.py +1 -0
- sglang/srt/model_executor/model_runner.py +6 -4
- sglang/version.py +1 -1
- {sglang-0.2.9.dist-info → sglang-0.2.9.post1.dist-info}/METADATA +4 -3
- {sglang-0.2.9.dist-info → sglang-0.2.9.post1.dist-info}/RECORD +8 -8
- {sglang-0.2.9.dist-info → sglang-0.2.9.post1.dist-info}/LICENSE +0 -0
- {sglang-0.2.9.dist-info → sglang-0.2.9.post1.dist-info}/WHEEL +0 -0
- {sglang-0.2.9.dist-info → sglang-0.2.9.post1.dist-info}/top_level.txt +0 -0
sglang/check_env.py
CHANGED
@@ -312,10 +312,12 @@ class ModelRunner:
|
|
312
312
|
self.cuda_graph_runner.capture(batch_size_list)
|
313
313
|
except RuntimeError as e:
|
314
314
|
raise Exception(
|
315
|
-
f"Capture cuda graph failed: {e}
|
316
|
-
|
317
|
-
|
318
|
-
|
315
|
+
f"Capture cuda graph failed: {e}\n"
|
316
|
+
"Possible solutions:\n"
|
317
|
+
"1. disable torch compile by not using --enable-torch-compile\n"
|
318
|
+
"2. disable cuda graph by --disable-cuda-graph\n"
|
319
|
+
"3. set --mem-fraction-static to a smaller value\n"
|
320
|
+
"Open an issue on GitHub https://github.com/sgl-project/sglang/issues/new/choose \n"
|
319
321
|
)
|
320
322
|
|
321
323
|
@torch.inference_mode()
|
sglang/version.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "0.2.9"
|
1
|
+
__version__ = "0.2.9.post1"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: sglang
|
3
|
-
Version: 0.2.9
|
3
|
+
Version: 0.2.9.post1
|
4
4
|
Summary: SGLang is yet another fast serving framework for large language models and vision language models.
|
5
5
|
License: Apache License
|
6
6
|
Version 2.0, January 2004
|
@@ -242,6 +242,7 @@ Requires-Dist: uvloop ; extra == 'srt'
|
|
242
242
|
Requires-Dist: zmq ; extra == 'srt'
|
243
243
|
Requires-Dist: vllm ==0.5.3.post1 ; extra == 'srt'
|
244
244
|
Requires-Dist: outlines >=0.0.44 ; extra == 'srt'
|
245
|
+
Requires-Dist: python-multipart ; extra == 'srt'
|
245
246
|
|
246
247
|
<div align="center">
|
247
248
|
<img src="https://raw.githubusercontent.com/sgl-project/sglang/main/assets/logo.png" alt="logo" width="400"></img>
|
@@ -299,8 +300,8 @@ pip install flashinfer -i https://flashinfer.ai/whl/cu121/torch2.3/
|
|
299
300
|
|
300
301
|
### Method 2: From source
|
301
302
|
```
|
302
|
-
# Use the stable v0.2.9 branch
|
303
|
-
git clone -b v0.2.9 https://github.com/sgl-project/sglang.git
|
303
|
+
# Use the stable v0.2.9.post1 branch
|
304
|
+
git clone -b v0.2.9.post1 https://github.com/sgl-project/sglang.git
|
304
305
|
cd sglang
|
305
306
|
|
306
307
|
pip install --upgrade pip
|
@@ -2,12 +2,12 @@ sglang/__init__.py,sha256=ECjvAWlxIwKtUIXGchfkoCIbF-iqLjH-Q0o8xHTlVNY,1352
|
|
2
2
|
sglang/api.py,sha256=s_P8BvGDCQ0PiqOapr2TLFge1NA7QmKqUx6bFQ8Q5GQ,5676
|
3
3
|
sglang/bench_latency.py,sha256=JPatRvstM3nXb-ViVgtR-TaRrFHpcHzqoDG7BQmRYK8,10539
|
4
4
|
sglang/bench_serving.py,sha256=M0YQT6xElpkx-FtmyUe6lhX1DZfVLGh54qd6qfFYquc,34801
|
5
|
-
sglang/check_env.py,sha256=
|
5
|
+
sglang/check_env.py,sha256=M4hWWl9IAmrhVATj6nbPlGiZ4FtLI3K9ETL9hFzxh8Q,4138
|
6
6
|
sglang/global_config.py,sha256=CyhGL7PE-KlMcg7IHWykzImU1y4NQlpeIlh9lHA77uo,1749
|
7
7
|
sglang/launch_server.py,sha256=Gg8CwNlTCCfg1dF65ZT9ePLxOT9LKtY79GhIPG6PCrU,358
|
8
8
|
sglang/launch_server_llavavid.py,sha256=40uaazMsavKuk6YXFa5v37kdUpFGuealgJJeph1g8gU,1025
|
9
9
|
sglang/utils.py,sha256=r0Z7hY_bFFk-b6WeQJir9br-hCW2-p7n5E7Et2WziaQ,8776
|
10
|
-
sglang/version.py,sha256=
|
10
|
+
sglang/version.py,sha256=xiigmrV7lCZAjfifluudBrG9T_WlhKAusKo0iARTZm0,28
|
11
11
|
sglang/lang/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
12
12
|
sglang/lang/chat_template.py,sha256=psIlhaDo70twgLrx5Lgln03metLEA3-FZuixeI0Y7Ao,13309
|
13
13
|
sglang/lang/compiler.py,sha256=UiXUmPR9wBAPtnORrLcyQX8Uh0ZL0nKeV8ZgBozAJPw,7531
|
@@ -56,7 +56,7 @@ sglang/srt/mem_cache/flush_cache.py,sha256=pTLKPRB17U6vl5RFJJvuJ4jCL2SyomgkUBNlk
|
|
56
56
|
sglang/srt/mem_cache/memory_pool.py,sha256=wkhjyYLbAZrl2FB5i4ODkxgMufBuDpe4N0kbXhu6ZO0,4509
|
57
57
|
sglang/srt/mem_cache/radix_cache.py,sha256=pa5RD4xNKPSuvL55BnC4mimoca5oJRXr4Rg91-sbTcs,8881
|
58
58
|
sglang/srt/model_executor/cuda_graph_runner.py,sha256=OdmO6R7nHWrRJCtZOxYkt0KNdGoX7Md4knsypwPYjaQ,9365
|
59
|
-
sglang/srt/model_executor/model_runner.py,sha256=
|
59
|
+
sglang/srt/model_executor/model_runner.py,sha256=RadluuL2Ou_BTOgo2IrLfMMEX7Z_DRgPL3JVBIr2KaU,16189
|
60
60
|
sglang/srt/model_loader/model_loader.py,sha256=QmZUhHh1nmWrfYlunfnxMcTsIvip1l6aMIlrXoCED4I,10697
|
61
61
|
sglang/srt/model_loader/utils.py,sha256=0AoWXX9uV5rKRYXJ4HduSnvdeerytI4ONCLCH6X4XFQ,10675
|
62
62
|
sglang/srt/models/chatglm.py,sha256=vYWooqyPmcSFZNjxj_g5I_FgHJlDytbEiz6vyv3JBNM,13856
|
@@ -90,8 +90,8 @@ sglang/test/simple_eval_humaneval.py,sha256=IW0ZC6D4SXu06IJiMoAY9DK9SMsTOlDPAwu4
|
|
90
90
|
sglang/test/simple_eval_mmlu.py,sha256=KqSSdSu2qfoKQ870ttxev1NJ7c90xv2mvKOQsSODtAw,4326
|
91
91
|
sglang/test/test_programs.py,sha256=e9_ifoIvuI1Ctkbkz3wfdZLBBSRikby8ywcodBIkf9M,13826
|
92
92
|
sglang/test/test_utils.py,sha256=PndOL1zdseMrpHTHGmgsHHepxqYBn__eNLrlsSXLy6k,11905
|
93
|
-
sglang-0.2.9.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
94
|
-
sglang-0.2.9.dist-info/METADATA,sha256=
|
95
|
-
sglang-0.2.9.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
|
96
|
-
sglang-0.2.9.dist-info/top_level.txt,sha256=yxhh3pYQkcnA7v3Bg889C2jZhvtJdEincysO7PEB09M,7
|
97
|
-
sglang-0.2.9.dist-info/RECORD,,
|
93
|
+
sglang-0.2.9.post1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
94
|
+
sglang-0.2.9.post1.dist-info/METADATA,sha256=BY728JRrlJkEdmiLJAvi_qfuUY2LDBqcKqqtooU9dxk,33281
|
95
|
+
sglang-0.2.9.post1.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
|
96
|
+
sglang-0.2.9.post1.dist-info/top_level.txt,sha256=yxhh3pYQkcnA7v3Bg889C2jZhvtJdEincysO7PEB09M,7
|
97
|
+
sglang-0.2.9.post1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|