Skip to content

Support outlines > 0.0.31 - #219

Merged
hnyls2002 merged 1 commit into
mainfrom
cody/upgrade_outlines
Feb 24, 2024
Merged

hnyls2002 merged 1 commit into
mainfrom
cody/upgrade_outlines

Conversation

@comaniac

Copy link
Copy Markdown
Contributor

close #203

This PR provides outline >0.0.31 support so that we could relax the pinned upper version.

The implementation is based on dottxt-ai/outlines@0.0.31...0.0.32

cc @hnyls2002

@hnyls2002

Copy link
Copy Markdown
Collaborator

LGTM

@hnyls2002
hnyls2002 merged commit 3c2c586 into main Feb 24, 2024
@hnyls2002
hnyls2002 deleted the cody/upgrade_outlines branch February 24, 2024 07:06
timethink pushed a commit to timethink/sglang that referenced this pull request Mar 9, 2025
vschandramourya pushed a commit to vschandramourya/sglang that referenced this pull request Feb 3, 2026
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
IzacharyI added a commit to IzacharyI/sglang that referenced this pull request Mar 17, 2026
IzacharyI pushed a commit to IzacharyI/sglang that referenced this pull request Mar 18, 2026
IzacharyI added a commit to IzacharyI/sglang that referenced this pull request Mar 31, 2026
* Move and adaptation of GDN opt from Qwen3next to Qwen3.5 (sgl-project#215)

* rm 3*copy after casual conv, do q/k/v split in causal_conv1d_update_split_qkv kernel during decode time

* Add fused Sigmoid and mul triton kernel

* add fused gdn gating and  sigmoid func for prefill phase

* Add fused causal conv1d fwd split qkv kernel

* Add fused cumsum_kkt, solve_tril, and merge_recompute kernels for prefill optimization

* Increase parallel params for chunk_gated_delta_rule_fwd_kernel

* add chunk o kernel opt

* Add sigmoid and mul for shared expert module

---------

Co-authored-by: yixionghuo <[email protected]>

* [Fix] Load weights error in compressed-tensors

* Fuse 4 GDN input projections (qkv/z/b/a) into single GEMM (sgl-project#219)

* Revert "Fuse 4 GDN input projections (qkv/z/b/a) into single GEMM (sgl-project#219)" (sgl-project#223)

This reverts commit 17b0749.

* Fuse 4 GDN input projections (qkv/z/b/a) into single GEMM (sgl-project#225)

* [Fix] Core dump issue in stress test

---------

Co-authored-by: zachYao <[email protected]>
Co-authored-by: root <[email protected]>
liuxianglong17 pushed a commit to shun8686/sglang that referenced this pull request Apr 20, 2026
Encode Prefill Disaggregation testcases
rucnyz added a commit to rucnyz/sglang that referenced this pull request Jun 7, 2026
…red tier

Decision-math audit (knapsack DP + V_u + joint_decide phase math; the core
math verified optimal on constructed instances otherwise).  One real defect:

The pressure knapsack models only DRAM/DISK as destination-cap axes
(cap_left); HBM is a relief axis, so a candidate's HBM `acquired` is
INVISIBLE to the cap constraint and treated as free.  The one relief-bearing
migrate that acquires HBM is promote+drop_disk ({DRAM,DISK}→{HBM,DRAM}): it
relieves DISK (irrelevant to HBM pressure) while pulling the unit BACK into
HBM.  With a negative cost the min-cost DP greedily takes it as free cost
reduction — silently growing the very tier the pressure phase is relieving.

Reachability: promote+drop_disk's cost = V(DRAM)-V(HBM)+M_eff is provably ≥0
under the default h_HBM≥h_DRAM calibration, so the min-cost DP never picks it
TODAY — but correctness must not depend on a calibration invariant.

Fix: _drop_relief_axis_acquirers() excludes any pressure candidate acquiring
into a pressured (relief-axis) subpool before the knapsack.  Targets only
PRESSURED subpools, so it never over-filters an HBM-acquirer when HBM isn't
pressured; getattr(...,"acquired",None) handles Pause gracefully.

verify/joint_decide stage H pins it — both the helper directly AND
NON-VACUOUSLY end-to-end through joint_decide (monkeypatches migrate_
candidates to inject a negative-cost HBM-acquirer, since the default
calibration would make a real-cost end-to-end check vacuous).  Mutation-
verified: removing the filter wiring turns H RED.

Filed: sgl-project#218 page_bytes=0 ZeroDivisionError guard; sgl-project#219 best_effort tie-break
by bucket-count vs bytes; sgl-project#220/sgl-project#221 sglang apply-path hardening (not
daemon-reachable / scheduler-crash robustness) from the parallel apply-path
audit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ImportError: cannot import name 'build_regex_from_object' from 'outlines.fsm.json_schema'

2 participants