Skip to content

Use expandable segments in run_llama_train.sh - #643

Merged
awgu merged 5 commits into
gh/awgu/20/basefrom
gh/awgu/20/head
Oct 22, 2024
Merged

awgu merged 5 commits into
gh/awgu/20/basefrom
gh/awgu/20/head

Conversation

@awgu

@awgu awgu commented Oct 22, 2024 •

Copy link
Copy Markdown
Contributor

Stack from ghstack (oldest at bottom):

nice to default to this because users may not know to pass this env var
PyTorch will try to default in the future, but there are still some unsupported cases internally

awgu pushed a commit that referenced this pull request Oct 22, 2024
ghstack-source-id: 082b395
Pull Request resolved: #643
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 22, 2024
nice to default to this because users may not know to pass this env var
PyTorch will try to default in the future, but there are still some unsupported cases internally

[ghstack-poisoned]
awgu pushed a commit that referenced this pull request Oct 22, 2024
ghstack-source-id: 607605e
Pull Request resolved: #643
@awgu
awgu marked this pull request as ready for review October 22, 2024 16:00

@tianyu-l tianyu-l 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.

not 100% sure, but I'm assuming run_memory_estimation.sh doesn't need this.

nice to default to this because users may not know to pass this env var
PyTorch will try to default in the future, but there are still some unsupported cases internally

[ghstack-poisoned]
awgu pushed a commit that referenced this pull request Oct 22, 2024
ghstack-source-id: 30c59b3
Pull Request resolved: #643
nice to default to this because users may not know to pass this env var
PyTorch will try to default in the future, but there are still some unsupported cases internally

[ghstack-poisoned]
awgu pushed a commit that referenced this pull request Oct 22, 2024
ghstack-source-id: 4d2ede0
Pull Request resolved: #643
@fegin

fegin commented Oct 22, 2024 •

Copy link
Copy Markdown
Contributor

I like enabling it by default. I heard that there may be some warning saying that it is not supported by some devices though it should not break the execution. cc., @fduwjj

@awgu

awgu commented Oct 22, 2024

Copy link
Copy Markdown
Contributor Author

Note that we will have to add the env var to our MAST launcher script as well (but that will be an internal diff).

nice to default to this because users may not know to pass this env var
PyTorch will try to default in the future, but there are still some unsupported cases internally

[ghstack-poisoned]
awgu pushed a commit that referenced this pull request Oct 22, 2024
ghstack-source-id: e8adf49
Pull Request resolved: #643
@awgu
awgu merged commit 4d3782f into gh/awgu/20/base Oct 22, 2024
awgu pushed a commit that referenced this pull request Oct 22, 2024
ghstack-source-id: e8adf49
Pull Request resolved: #643
@awgu
awgu deleted the gh/awgu/20/head branch October 22, 2024 20:28
xrsrke pushed a commit to NousResearch/torchtitan that referenced this pull request Feb 13, 2026
ghstack-source-id: e8adf49
Pull Request resolved: pytorch#643
xrsrke pushed a commit to NousResearch/torchtitan that referenced this pull request Feb 25, 2026
ghstack-source-id: e8adf49
Pull Request resolved: pytorch#643
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.

4 participants