Skip to content

Conversation

@lqaolqao
Copy link

This pull request addresses the vLLM compatibility issue (issues #52 and #18) where loading TeleChat2 models in vLLM resulted in the error: \TypeError: _init_model() got an unexpected keyword argument 'layer_type'.\n\nThe fix includes:\n- A configuration adapter that translates TeleChat2-specific parameters to vLLM-compatible formats\n- Proper parameter mapping (n_head → num_attention_heads, n_layer → num_hidden_layers, etc.)\n- Validation functions to ensure compatibility\n- Documentation on how to use TeleChat2 models with vLLM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant