modelscope / modelscope/ms-swift

vllm 推理的时候抱sqlite3 模块加载失败,镜像v4.0.2

Open
#8,490 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
15.7k
Forks
1.7k
Avg merge
1d 16h
Merged PRs (30d)
136

Description

Checklist / 检查清单
  • I have searched existing issues, and this is a new bug report. / 我已经搜索过现有的 issues,确认这是一个新的 bug report。
Bug Description / Bug 描述

ImportError: /usr/local/lib/python3.11/lib-dynload/_sqlite3.cpython-311-x86_64-linux-gnu.so: undefined symbol: sqlite3_create_window_function

How to Reproduce / 如何复现

vllm启动服务的时候:
export MODEL_PATH=/kpfs-llm-text/jail.zhang/BillInstallmen_model/Qwen3.5-35B-A3B/lora/v18-20260330-214131/checkpoint-500-merged
export CUDA_VISIBLE_DEVICES=0
export CARD_NUM=1
vllm serve $MODEL_PATH
--dtype 'bfloat16'
--api-key 1234
--host 0.0.0.0
--port 9898
--tensor-parallel-size 1
--gpu-memory-utilization 0.85
--pipeline-parallel-size 1

Additional Information / 补充信息

No response

Contributor guide

Open the contributing guide

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 by reproducing the vllm serve command in image v4.0.2 and inspect why Python 3.11 cannot load _sqlite3.cpython-311-x86_64-linux-gnu.so because sqlite3_create_window_function is undefined. No source file or test is named; the issue is done when the service starts without this sqlite3 ImportError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, sqlite
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.