Skip to content

Conversation

@chang-wenbin
Copy link
Collaborator

No description provided.

@paddle-bot
Copy link

paddle-bot bot commented Sep 4, 2025

Thanks for your contribution!


self.share_inputs["ids_remove_padding"].copy_(ids_remove_padding, False)
# NOTE: (changwenbin) Initialized to max_num_seq '-1' before copying, marking illegal positions
self.share_inputs["batch_id_per_token"][:] = -1
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个写操作有多少耗时

Comment on lines +66 to +67
// int chunk_size = decoder_chunk_size_cpu.data<int>()[0];
//
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

没用的代码是不是可以删掉

@chang-wenbin chang-wenbin merged commit a7392a0 into PaddlePaddle:develop Sep 11, 2025
62 of 72 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants