Skip to content

[1/n]adding torch.distributed.run option to provide destination for event logging#154644

Closed
kiukchung wants to merge 1 commit intomainfrom
export-D75183591
Closed

[1/n]adding torch.distributed.run option to provide destination for event logging#154644
kiukchung wants to merge 1 commit intomainfrom
export-D75183591

Conversation

@kiukchung
Copy link
Collaborator

@kiukchung kiukchung commented May 29, 2025

Summary:
Problem Statement
Currently, torch distributed elastic does not support to an option specify destination for event logging from torch.distributed.run.
recording events to default destination: https://fburl.com/code/7f9b0993
The default destination is "null".

Solution
adding option in torch.destributed.run to specify event_logging_destination. The default value will be "null" which is current default so it won;t affect users unless the specify it via command line.

Test Plan:

buck test //caffe2/test/distributed:distributed_run_test

https://www.internalfb.com/mlhub/pipelines/runs/mast/f738408681-TrainingApplication_torch_distributed_run_3?job_attempt=0&version=0&tab=execution_details&env=PRODUCTION

Differential Revision: D75183591

cc @H-Huang @awgu @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @pragupta

@pytorch-bot pytorch-bot bot added oncall: distributed Add this issue/PR to distributed oncall triage queue release notes: distributed (torchelastic) labels May 29, 2025
@pytorch-bot
Copy link

pytorch-bot bot commented May 29, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/154644

Note: Links to docs will display an error until the docs builds have been completed.

✅ You can merge normally! (1 Unrelated Failure)

As of commit 43e7862 with merge base 4d57644 (image):

UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D75183591

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D75183591

