Repository navigation
[TorchTitan] Remove checkpoint folder at the end in test_runner.py - #225
Merged
Merged
Conversation
wz337
marked this pull request as ready for review
April 12, 2024 21:21
gnadathur
reviewed
Apr 12, 2024
| for test_flavor in test_flavors: | ||
| run_test(test_flavor, full_path) | ||
|
|
||
| dir_list = glob.iglob(f"{test_checkpoint_dir}_*") |
Contributor
There was a problem hiding this comment.
Should we run this logic right after the checkpoint test ? On the scenario where we add more tests that that use checkpoint option, they will not run if the checkpoint exists.
gnadathur
approved these changes
Apr 12, 2024
lessw2020
pushed a commit
that referenced
this pull request
Apr 18, 2024
philippguevorguian
pushed a commit
to YerevaNN/YNNtitan
that referenced
this pull request
Aug 17, 2024
songhappy
added a commit
to songhappy/torchtitan
that referenced
this pull request
Oct 15, 2026
oneCCL 2022 hangs when a process that hosts a TorchStore storage volume also runs FSDP collectives (oneCCL pytorch#222), and concurrent first weight pulls deadlock in communicator creation (pytorch#225). On XPU the storage volumes therefore run in their own procs, a twin of the trainer mesh on the same devices, and the first pull after setup runs one generator at a time. Both are config fields defaulting to device_type == "xpu", so CUDA is unchanged.
songhappy
added a commit
to songhappy/torchtitan
that referenced
this pull request
Oct 28, 2026
oneCCL 2022 hangs when a process that hosts a TorchStore storage volume also runs FSDP collectives (oneCCL pytorch#222), and concurrent first weight pulls deadlock in communicator creation (pytorch#225). On XPU, MonarchActorSystem therefore runs the storage volumes in their own procs, a twin of the trainer mesh on the same devices (MonarchActorSystem.Config.storage_volumes_in_own_procs), and the router runs the first pull after setup one generator at a time (InterGeneratorRouter.Config.sequential_initial_pull). Both default to device_type == "xpu", so CUDA is unchanged.
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.
No description provided.