Skip to content

Commit b01d9d4

Browse files
committed
remove_print
1 parent d0e3c28 commit b01d9d4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

paddlenlp/transformers/deepseek_v2/modeling_network.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,9 +393,7 @@ def forward(
393393
# query_states[:, :, :, : self.qk_nope_head_dim] = q_nope
394394
# query_states[:, :, :, self.qk_nope_head_dim :] = q_pe
395395

396-
print("k_nope.shape", k_nope.shape, "k_pe.shape", k_pe.shape)
397396
key_states = paddle.empty([bsz, q_len, self.num_heads, self.q_head_dim], dtype=self.config.dtype)
398-
print("key_states.shape:", key_states.shape)
399397
# input[0]'s shape = [1, 2048, 16, 128], input[1]'s shape = [1, 2048, 1, 64].
400398
key_states = paddle.concat([k_nope, k_pe.expand([bsz, q_len, self.num_heads, k_pe.shape[-1]])], axis=3)
401399

0 commit comments

Comments
 (0)