您好,由于公司网络限制,可否提供一个联系方式?或者我用多条回帖方式完整粘贴。
论坛回帖文件尺寸好像也有限制
您好,由于公司网络限制,可否提供一个联系方式?或者我用多条回帖方式完整粘贴。
论坛回帖文件尺寸好像也有限制
(APIServer pid=3122) File "/opt/conda/lib/python3.10/site-packages/vllm/entrypoints/openai/api_server.py", line 151, in build_async_engine_client_from_engine_args
(APIServer pid=3122) vllm_config = engine_args.create_engine_config(usage_context=usage_context)
(APIServer pid=3122) File "/opt/conda/lib/python3.10/site-packages/vllm/engine/arg_utils.py", line 1969, in create_engine_config
(APIServer pid=3122) model_config = self.create_model_config()
(APIServer pid=3122) File "/opt/conda/lib/python3.10/site-packages/vllm/engine/arg_utils.py", line 1727, in create_model_config
(APIServer pid=3122) return ModelConfig(
(APIServer pid=3122) File "/opt/conda/lib/python3.10/site-packages/pydantic/_internal/_dataclasses.py", line 121, in init
(APIServer pid=3122) s.pydantic_validator.validate_python(ArgsKwargs(args, kwargs), self_instance=s)
(APIServer pid=3122) pydantic_core._pydantic_core.ValidationError: 1 validation error for ModelConfig
(APIServer pid=3122) Value error, Model architectures ['Qwen2ForCausalLM'] failed to be inspected. Please check the logs for more details. [type=value_error, input_value=ArgsKwargs((), {'model': ...nderer_num_workers': 1}), input_type=ArgsKwargs]
(APIServer pid=3122) For further information visit errors.pydantic.dev/2.13/v/value_error
[01:13:05.242][MXKW][E]queues.c :850 : [mxkwCreateQueueBlock]ioctl create queue block failed -1
[01:13:05.243][MCR][E]mx_device.cpp :1626: Device::acquireQueue: mxc_queue_acquire failed!
[01:13:05.243][MXKW][E]queues.c :850 : [mxkwCreateQueueBlock]ioctl create queue block failed -1
[01:13:05.244][MCR][E]mx_device.cpp :1626: Device::acquireQueue: mxc_queue_acquire failed!
!!!!!!! Segfault encountered !!!!!!!
(APIServer pid=3122) return await main
(APIServer pid=3122) File "/opt/conda/lib/python3.10/site-packages/vllm/entrypoints/openai/api_server.py", line 739, in run_server
(APIServer pid=3122) await run_server_worker(listen_address, sock, args, **uvicorn_kwargs)
(APIServer pid=3122) File "/opt/conda/lib/python3.10/site-packages/vllm/entrypoints/openai/api_server.py", line 753, in run_server_worker
(APIServer pid=3122) async with build_async_engine_client(
(APIServer pid=3122) File "/opt/conda/lib/python3.10/contextlib.py", line 199, in aenter
(APIServer pid=3122) return await anext(self.gen)
(APIServer pid=3122) File "/opt/conda/lib/python3.10/site-packages/vllm/entrypoints/openai/api_server.py", line 127, in build_async_engine_client
(APIServer pid=3122) async with build_async_engine_client_from_engine_args(
(APIServer pid=3122) File "/opt/conda/lib/python3.10/contextlib.py", line 199, in aenter
(APIServer pid=3122) return await anext(self.gen)
最后在vllm起一个子进程的时候:
(APIServer pid=3122) Traceback (most recent call last):
(APIServer pid=3122) File "/opt/conda/bin/vllm", line 8, in <module>
(APIServer pid=3122) sys.exit(main())
(APIServer pid=3122) File "/opt/conda/lib/python3.10/site-packages/vllm/entrypoints/cli/main.py", line 97, in main
(APIServer pid=3122) args.dispatch_function(args)
(APIServer pid=3122) File "/opt/conda/lib/python3.10/site-packages/vllm/entrypoints/cli/serve.py", line 152, in cmd
(APIServer pid=3122) uvloop.run(run_server(args))
(APIServer pid=3122) File "/opt/conda/lib/python3.10/site-packages/uvloop/init.py", line 69, in run
(APIServer pid=3122) return loop.run_until_complete(wrapper())
(APIServer pid=3122) File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete
(APIServer pid=3122) File "/opt/conda/lib/python3.10/site-packages/uvloop/init.py", line 48, in wrapper
您好,Metax N300 GPU,使用官方vllm-metax-0.28.0-maca.ai3.8.2.401-torch2.10-py310-ubuntu22.04-amd64.tar.xz 镜像,docker中启动vllm会报 core dumpe
请教一下这个问题。
docker加载run后,是否还需要安装配置什么依赖?
7.镜像版本:
vllm-metax:0.28.0-maca.ai3.8.2.401-torch2.10-py310-ubuntu22.04-amd64
8.启动容器命令:
docker run -itd \
--name n300-lmcache \
--network=host \
--ipc=host \
--privileged \
--ulimit memlock=-1 \
--shm-size 64g \
--device=/dev/mxcd \
--device=/dev/dri \
--group-add video \
-v /data/models:/workspace/models \
-v /data/lmcache-storage:/workspace/lmcache-storage \
cr.metax-tech.com/public-ai-release/maca/vllm-metax:0.28.0-maca.ai3.8.2.401-torch2.10-py310-ubuntu22.04-amd64 \
tail -f /dev/null
9.容器内执行命令:
vllm serve /workspace/models --port 8000 --gpu-memory-utilization 0.8 --max-model-len 32768
6.docker info回显:
Client:
Version: 29.1.3
Context: default
Debug Mode: false
Plugins:
trust: Manage trust on Docker images (Docker Inc.)
Version: 29.1.3
Path: /usr/libexec/docker/cli-plugins/docker-trust
Server:
Containers: 1
Running: 1
Paused: 0
Stopped: 0
Images: 1
Server Version: 29.1.3
Storage Driver: overlayfs
driver-type: io.containerd.snapshotter.v1
Logging Driver: json-file
Cgroup Driver: systemd
Cgroup Version: 2
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
CDI spec directories:
/etc/cdi
/var/run/cdi
Swarm: inactive
Runtimes: runc io.containerd.runc.v2
Default Runtime: runc
Init Binary: docker-init
containerd version:
runc version:
init version:
Security Options:
apparmor
seccomp
Profile: builtin
cgroupns
Kernel Version: 6.14.0-27-generic
Operating System: Ubuntu 24.04.2 LTS
OSType: linux
Architecture: x86_64
CPUs: 255
Total Memory: 123.2GiB
Name: 129
ID: 9ff12760-f820-442d-b087-dd5702481568
Docker Root Dir: /var/lib/docker
Debug Mode: false
HTTP Proxy: http://109.105.113.200:8080
HTTPS Proxy: http://109.105.113.200:8080
No Proxy: localhost,127.0.0.1
Experimental: false
Insecure Registries:
::1/128
127.0.0.0/8
Live Restore Enabled: false
Firewall Backend: iptables
5.mx-smi回显:
mx-smi version: 2.3.4
=================== MetaX System Management Interface Log ===================
Timestamp : Thu Oct 15 21:50:54 2026
Attached GPUs : 1
+---------------------------------------------------------------------------------+
| MX-SMI 2.3.4 Kernel Mode Driver Version: 3.10.14 |
| MACA Version: 3.8.2.6 BIOS Version: 2.6.8.0 |
|------------------+-----------------+---------------------+----------------------|
| Board Name | GPU Persist-M | Bus-id | GPU-Util sGPU-M |
| Pwr:Usage/Cap | Temp Perf | Memory-Usage | GPU-State |
|==================+=================+=====================+======================|
| 0 MetaX N300-A | 0 Off | 0000:21:00.0 | 0% Disabled |
| 40W / 500W | 29C P0 | 162/49152 MiB | Available |
+------------------+-----------------+---------------------+----------------------+
+---------------------------------------------------------------------------------+
| Process: |
| GPU PID Process Name GPU Memory |
| Usage(MiB) |
|=================================================================================|
| no process found |
+---------------------------------------------------------------------------------+
End of Log
1.服务器厂家: **
Dell
2.沐曦GPU型号:
MetaX N300-A
3.操作系统内核版本:
4.是否开启CPU虚拟化:**
grep -c vmx /proc/cpuinfo
0
(APIServer pid=3122) File "/opt/conda/lib/python3.10/site-packages/vllm/entrypoints/openai/api_server.py", line 151, in build_async_engine_client_from_engine_args
(APIServer pid=3122) vllm_config = engine_args.create_engine_config(usage_context=usage_context)
(APIServer pid=3122) File "/opt/conda/lib/python3.10/site-packages/vllm/engine/arg_utils.py", line 1969, in create_engine_config
(APIServer pid=3122) model_config = self.create_model_config()
(APIServer pid=3122) File "/opt/conda/lib/python3.10/site-packages/vllm/engine/arg_utils.py", line 1727, in create_model_config
(APIServer pid=3122) return ModelConfig(
(APIServer pid=3122) File "/opt/conda/lib/python3.10/site-packages/pydantic/_internal/_dataclasses.py", line 121, in init
(APIServer pid=3122) s.pydantic_validator.validate_python(ArgsKwargs(args, kwargs), self_instance=s)
(APIServer pid=3122) pydantic_core._pydantic_core.ValidationError: 1 validation error for ModelConfig
(APIServer pid=3122) Value error, Model architectures ['Qwen2ForCausalLM'] failed to be inspected. Please check the logs for more details. [type=value_error, input_value=ArgsKwargs((), {'model': ...nderer_num_workers': 1}), input_type=ArgsKwargs]
(APIServer pid=3122) For further information visit errors.pydantic.dev/2.13/v/value_error
[01:13:05.242][MXKW][E]queues.c :850 : [mxkwCreateQueueBlock]ioctl create queue block failed -1
[01:13:05.243][MCR][E]mx_device.cpp :1626: Device::acquireQueue: mxc_queue_acquire failed!
[01:13:05.243][MXKW][E]queues.c :850 : [mxkwCreateQueueBlock]ioctl create queue block failed -1
[01:13:05.244][MCR][E]mx_device.cpp :1626: Device::acquireQueue: mxc_queue_acquire failed!
!!!!!!! Segfault encountered !!!!!!!
(APIServer pid=3122) return await main
(APIServer pid=3122) File "/opt/conda/lib/python3.10/site-packages/vllm/entrypoints/openai/api_server.py", line 739, in run_server
(APIServer pid=3122) await run_server_worker(listen_address, sock, args, **uvicorn_kwargs)
(APIServer pid=3122) File "/opt/conda/lib/python3.10/site-packages/vllm/entrypoints/openai/api_server.py", line 753, in run_server_worker
(APIServer pid=3122) async with build_async_engine_client(
(APIServer pid=3122) File "/opt/conda/lib/python3.10/contextlib.py", line 199, in aenter
(APIServer pid=3122) return await anext(self.gen)
(APIServer pid=3122) File "/opt/conda/lib/python3.10/site-packages/vllm/entrypoints/openai/api_server.py", line 127, in build_async_engine_client
(APIServer pid=3122) async with build_async_engine_client_from_engine_args(
(APIServer pid=3122) File "/opt/conda/lib/python3.10/contextlib.py", line 199, in aenter
(APIServer pid=3122) return await anext(self.gen)
最后在vllm起一个子进程的时候:
(APIServer pid=3122) Traceback (most recent call last):
(APIServer pid=3122) File "/opt/conda/bin/vllm", line 8, in <module>
(APIServer pid=3122) sys.exit(main())
(APIServer pid=3122) File "/opt/conda/lib/python3.10/site-packages/vllm/entrypoints/cli/main.py", line 97, in main
(APIServer pid=3122) args.dispatch_function(args)
(APIServer pid=3122) File "/opt/conda/lib/python3.10/site-packages/vllm/entrypoints/cli/serve.py", line 152, in cmd
(APIServer pid=3122) uvloop.run(run_server(args))
(APIServer pid=3122) File "/opt/conda/lib/python3.10/site-packages/uvloop/init.py", line 69, in run
(APIServer pid=3122) return loop.run_until_complete(wrapper())
(APIServer pid=3122) File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete
(APIServer pid=3122) File "/opt/conda/lib/python3.10/site-packages/uvloop/init.py", line 48, in wrapper
WARNING 10-15 01:12:33 [import_utils.py:408] ImportError: libmpi.so.40: cannot open shared object file: No such file or directory
/opt/conda/lib/python3.10/site-packages/flashinfer/gdn_prefill.py:27: UserWarning: fla package is not installed, gdn_prefill module will not be available. Install via: pip install flash_linear_attention-*.whl
warnings.warn(
(APIServer pid=3122) INFO 10-15 01:12:37 [api_utils.py:333]
(APIServer pid=3122) INFO 10-15 01:12:37 [api_utils.py:333] █ █ █▄ ▄█
(APIServer pid=3122) INFO 10-15 01:12:37 [api_utils.py:333] ▄▄ ▄█ █ █ █ ▀▄▀ █ version 0.28.0
(APIServer pid=3122) INFO 10-15 01:12:37 [api_utils.py:333] █▄█▀ █ █ █ █ model /workspace/models
(APIServer pid=3122) INFO 10-15 01:12:37 [api_utils.py:333] ▀▀ ▀▀▀▀▀ ▀▀▀▀▀ ▀ ▀
(APIServer pid=3122) INFO 10-15 01:12:37 [api_utils.py:333]
(APIServer pid=3122) INFO 10-15 01:12:37 [api_utils.py:272] non-default args: {'model_tag': '/workspace/models', 'model': '/workspace/models', 'trust_remote_code': True, 'max_model_len': 2048, 'served_model_name': ['qwen3'], 'gpu_memory_utilization': 0.7, 'max_num_seqs': 2}
(APIServer pid=3122) WARNING 10-15 01:12:37 [envs.py:2213] Unknown vLLM environment variable detected: VLLM_BYPASS_INSPECTION_FOR_TESTING
(APIServer pid=3122) ERROR 10-15 01:13:03 [registry.py:1072] Error in inspecting model architecture 'Qwen2ForCausalLM'
(APIServer pid=3122) ERROR 10-15 01:13:03 [registry.py:1072] Traceback (most recent call last):
(APIServer pid=3122) ERROR 10-15 01:13:03 [registry.py:1072] File "/opt/conda/lib/python3.10/site-packages/vllm/model_executor/models/registry.py", line 1507, in _run_in_subprocess
WARNING 10-15 01:12:33 [import_utils.py:408] Module deep_ep was found but failed to import
WARNING 10-15 01:12:33 [import_utils.py:408] Traceback (most recent call last):
WARNING 10-15 01:12:33 [import_utils.py:408] File "/opt/conda/lib/python3.10/site-packages/vllm/utils/import_utils.py", line 406, in _has_module
WARNING 10-15 01:12:33 [import_utils.py:408] importlib.import_module(module_name)
WARNING 10-15 01:12:33 [import_utils.py:408] File "/opt/conda/lib/python3.10/importlib/init.py", line 126, in import_module
WARNING 10-15 01:12:33 [import_utils.py:408] return _bootstrap._gcd_import(name[level:], package, level)
WARNING 10-15 01:12:33 [import_utils.py:408] File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
WARNING 10-15 01:12:33 [import_utils.py:408] File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
WARNING 10-15 01:12:33 [import_utils.py:408] File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
WARNING 10-15 01:12:33 [import_utils.py:408] File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
WARNING 10-15 01:12:33 [import_utils.py:408] File "<frozen importlib._bootstrap_external>", line 883, in exec_module
WARNING 10-15 01:12:33 [import_utils.py:408] File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
WARNING 10-15 01:12:33 [import_utils.py:408] File "/opt/conda/lib/python3.10/site-packages/deep_ep/init.py", line 3, in <module>
WARNING 10-15 01:12:33 [import_utils.py:408] from .utils import EventOverlap
WARNING 10-15 01:12:33 [import_utils.py:408] File "/opt/conda/lib/python3.10/site-packages/deep_ep/utils.py", line 5, in <module>
WARNING 10-15 01:12:33 [import_utils.py:408] from deep_ep_cpp import Config, EventHandle
root@129:/workspace# VLLM_BYPASS_INSPECTION_FOR_TESTING=1 vllm serve /workspace/models \
--tensor-parallel-size 1 \
--trust-remote-code \
--max-model-len 2048 \
--gpu-memory-utilization 0.70 \
--served-model-name qwen3 \
--max-num-seqs 2
............
Version info:Mcoplib_Version = '0.4.13'
Build_Maca_Version = '3.8.2.6'
Build_Torch_Version = '2.10.0+metax3.8.2.2'
Min_Compatibility_Maca_Version = '3.7.0'
GIT_BRANCH = 'HEAD'
GIT_COMMIT = 'cdc10b7'
Vllm Op Version = 0.28.0
SGlang Op Version = 0.5.17
INFO mcoplib version: None
INFO: Torch version compatibility check passed: build=2.10.0+metax3.8.2.2, runtime=2.10.0+metax3.8.2.2.
INFO: Release major.minor matching, successful:3.8.
INFO: MACA minimum compatibility check passed: 3.8.2 >= 3.7.0.
您好,Metax N300 GPU,使用官方vllm-metax-0.28.0-maca.ai3.8.2.401-torch2.10-py310-ubuntu22.04-amd64.tar.xz 镜像,docker中启动vllm会报 core dumpe
请教一下这个问题。
docker加载run后,是否还需要安装配置什么依赖?