Repository navigation
fix undfined variable - #142
Merged
Merged
Conversation
timethink
pushed a commit
to timethink/sglang
that referenced
this pull request
Mar 9, 2025
NorthmanPKU
pushed a commit
to NorthmanPKU/sglang
that referenced
this pull request
May 16, 2025
* fork-join working * improve gqa * modified z3 caching * tested different threads * did format.sh * redundant code * modified num threads
NorthmanPKU
added a commit
to NorthmanPKU/sglang
that referenced
this pull request
May 16, 2025
* initial impl * format * fix bugs and add a docu * add more operators * a functional version for the nki_rms_norm example * Triton transpiler first version (sgl-project#144) * Initial version. Generated demo can run. * clear json --------- Co-authored-by: Jianan Ji <[email protected]> Co-authored-by: Jianan Ji <[email protected]> * bug fix * bug fix * Triton Transpiler Update (sgl-project#150) * Initial version. Generated demo can run. * clear json * Dynamic scheduling of search with OpenMP (sgl-project#142) * fork-join working * improve gqa * modified z3 caching * tested different threads * did format.sh * redundant code * modified num threads * Formal verification for equivalence checking between MuGrpahs (sgl-project#141) * set default strides for outputs * checkpoint * Support input/output stride specification in search * undo changes in cmake files * fix json key error * refactor search code a bit & initialize symbolic verification * checkpoint * debug * fix * fix * format * remove debug code * [Transpiler] Allow the transpiler to return errors for untranspilable muGraphs (sgl-project#147) * Update a state field to the transpileresult * compile issues * update interface * add missing files * add a constraint that each stensor can have at most 1 swizzled dim * 1. Debug offset 2. Add TritonProfiler 3. Add mask for 'power of 2' limit 4. Add min 16 tl.dot() limit --------- Co-authored-by: Jianan Ji <[email protected]> Co-authored-by: Jianan Ji <[email protected]> Co-authored-by: Kit Ao <[email protected]> Co-authored-by: Mengdi Wu <[email protected]> Co-authored-by: Zhihao Jia <[email protected]> * [NKI] Allow NKI transpiler to report descriptive errors for valid mugraph to proceed to (sgl-project#151) next mugraph * Add Triton Transpiler doc (sgl-project#152) * Initial version. Generated demo can run. * clear json * 1. Debug offset 2. Add TritonProfiler 3. Add mask for 'power of 2' limit 4. Add min 16 tl.dot() limit * triton doc --------- Co-authored-by: Jianan Ji <[email protected]> Co-authored-by: Jianan Ji <[email protected]> * fix unbalanced parenthesis in matmul transpose (sgl-project#154) --------- Co-authored-by: NorthmanPKU <[email protected]> Co-authored-by: Jianan Ji <[email protected]> Co-authored-by: Jianan Ji <[email protected]> Co-authored-by: Gabriele Oliaro <[email protected]> Co-authored-by: Kit Ao <[email protected]> Co-authored-by: Mengdi Wu <[email protected]> Co-authored-by: segfault <[email protected]>
NorthmanPKU
added a commit
to NorthmanPKU/sglang
that referenced
this pull request
May 16, 2025
* initial impl * format * fix bugs and add a docu * add more operators * a functional version for the nki_rms_norm example * Initial version. Generated demo can run. * clear json * Triton transpiler first version (sgl-project#144) * Initial version. Generated demo can run. * clear json --------- Co-authored-by: Jianan Ji <[email protected]> Co-authored-by: Jianan Ji <[email protected]> * bug fix * bug fix * 1. Debug offset 2. Add TritonProfiler 3. Add mask for 'power of 2' limit 4. Add min 16 tl.dot() limit * Triton Transpiler Update (sgl-project#150) * Initial version. Generated demo can run. * clear json * Dynamic scheduling of search with OpenMP (sgl-project#142) * fork-join working * improve gqa * modified z3 caching * tested different threads * did format.sh * redundant code * modified num threads * Formal verification for equivalence checking between MuGrpahs (sgl-project#141) * set default strides for outputs * checkpoint * Support input/output stride specification in search * undo changes in cmake files * fix json key error * refactor search code a bit & initialize symbolic verification * checkpoint * debug * fix * fix * format * remove debug code * [Transpiler] Allow the transpiler to return errors for untranspilable muGraphs (sgl-project#147) * Update a state field to the transpileresult * compile issues * update interface * add missing files * add a constraint that each stensor can have at most 1 swizzled dim * 1. Debug offset 2. Add TritonProfiler 3. Add mask for 'power of 2' limit 4. Add min 16 tl.dot() limit --------- Co-authored-by: Jianan Ji <[email protected]> Co-authored-by: Jianan Ji <[email protected]> Co-authored-by: Kit Ao <[email protected]> Co-authored-by: Mengdi Wu <[email protected]> Co-authored-by: Zhihao Jia <[email protected]> * triton doc * [NKI] Allow NKI transpiler to report descriptive errors for valid mugraph to proceed to (sgl-project#151) next mugraph * dtype consistence & del generated code * 1. MIRAGE_ROOT in kernel.py 2. add paras in kernel.py 3. rm tqdm in loop and redundant notes 4. rm redundant output in get_input_dim_expr * ignore * add tqdm to requirements * run all iters in a single subprocess * 1. Support directly calling graph as funcs 1.1. add execute_mugraph() in generated code 1.2. change __call__ to support several backends 1.3. other relative modify 2. fix some errors in triton transpiler including mask form and matmul op --------- Co-authored-by: Zhihao Jia <[email protected]> Co-authored-by: Jianan Ji <[email protected]> Co-authored-by: Jianan Ji <[email protected]> Co-authored-by: Gabriele Oliaro <[email protected]> Co-authored-by: Kit Ao <[email protected]> Co-authored-by: Mengdi Wu <[email protected]> Co-authored-by: segfault <[email protected]>
pi314ever
pushed a commit
to pi314ever/sglang
that referenced
this pull request
Sep 15, 2025
…roject#142) - Follow-up to PR sgl-project#126 Signed-off-by: Rahul Vijayaraghavan <[email protected]>
RolaoDenthu
added a commit
to RolaoDenthu/sglang
that referenced
this pull request
Oct 13, 2026
- Build uTLX from triton-ext e312c803 (the source of triton-utlx 3.8.0.post12) instead of the pre-merge head of sgl-project#142, which has since landed. - Drop the NewOps.cpp hunk from the uTLX patch: upstream now picks the release/3.8 AsyncCopyGlobalToLocalOp signature itself. Keep the two Gluon fixes, which are still missing upstream, and rename the patch to utlx-triton-3.8-gluon.patch. - Base on rocm/sgl-dev:v0.5.21-rocm10-mi35x-20261012. It ships the same triton 3.8.0+git4cff872c.rocm10.0.0, so the Triton revision, version suffix and Triton patch are unchanged.
yhyang201
added a commit
to yhyang201/sglang
that referenced
this pull request
Nov 11, 2026
…k3.1-day-0 The PD parts of the Day-0 draft KV ring (sglang-k31 sgl-project#142 and its later fixes), hunk for hunk as on upstream kimi-k3.1-day-0 8b180ca: - StateType.DRAFT_RING. The ring's min_pos goes as the existing REQUEST_ROW state. - Prefill: _draft_ring_payload sends the request's last window of ring rows in position order. - Decode: _draft_ring_payload resets the window floor at preallocation and receives the same window. - DFlashDraftKVRing: transfer_rows, reset_floor, ring/floor buffer infos, min_pos in the KV pools' cuMemCreate pool, and the process-wide ring handle. - setup_state_kv_args registers the ring last on both sides; a PP stage without the draft registers empty slots. - Mooncake: skip empty slots, drop DCP sink pairs, and skip the draft reslice check when there are no draft KV entries. - Scheduler: no draft token pool for the KV transfer under the ring. This commit still calls draft_kv_ring_enabled(), which the ring PR replaced with a resolved spec field; the next commit adapts it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Line
109in the python filepython/sglang/openai.pyraises a 'dtype' ValueError. However, this variable is not defined. This pull request fixes this issue by raising the ValueError ofsampling_params.dtype.