ProcessFork plugin for SGLang ≥0.5 — RadixAttention prefix-share preserved across snapshot/restore.
Project description
processfork-sglang
ProcessFork plugin for SGLang ≥0.5.
Snapshot / fork / checkout endpoints that preserve RadixAttention
prefix-sharing across restores.
Install
pip install "processfork-sglang[sglang]"
Use
python -m sglang.launch_server \
--model meta-llama/Llama-3-8B \
--plugin processfork \
--deterministic-mode
Endpoints (matching the vLLM plugin's surface):
POST /processfork/snapshot
POST /processfork/fork
POST /processfork/checkout
POST /processfork/merge
The plugin maps SGLang's mem_pool.req_to_token_pool onto the
paged-batchinvariant-v1 LogicalSeq array, so prefix-sharing
survives across snapshot/restore.
Bit-exact restore requires --deterministic-mode.
Status
The trait surface and wire format are stable. The live FFI shim into
sglang.srt.mem_cache.RadixCache lands in v1.0.1 alongside the vLLM
adapter. Until then, the plugin's HTTP surface returns 501 with a
clear pointer to this README.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file processfork_sglang-1.0.3.tar.gz.
File metadata
- Download URL: processfork_sglang-1.0.3.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8178d3bd1a3a5f5e0ef199ea4c1af99cae95095da0830ae2dd0d3f3ecf4e715e
|
|
| MD5 |
582923e361e6e92e642baf70e1937d01
|
|
| BLAKE2b-256 |
65ecb8d0193db8012f7fcc3418e0a9a58af371c688aef989b871fc2b664d7223
|
Provenance
The following attestation bundles were made for processfork_sglang-1.0.3.tar.gz:
Publisher:
release.yml on manav8498/processfork
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
processfork_sglang-1.0.3.tar.gz -
Subject digest:
8178d3bd1a3a5f5e0ef199ea4c1af99cae95095da0830ae2dd0d3f3ecf4e715e - Sigstore transparency entry: 1454232694
- Sigstore integration time:
-
Permalink:
manav8498/processfork@46688b9335242a8f0c7f5954917b48caf597bbf6 -
Branch / Tag:
refs/tags/v1.0.7 - Owner: https://github.com/manav8498
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@46688b9335242a8f0c7f5954917b48caf597bbf6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file processfork_sglang-1.0.3-py3-none-any.whl.
File metadata
- Download URL: processfork_sglang-1.0.3-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a5e5d25084339cd6736bf791b9acf2f5886fc761722cd076527eba53cc42dd7
|
|
| MD5 |
f826cf5410195c3776cc4b06695f9947
|
|
| BLAKE2b-256 |
f4236784eda349f1ac00748c129c9341c3777da096d409219684f703f8f0a4f8
|
Provenance
The following attestation bundles were made for processfork_sglang-1.0.3-py3-none-any.whl:
Publisher:
release.yml on manav8498/processfork
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
processfork_sglang-1.0.3-py3-none-any.whl -
Subject digest:
0a5e5d25084339cd6736bf791b9acf2f5886fc761722cd076527eba53cc42dd7 - Sigstore transparency entry: 1454232738
- Sigstore integration time:
-
Permalink:
manav8498/processfork@46688b9335242a8f0c7f5954917b48caf597bbf6 -
Branch / Tag:
refs/tags/v1.0.7 - Owner: https://github.com/manav8498
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@46688b9335242a8f0c7f5954917b48caf597bbf6 -
Trigger Event:
push
-
Statement type: