Repository navigation
[docs] Replace the removed torchtitan_train command - #5013
Merged
Merged
Conversation
YeonwooSung
requested review from
fegin,
tianyu-l,
wconstab and
wwwjn
as code owners
October 2, 2026 02:50
|
|
tianyu-l
reviewed
Oct 2, 2026
| # This file names the removed command so it can reject it. Once the test is | ||
| # tracked, git grep reports that name here; any other path is still a failure. | ||
| _THIS_TEST = "tests/unit_tests/cpu/test_train_entrypoint_docs.py" | ||
| _REMOVED_COMMAND = "torchtitan_train" |
Contributor
There was a problem hiding this comment.
could you remove this test? sounds useless to include history
Contributor
Author
There was a problem hiding this comment.
Removed tests/unit_tests/cpu/test_train_entrypoint_docs.py in 32dc57a. That test only recorded the removed torchtitan_train name. OVERRIDE.md and torchtitan_recipes/overrides/helion_rope.py still invoke python -m torchtitan.train.
tianyu-l
approved these changes
Oct 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Override examples still tell users to run
torchtitan_train. That Tyro-era command is gone after the config loader: it is not a script, entry point, or module, so copy-pasting those examples fails today. The real entry ispython -m torchtitan.train, with the same--module,--config, and--overrideflags, including the quoted JSON override form.Test plan
torchtitan/config/OVERRIDE.mdandtorchtitan_recipes/overrides/helion_rope.py. The examples invokepython -m torchtitan.train.