lm-sys / lm-sys/FastChat

SGLang worker is obsolete since SGLang 0.3.5

Open
#3,703 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
39.5k
Forks
4.8k
PR merge metrics
No merged PRs in 30d

Description

The sglang worker expects the is_multimodal_model from sglang's utility functions, but this has been removed since 0.3.5:

```python
Traceback (most recent call last):
File "/p/haicluster/llama/FastChat/fastchat/serve/sglang_worker.py", line 19, in
from sglang.srt.utils import load_image, is_multimodal_model
ImportError: cannot import name 'is_multimodal_model' from 'sglang.srt.utils' (/p/haicluster/llama/FastChat/sc_venv_sglang2/venv/lib/python3.11/site-packages/sglang/srt/utils.py)
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with fastchat/serve/sglang_worker.py and inspect its imports against SGLang 0.3.5, focusing on the removed is_multimodal_model utility. Done means the SGLang worker no longer fails with the reported ImportError when used with that SGLang version.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai, backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.