Skip to content

Conversation

huydhn
Copy link
Contributor

@huydhn huydhn commented Apr 11, 2023

distributed/_tensor/test_dtensor_ops is still flaky in trunk with a curious timeout issue, for example https://hud.pytorch.org/pytorch/pytorch/commit/ce4df4cc596aa10534ac6d54912f960238264dfd. It seems that the test just hang without any failure. The root cause is unclear. On the other hang, #98816 might offer a solution for this. Anyway, I'm disable the test on CPU for now while the investigation is being done.

The test is still being run on CUDA-available runner because it's not flaky there.

@pytorch-bot
Copy link

pytorch-bot bot commented Apr 11, 2023

🔗 Helpful Links

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

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

❌ 2 Failures

As of commit 7ef4187:

NEW FAILURES - The following jobs have failed:

BROKEN TRUNK - The following jobs failed but were present on the merge base def50d2:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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

@pytorch-bot pytorch-bot bot added the topic: not user facing topic category label Apr 11, 2023
@huydhn huydhn marked this pull request as ready for review April 12, 2023 00:02
run_tests()
# NB: CPU dtensor ops test frequently timeout https://github.com/pytorch/pytorch/issues/98816
# so running it only on CUDA
if torch.cuda.is_available():
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmmm I don't think test_dtensor_ops runs in CUDA, so this essentially means it would only run in CUDA available machines with cpu tests https://github.com/pytorch/pytorch/blob/master/test/distributed/_tensor/test_dtensor_ops.py#L559

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

which I think it might be fine for short term while we are investigating the timeouts. I just want to make sure there's at least something running in the CI so that we can capture errors when submitting PRs :)

Copy link
Contributor Author

@huydhn huydhn Apr 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, the test would still be run on machine with CUDA, which curiously is never getting timed out. I will update the PR title and description accordingly

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it thanks!

@huydhn huydhn changed the title Skip dtensor ops CPU test due to flaky timeout Skip dtensor ops on CPU-only runner due to flaky timeout Apr 12, 2023
@huydhn huydhn added the ciflow/trunk Trigger trunk jobs on your pull request label Apr 12, 2023
@huydhn
Copy link
Contributor Author

huydhn commented Apr 12, 2023

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

@huydhn
Copy link
Contributor Author

huydhn commented Apr 12, 2023

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants