Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pad #663

Open
Purshow opened this issue Oct 24, 2024 · 0 comments
Open

Pad #663

Purshow opened this issue Oct 24, 2024 · 0 comments

Comments

@Purshow
Copy link

Purshow commented Oct 24, 2024

您好!我在阅读internvl源码时候,发现internvl的pad方式为将label与input_ids都填充到max_length(在pad_data_collator.py),我想请问这会不会带来不必要的内存消耗与导致训练速度变慢呢?

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

No branches or pull requests

1 participant