$npx skillfedfor your agent

sglang-kernel

Kernel Library for SGLang

With conditionsPyPI Artificial IntelligenceReleased Aug 2026643.3K downloads / mopermissive licensePlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — sglang_kernel-0.4.6.post1-cp310-abi3-manylinux2014_aarch64.whl · sglang_kernel-0.4.6.post1-cp310-abi3-manylinux2014_x86_64.whl
v0.4.6.post1 · released 2026-08-06 · Python >=3.10

Yes, if you are building or deploying an LLM inference engine that benefits from custom CUDA kernels and you have torch == 2.13.0 and Python ≥3.10 available. The active maintenance, permissive license, and high repository engagement suggest solid backing. Install friction is moderate due to compiled wheels, but no runtime dependencies simplify integration. Not suitable as a standalone package; it is a dependency for inference frameworks.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires torch == 2.13.0 and Python ≥3.10.
  • NVIDIA CUDA GPU required.
  • Known segmentation fault with CUDA 12.6; update ptxas to 12.8.

License · maintenance · safety

permissive license (permissive) — Apache License 2.0 (permissive) allows commercial use, modification, and distribution with minimal restrictions. You must include license and copyright notices and document changes.

last release 2026-08-06 (8 days) · last repo commit 2026-08-14 · 31,807 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 643,262 downloads/mo, #5,608 on PyPI

Verify before relying

pip install sglang-kernel
# Import and use within inference framework that depends on sglang-kernel
  • Whether pre-built wheels cover all target architectures and CUDA versions needed for your deployment
  • Performance gains relative to standard PyTorch operations for your specific model and batch sizes
  • Exact kernel operations exposed and their integration patterns within inference frameworks
Same gist for agents: .md · .json

What it is and what it does

sglang-kernel is a library of hand-optimized CUDA kernels designed to accelerate inference for large language models and vision-language models. It provides custom compute primitives that integrate with PyTorch, allowing LLM inference engines to execute critical operations more efficiently on NVIDIA GPUs.

The package is distributed as pre-compiled wheels for x86_64 and aarch64 architectures, with no runtime Python dependencies. It requires torch == 2.13.0 and Python ≥3.10, and is intended to be used as a low-level acceleration layer within larger inference frameworks rather than as a standalone application. The source code lives in the sglang project repository.

Use it for

  • Accelerate batch matrix multiplication and attention operations in LLM inference engines
  • Optimize vision-language model inference by providing specialized CUDA kernels for image and token processing
  • Reduce latency and increase throughput in production LLM serving systems that depend on custom kernel performance
  • Integrate with PyTorch-based inference frameworks that need fine-grained control over GPU compute primitives

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are building or deploying an LLM inference engine that benefits from custom CUDA kernels and you have torch == 2.13.0 and Python ≥3.10 available.

The active maintenance, permissive license, and high repository engagement suggest solid backing. Install friction is moderate due to compiled wheels, but no runtime dependencies simplify integration. Not suitable as a standalone package; it is a dependency for inference frameworks.

Install

sglang-kernel on PyPI

Before you install

Medium install friction due to compiled wheel distribution (aarch64 and x86_64 variants). Active maintenance with recent release 8 days ago and 31807 repository stars. Requires torch == 2.13.0 and Python ≥3.10.

Requires torch == 2.13.0 and Python ≥3.10. NVIDIA CUDA GPU required. Known segmentation fault with CUDA 12.6; update ptxas to 12.8.

License in practice

Apache License 2.0 (permissive) allows commercial use, modification, and distribution with minimal restrictions. You must include license and copyright notices and document changes.

Quickstart

pip install sglang-kernel
# Import and use within inference framework that depends on sglang-kernel

Verify before relying

  • Whether pre-built wheels cover all target architectures and CUDA versions needed for your deployment
  • Performance gains relative to standard PyTorch operations for your specific model and batch sizes
  • Exact kernel operations exposed and their integration patterns within inference frameworks

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.10
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceActively maintained 8 days since the last release
Last repo commit
First released
Downloads643,262 / month, #5,608 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Environment :: GPU :: NVIDIA CUDALicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3

Evidence: sglang_kernel-0.4.6.post1-cp310-abi3-manylinux2014_aarch64.whl; sglang_kernel-0.4.6.post1-cp310-abi3-manylinux2014_x86_64.whl

Tags

Capabilities
llm inference kernelscuda optimization primitiveslanguage model accelerationgpu kernel libraryinference engine optimizationtorch cuda kernelsvision language model kernels
Topics
cuda-kernelsllm-inferencegpu-acceleration

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “llm inference kernels”

  • sglang-kernelsglang-kernel provides optimized CUDA compute primitives for LLM…
  • flashinfer-cubinProvides pre-compiled GPU kernel binaries (cubins) for FlashInfer's…
  • sgl-kernelsgl-kernel provides optimized CUDA compute primitives for LLM…

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also sgl-kernel · slangtorch · sgl-deep-gemm · sglang · liger-kernel · apache-tvm-ffi · flashinfer-python · helion · kernels-data · cpm-kernels

Further reading