Fix some issues with current docs. (#6588)

This commit is contained in:
simveit
2025-05-25 19:04:34 +02:00
committed by GitHub
parent 5ccf8fe1a0
commit e235be16fe
7 changed files with 18 additions and 23 deletions

View File

@@ -23,8 +23,6 @@ uv pip install "sglang[all]>=0.4.6.post5"
1. Use `export CUDA_HOME=/usr/local/cuda-<your-cuda-version>` to set the `CUDA_HOME` environment variable.
2. Install FlashInfer first following [FlashInfer installation doc](https://docs.flashinfer.ai/installation.html), then install SGLang as described above.
- If you encounter `ImportError; cannot import name 'is_valid_list_of_images' from 'transformers.models.llama.image_processing_llama'`, try to use the specified version of `transformers` in [pyproject.toml](https://github.com/sgl-project/sglang/blob/main/python/pyproject.toml). Currently, just running `pip install transformers==4.51.1`.
## Method 2: From source
```bash