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

data.utils.split_dataset中的切分和随机逻辑能否迁移到data.loader.get_dataset中? #4140

Open
1 task done
luoqishuai opened this issue Jun 7, 2024 · 0 comments
Labels
pending This problem is yet to be addressed

Comments

@luoqishuai
Copy link

Reminder

  • I have read the README and searched the existing issues.

System Info

Reproduction

在使用多机多卡时,要提前使用tokenized_path参数在单节点服务器上提前处理好数据集
但是在后续多节点训练的时候,会使用data.utils.split_dataset函数,会对数据集打乱或者切分,这时候依旧会使用磁盘进行缓存数据.
然后就会导致多节点同时操作同一个磁盘目录.会导致相应异常.
因此建议能否将data.utils.split_dataset中的切分和随机逻辑迁移到data.loader.get_dataset中

如果有其它更好的方法,请大佬指教.

Expected behavior

No response

Others

No response

@hiyouga hiyouga added the pending This problem is yet to be addressed label Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending This problem is yet to be addressed
Projects
None yet
Development

No branches or pull requests

2 participants