Closed nopepper closed 8 months ago
Update: this seems to work again when installing from source, so the bug might be in the distribution.
i meet the same problem
+1 for this. I meet the same problem when I use llava-v1.6-mistral-7b
The error is caused by wrong outlines
version (https://github.com/sgl-project/sglang/pull/196) in the latest release(0.1.12).
The workaround is to manually specify the version constraint of the outlines
package by:
pip install "sglang[all]" "outlines<=0.0.30"
This is caused by the outlines API change, and we temporarily pin the outlines' version here https://github.com/sgl-project/sglang/pull/196.
Thanks @crissed53.
Pinning the outlines breaks up everything around it.
Downgrade outlines to the project specified version, e.g.
# for sglang 0.1.12
pip install outlines==0.0.27
Description
Running
python -m sglang.launch_server
yields this error. I was running it in a container, which I'll describe below.Reproducing
Here's the dockerfile, super simple:
Running:
Notes
I also tried this with the python 3.10 image, same issue. It also didn't work outside of docker.