kiukchung pushed a commit that referenced this pull request May 29, 2025
…vent logging (#154644)

Summary:
Pull Request resolved: #154644

**Problem Statement**
Currently, torch distributed elastic does not support to an option specify destination for event logging from torch.distributed.run.
*recording events to default destination:* https://fburl.com/code/7f9b0993
The default destination is "null".

***Solution***
adding option in torch.destributed.run to specify event_logging_destination. The default value will be "null" which is current default so it won;t affect users unless the specify it via command line.

Test Plan:
```
buck test //caffe2/test/distributed:distributed_run_test
```

https://www.internalfb.com/mlhub/pipelines/runs/mast/f738408681-TrainingApplication_torch_distributed_run_3?job_attempt=0&version=0&tab=execution_details&env=PRODUCTION

Differential Revision: D75183591
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D75183591

kiukchung pushed a commit that referenced this pull request May 30, 2025
…vent logging (#154644)

Summary:
Pull Request resolved: #154644

**Problem Statement**
Currently, torch distributed elastic does not support to an option specify destination for event logging from torch.distributed.run.
*recording events to default destination:* https://fburl.com/code/7f9b0993
The default destination is "null".

***Solution***
adding option in torch.destributed.run to specify event_logging_destination. The default value will be "null" which is current default so it won;t affect users unless the specify it via command line.

Test Plan:
```
buck test //caffe2/test/distributed:distributed_run_test
```

https://www.internalfb.com/mlhub/pipelines/runs/mast/f738408681-TrainingApplication_torch_distributed_run_3?job_attempt=0&version=0&tab=execution_details&env=PRODUCTION

Differential Revision: D75183591
@kiukchung kiukchung force-pushed the export-D75183591 branch 2 times, most recently from 5c67c54 to a6336bd Compare May 30, 2025 20:06
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D75183591

kiukchung pushed a commit that referenced this pull request May 30, 2025
…vent logging (#154644)

Summary:
Pull Request resolved: #154644

**Problem Statement**
Currently, torch distributed elastic does not support to an option specify destination for event logging from torch.distributed.run.
*recording events to default destination:* https://fburl.com/code/7f9b0993
The default destination is "null".

***Solution***
adding option in torch.destributed.run to specify event_logging_destination. The default value will be "null" which is current default so it won;t affect users unless the specify it via command line.

Test Plan:
```
buck test //caffe2/test/distributed:distributed_run_test
```

https://www.internalfb.com/mlhub/pipelines/runs/mast/f738408681-TrainingApplication_torch_distributed_run_3?job_attempt=0&version=0&tab=execution_details&env=PRODUCTION

Differential Revision: D75183591
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D75183591

kiukchung pushed a commit that referenced this pull request Jun 2, 2025
…vent logging (#154644)

Summary:
Pull Request resolved: #154644

**Problem Statement**
Currently, torch distributed elastic does not support to an option specify destination for event logging from torch.distributed.run.
*recording events to default destination:* https://fburl.com/code/7f9b0993
The default destination is "null".

***Solution***
adding option in torch.destributed.run to specify event_logging_destination. The default value will be "null" which is current default so it won;t affect users unless the specify it via command line.

Test Plan:
```
buck test //caffe2/test/distributed:distributed_run_test
```

https://www.internalfb.com/mlhub/pipelines/runs/mast/f738408681-TrainingApplication_torch_distributed_run_3?job_attempt=0&version=0&tab=execution_details&env=PRODUCTION

Differential Revision: D75183591
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D75183591

kiukchung pushed a commit that referenced this pull request Jun 2, 2025
…vent logging (#154644)

Summary:
Pull Request resolved: #154644

**Problem Statement**
Currently, torch distributed elastic does not support to an option specify destination for event logging from torch.distributed.run.
*recording events to default destination:* https://fburl.com/code/7f9b0993
The default destination is "null".

***Solution***
adding option in torch.destributed.run to specify event_logging_destination. The default value will be "null" which is current default so it won;t affect users unless the specify it via command line.

Test Plan:
```
buck test //caffe2/test/distributed:distributed_run_test
```

https://www.internalfb.com/mlhub/pipelines/runs/mast/f738408681-TrainingApplication_torch_distributed_run_3?job_attempt=0&version=0&tab=execution_details&env=PRODUCTION

Differential Revision: D75183591
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D75183591

@aschhabra aschhabra requested review from aschhabra, d4l3k and ezyang and removed request for ezyang June 4, 2025 19:48
@aschhabra aschhabra removed their request for review June 4, 2025 19:54
…vent logging (#154644)

Summary:
Pull Request resolved: #154644

**Problem Statement**
Currently, torch distributed elastic does not support to an option specify destination for event logging from torch.distributed.run.
*recording events to default destination:* https://fburl.com/code/7f9b0993
The default destination is "null".

***Solution***
adding option in torch.destributed.run to specify event_logging_destination. The default value will be "null" which is current default so it won;t affect users unless the specify it via command line.

Test Plan:
```
buck test //caffe2/test/distributed:distributed_run_test
```

https://www.internalfb.com/mlhub/pipelines/runs/mast/f738408681-TrainingApplication_torch_distributed_run_3?job_attempt=0&version=0&tab=execution_details&env=PRODUCTION

Rollback Plan:

Reviewed By: kiukchung

Differential Revision: D75183591
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D75183591

pytorchmergebot pushed a commit that referenced this pull request Jun 9, 2025
…vent logging (#154644) (#155268)

Summary:

**Problem Statement**
Currently, torch distributed elastic does not support to an option specify destination for event logging from torch.distributed.run.
*recording events to default destination:* https://fburl.com/code/7f9b0993
The default destination is "null".

***Solution***
adding option in torch.destributed.run to specify event_logging_destination. The default value will be "null" which is current default so it won;t affect users unless the specify it via command line.

Test Plan:

https://www.internalfb.com/mlhub/pipelines/runs/mast/f738408681-TrainingApplication_torch_distributed_run_3?job_attempt=0&version=0&tab=execution_details&env=PRODUCTION

Rollback Plan:

Reviewed By: kiukchung

Differential Revision: D75183591

Pull Request resolved: #155268
Approved by: https://github.com/d4l3k
@github-actions
Copy link
Contributor

github-actions bot commented Aug 4, 2025

Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as Stale.
Feel free to remove the Stale label if you feel this was a mistake.
If you are unable to remove the Stale label please contact a maintainer in order to do so.
If you want the bot to never mark this PR stale again, add the no-stale label.
Stale pull requests will automatically be closed after 30 days of inactivity.

@github-actions github-actions bot added the Stale label Aug 4, 2025
@github-actions github-actions bot closed this Sep 3, 2025
@github-actions github-actions bot deleted the export-D75183591 branch October 4, 2025 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants