Skip to content

add bunch of cleanups and design principle section - #71

Merged
wanchaol merged 4 commits into
mainfrom
cleanups
Feb 23, 2024
Merged

wanchaol merged 4 commits into
mainfrom
cleanups

Conversation

@wanchaol

Copy link
Copy Markdown
Contributor

No description provided.

clena up the repo to:

1. remove unused files
2. delete not used code comments
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Feb 23, 2024
Comment thread README.md Outdated

## Design Principles

TorchTrain is a native PyTorch library with various training techniques, it utilizes the PyTorch ecosystem for things like data loading (i.e. HuggingFace datasets), the core functionality is written in PyTorch.

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.

nit on grammar:
TorchTrain is a native PyTorch library with various training techniques. While it utilizes the PyTorch ecosystem for things like data loading (i.e. HuggingFace datasets), the core functionality is written in PyTorch.

Comment thread README.md Outdated
in the SBATCH command section.


## Design Principles

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.

Shouldn't this go near the top of the readme? It's a (good) intro and design/architecture guide, I would not put it at the bottom.

@lessw2020 lessw2020 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.

lgtm - I like the guiding 'vision' it sets out.
two nits - one grammar, the other I think the readme addition should be near the top for users to see it up front.

@wanchaol
wanchaol merged commit b4cda94 into main Feb 23, 2024
philippguevorguian pushed a commit to YerevaNN/YNNtitan that referenced this pull request Aug 17, 2024
weifengpy added a commit to weifengpy/torchtitan-flexshard that referenced this pull request Oct 20, 2026
The flex_shard PRs this fork uses have landed on meta-pytorch/flex_shard
main: pytorch#51 through pytorch#77, ending at 7cdaf16 (pytorch#48 to pytorch#62 were re-landed as pytorch#96
to pytorch#103). The DeepSeek V3 16B reproduction now installs FlexShard from main
instead of gh/weifengpy/55/head, the head of pytorch#65, which lacks pytorch#66 to pytorch#77:
torchtitan-flexshard#20's fake backend for a size-1 edp_shard needs pytorch#71, and
this fork's DistMuon (#22 to #27) needs pytorch#73 to pytorch#77.

Checked: pip resolves git+https://github.com/meta-pytorch/flex_shard.git@main,
and the fork's main (fa7a9b1) passes its 18 FlexShard and 9 DistMuon GPU
tests (tests/unit_tests/gpu/test_flex_shard.py,
tests/unit_tests/gpu/flex_shard/test_dist_muon.py) against flex_shard 7cdaf16.

ghstack-source-id: 09ed3f5
ghstack-comment-id: 6284173360
Pull-Request: #43
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.

5 participants