hf-sglang-recipe
hf-sglang-recipe is a Hugging Face CLI extension that generates a baseline SGLang serving command for a Hub model or local checkpoint.
- Read context length and check support against SGLang
0.5.23or--version - Detect custom code, chat parsers and native checkpoint formats
- Estimate memory with hf-mem using
--gpu-memoryand the optionalhf-memextra - Python 3.12+ and
httpx2
Installation
hf extensions install alvarobartt/hf-sglang-recipe
Usage
Run with uvx, or use hf sglang-recipe MODEL after installing the extension.
$ uvx hf-sglang-recipe google/gemma-4-E2B-it
python -m sglang.launch_server \
--model-path google/gemma-4-E2B-it \
--context-length 131072 \
--revision 4adf15748de9e1a0097b6274cee9c15836c41c37 \
--tool-call-parser gemma4 \
--reasoning-parser gemma4
Agents
Coding agents can follow the hf-sglang-recipe skill to generate serving commands.
Metadata
Release files for hf-sglang-recipe 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hf_sglang_recipe-0.0.1.tar.gz | 31.2 kB | Without provenance | Details for hf_sglang_recipe-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hf_sglang_recipe-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for hf_sglang_recipe-0.0.1-py3-none-any.whl |
Total release size: 51.5 kB
Release files / hf_sglang_recipe-0.0.1.tar.gz
| Download URL | hf_sglang_recipe-0.0.1.tar.gz |
|---|---|
| Size | 31.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
798759d65a04abb98d0cdf493d3fd15ddff8092cbc5bcdcee71485e950fa68a5
|
|
BLAKE2b-256 checksum How to use checksums |
cb32f953f44558ce74a81f4123f6da5b94e965c588cd4f19a9274dd21f783a7b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / hf_sglang_recipe-0.0.1-py3-none-any.whl
| Download URL | hf_sglang_recipe-0.0.1-py3-none-any.whl |
|---|---|
| Size | 20.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
da7876b6d5b967d0963bd66081b87936b1a9eda8741cce495c13a8af2cccd968
|
|
BLAKE2b-256 checksum How to use checksums |
ab411101594066514693b7e93f4f2e87e42dc7367fb441050b7825864dfdfe04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for hf-sglang-recipe 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.