Skip to main content
To use a model from ModelScope, set the environment variable SGLANG_USE_MODELSCOPE.
Set Environment Variable
We take Qwen2-7B-Instruct as an example. Launch the Server:
Python
Or start it by docker:
Docker
Note that modelscope uses a different cache directory than huggingface. You may need to set it manually to avoid running out of disk space.