Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vllm/config/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1373,7 +1373,7 @@ def get_num_layers_by_block_type(
if hasattr(self.hf_text_config, "model_type") and (
self.hf_text_config.model_type == "zaya"
):
return self.hf_text_config.num_layers
return self.hf_text_config.num_hidden_layers
# Hybrid model Minimax
attn_type_list = getattr(self.hf_config, "attn_type_list", None)
if attn_type_list:
Expand Down
Loading
Loading