Skip to content

Cannot work with qwen3.6-35b-int4 #49

Description

@wududu123

run model cmd:

docker run -d
--name qwen3.6-35b-int4
--gpus all
--ipc=host
--shm-size=16g
-p 8000:8000
-v ~/.cache/modelscope/hub/models/cyankiwi/Qwen3.6-35B-A3B-AWQ-4bit:/model
-e VLLM_USE_MODELSCOPE=True
vllm/vllm-openai:latest
--model /model
--tensor-parallel-size 2
--max-model-len 24576
--gpu-memory-utilization 0.90
--host 0.0.0.0
--port 8000
--enable-auto-tool-choice
--tool-call-parser hermes

--speculative-config '{"method":"qwen3_next_mtp","num_speculative_tokens":2}'

When I send cmd, the server get error:

(APIServer pid=1) INFO: 172.17.0.1:52416 - "GET /v1/models HTTP/1.1" 200 OK
(APIServer pid=1) ERROR 05-26 02:20:09 [hermes_tool_parser.py:139] Error in extracting tool call from response.
(APIServer pid=1) ERROR 05-26 02:20:09 [hermes_tool_parser.py:139] Traceback (most recent call last):
(APIServer pid=1) ERROR 05-26 02:20:09 [hermes_tool_parser.py:139] File "/usr/local/lib/python3.12/dist-packages/vllm/tool_parsers/hermes_tool_parser.py", line 114, in extract_tool_calls
(APIServer pid=1) ERROR 05-26 02:20:09 [hermes_tool_parser.py:139] json.loads(match[0] if match[0] else match[1])
(APIServer pid=1) ERROR 05-26 02:20:09 [hermes_tool_parser.py:139] File "/usr/lib/python3.12/json/init.py", line 346, in loads
(APIServer pid=1) ERROR 05-26 02:20:09 [hermes_tool_parser.py:139] return _default_decoder.decode(s)
(APIServer pid=1) ERROR 05-26 02:20:09 [hermes_tool_parser.py:139] ^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1) ERROR 05-26 02:20:09 [hermes_tool_parser.py:139] File "/usr/lib/python3.12/json/decoder.py", line 338, in decode
(APIServer pid=1) ERROR 05-26 02:20:09 [hermes_tool_parser.py:139] obj, end = self.raw_decode(s, idx=_w(s, 0).end())
(APIServer pid=1) ERROR 05-26 02:20:09 [hermes_tool_parser.py:139] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(APIServer pid=1) ERROR 05-26 02:20:09 [hermes_tool_parser.py:139] File "/usr/lib/python3.12/json/decoder.py", line 356, in raw_decode
(APIServer pid=1) ERROR 05-26 02:20:09 [hermes_tool_parser.py:139] raise JSONDecodeError("Expecting value", s, err.value) from None
(APIServer pid=1) ERROR 05-26 02:20:09 [hermes_tool_parser.py:139] json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1)
(APIServer pid=1) INFO: 172.17.0.1:34668 - "POST /v1/chat/completions HTTP/1.1" 200 OK

With mtp or not, got the same error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions