Your current environment
The output of python collect_env.py
raise the error:
ImportError: cannot import name 'PretrainedConfig' from partially initialized module 'transformers.configuration_utils' (most likely due to a circular import)
Your output of `python collect_env.py` here
version : 1Cat-vLLM-1.0.0
when run :
python -m vllm.entrypoints.openai.api_server
--model /home/yan/Model/qwen3.6-27b
--served-model-name qwen3.6-27b-awq-mtp
--trust-remote-code
--tensor-parallel-size 1
--enable-auto-tool-choice
--tool-call-parser qwen3_coder
--speculative-config '{"method":"mtp","num_speculative_tokens":2}'
--host 0.0.0.0
--port 8765
🐛 Describe the bug
cannot import name 'PretrainedConfig' from partially initialized module 'transformers.configuration_utils'
Before submitting a new issue...
Your current environment
The output of
python collect_env.pyraise the error:
ImportError: cannot import name 'PretrainedConfig' from partially initialized module 'transformers.configuration_utils' (most likely due to a circular import)
version : 1Cat-vLLM-1.0.0
when run :
python -m vllm.entrypoints.openai.api_server
--model /home/yan/Model/qwen3.6-27b
--served-model-name qwen3.6-27b-awq-mtp
--trust-remote-code
--tensor-parallel-size 1
--enable-auto-tool-choice
--tool-call-parser qwen3_coder
--speculative-config '{"method":"mtp","num_speculative_tokens":2}'
--host 0.0.0.0
--port 8765
🐛 Describe the bug
cannot import name 'PretrainedConfig' from partially initialized module 'transformers.configuration_utils'
Before submitting a new issue...