Skip to content

Commit e3e3d48

Browse files
authored
[bugfix] fix mtp (#12)
1 parent 2dc426f commit e3e3d48

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mcore_bridge/patcher.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,7 @@ def forward(
423423
input_ids=input_ids,
424424
position_ids=position_ids,
425425
embedding=embedding,
426+
packed_seq_params=packed_seq_params,
426427
hidden_states=hidden_states,
427428
)
428429
assert not self.transformer_layer.self_attention.config.apply_rope_fusion

0 commit comments

Comments
 (0)