[Feature] Can SpecForge train and export draft models for vLLM?
Checklist
- [x] 1. If the issue you raised is not a feature but a question, please raise a discussion at https://github.com/sgl-project/SpecForge/discussions/new/choose Otherwise, it will be closed.
- [x] 2. Please use English, otherwise it will be closed.
Motivation
If I train a model, can I easily export it for use with vLLM?
Related resources
No response
We directly save models in HuggingFace format, so vLLM can load it as well.
Closed due to inactivity.
We directly save models in HuggingFace format, so vLLM can load it as well.
hi,During training, I changed the export backend to hf, and encountered errors when loading the trained model with vllm. (EngineCore_DP0 pid=1446) from user code: (EngineCore_DP0 pid=1446) File "/opt/miniconda/envs/vllm/lib/python3.10/site-packages/vllm/model_executor/models/llama_eagle3.py", line 197, in forward (EngineCore_DP0 pid=1446) assert hidden_states.shape[-1] == input_embeds.shape[-1]