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

LengthGroupedSampler 根据length排序是必要的吗? #756

Open
shockjiang opened this issue Jun 9, 2024 · 1 comment
Open

LengthGroupedSampler 根据length排序是必要的吗? #756

shockjiang opened this issue Jun 9, 2024 · 1 comment

Comments

@shockjiang
Copy link

如题 在LengthGroupedSampler中,会根据每个样本token length进行排序,这样的必要性是什么呢?

@pppppM
Copy link
Collaborator

pppppM commented Jun 11, 2024

https://xtuner--664.org.readthedocs.build/zh-cn/664/acceleration/length_grouped_sampler.html

可以先参考下我们正在撰写的文档,会对 gpu 利用率有比较大的影响

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

2 participants