-
Create
.envfileMODEL_NAME=Qwen/Qwen3-0.6B HF_TOKEN=
-
Start the vLLM server
$ docker volume create huggingface-cache $ docker compose up -d
-
Try it
$ curl http://localhost:8000/v1/responses -H "Content-Type: application/json" -d '{"model": "Qwen/Qwen3-0.6B","input": [{"role": "system", "content": "You are a helpful assistant."},{"role": "user", "content": "Explain quantum computing in one short sentence."}]}'
Note
This warning message is a expected log.
/opt/python/lib/python3.13/site-packages/torch/cuda/__init__.py:971: UserWarning: Can't initialize amdsmi - Error code: 34
raw_cnt = _raw_device_count_amdsmi()
Tip
Running without --enforce-eager flag rases an error.
/path/to/librocdxg/src/wddm/queue.cpp:841: hsa_status_t wsl::thunk::ComputeQueue::VendorSpecificAqlToPm4(char*, amd_aql_pm4_ib*): Assertion `packet->ven_hdr == AMD_AQL_FORMAT_PM4_IB' failed.
(APIServer pid=1) INFO 06-07 09:46:02 [loggers.py:259] Engine 000: Avg prompt throughput: 2.8 tokens/s, Avg generation throughput: 0.1 tokens/s, Running: 1 reqs, Waiting: 0 reqs, GPU KV cache usage: 0.0%, Prefix cache hit rate: 0.0%
(APIServer pid=1) INFO 06-07 09:46:12 [loggers.py:259] Engine 000: Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 0.0 tokens/s, Running: 1 reqs, Waiting: 0 reqs, GPU KV cache usage: 0.0%, Prefix cache hit rate: 0.0%
(APIServer pid=1) ERROR 06-07 09:46:24 [core_client.py:667] Engine core proc EngineCore died unexpectedly, shutting down client.
(APIServer pid=1) ERROR 06-07 09:46:26 [async_llm.py:707] AsyncLLM output_handler failed.
(APIServer pid=1) ERROR 06-07 09:46:26 [async_llm.py:707] Traceback (most recent call last):
(APIServer pid=1) ERROR 06-07 09:46:26 [async_llm.py:707] File "/opt/python/lib/python3.13/site-packages/vllm/v1/engine/async_llm.py", line 663, in output_handler
(APIServer pid=1) ERROR 06-07 09:46:26 [async_llm.py:707] outputs = await engine_core.get_output_async()
(APIServer pid=1) ERROR 06-07 09:46:26 [async_llm.py:707] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
(APIServer pid=1) ERROR 06-07 09:46:26 [async_llm.py:707] vllm.v1.engine.exceptions.EngineDeadError: EngineCore encountered an issue. See stack trace (above) for the root cause.