Skip to content

enable data loading for data parallel training - #49

Merged
tianyu-l merged 2 commits into
gh/tianyu-l/1/basefrom
gh/tianyu-l/1/head
Feb 8, 2024
Merged

tianyu-l merged 2 commits into
gh/tianyu-l/1/basefrom
gh/tianyu-l/1/head

Conversation

@tianyu-l

@tianyu-l tianyu-l commented Feb 7, 2024 •

Copy link
Copy Markdown
Contributor

Stack from ghstack (oldest at bottom):

Tested that data loading now have the expected behavior:

  • different dp ranks get different data
  • different tp ranks within the same dp rank get the same data

tianyu-l added a commit that referenced this pull request Feb 7, 2024
ghstack-source-id: f15415d
Pull Request resolved: #49
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Feb 7, 2024
@tianyu-l tianyu-l linked an issue Feb 7, 2024 that may be closed by this pull request
@tianyu-l
tianyu-l requested a review from wanchaol February 7, 2024 23:29

@wanchaol wanchaol left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

sounds good to me! that's a good way to unblock, have one comment

Comment thread torchtrain/datasets/alpaca.py Resolved
Tested that data loading now have the expected behavior:
- different dp ranks get different data
- different tp ranks within the same dp rank get the same data 


[ghstack-poisoned]
tianyu-l added a commit that referenced this pull request Feb 8, 2024
ghstack-source-id: 08d335e
Pull Request resolved: #49
@tianyu-l
tianyu-l merged commit f8a6e76 into gh/tianyu-l/1/base Feb 8, 2024
tianyu-l added a commit that referenced this pull request Feb 8, 2024
ghstack-source-id: 08d335e
Pull Request resolved: #49
@tianyu-l
tianyu-l deleted the gh/tianyu-l/1/head branch February 8, 2024 01:12
lessw2020 pushed a commit that referenced this pull request Apr 18, 2024
ghstack-source-id: 08d335e
Pull Request resolved: #49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

alpaca dataset data parallel training

3 participants