From fb27d38305f0806133771abd8047ba361847185c Mon Sep 17 00:00:00 2001 From: Yineng Zhang Date: Mon, 6 Oct 2025 17:55:22 -0700 Subject: [PATCH] docs: update sgl-kernel README (#11286) --- sgl-kernel/README.md | 261 +------------------------------------------ 1 file changed, 2 insertions(+), 259 deletions(-) diff --git a/sgl-kernel/README.md b/sgl-kernel/README.md index cd3c0288a..421cf3c69 100644 --- a/sgl-kernel/README.md +++ b/sgl-kernel/README.md @@ -7,263 +7,6 @@ ## Installation ```bash -pip3 install sgl-kernel +# latest version +pip3 install sgl-kernel --upgrade ``` - -For CUDA 12.4: - -```bash -pip3 install sgl-kernel -i https://docs.sglang.ai/whl/cu124 -``` - -## Build from source - -Development build: - -```bash -make build -``` - -Note: -The `sgl-kernel` is rapidly evolving. If you experience a compilation failure, try using `make rebuild`. - -### Build with [ccache](https://github.com/ccache/ccache) -```bash -# or `yum install -y ccache`. -apt-get install -y ccache -# Building with ccache is enabled when ccache is installed and CCACHE_DIR is set. -export CCACHE_DIR=/path/to/your/ccache/dir -export CCACHE_BACKEND="" -export CCACHE_KEEP_LOCAL_STORAGE="TRUE" -unset CCACHE_READONLY -python -m uv build --wheel -Cbuild-dir=build --color=always . -``` - -### Configuring CMake Build Options -Cmake options can be configuring by adding `-Ccmake.define.