Skip to content

Conversation

@wanchaol
Copy link
Collaborator

@wanchaol wanchaol commented Jan 14, 2023

Stack from ghstack (oldest at bottom):

Time comparison between using MultithreadedTestCase and MultiProcessTestCase on op db tests is amazing!

using MultiThreadTestCase on a AWS dev node:

time pytest test/distributed/_tensor/test_dtensor_ops.py

============= 175 passed, 42 skipped, 397 xfailed in 80.30s (0:01:20) =======

real    1m22.330s
user    1m38.782s
sys     0m18.762s

MultiProcessTestCase spends from 40mins to more than 1h, even if using pytest parallel testing tools.

@pytorch-bot
Copy link

pytorch-bot bot commented Jan 14, 2023

🔗 Helpful Links

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

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

✅ No Failures

As of commit a27147d:
💚 Looks good so far! There are no failures yet. 💚

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

@wanchaol wanchaol requested review from XilunWu, fduwjj and wz337 January 14, 2023 02:45
Copy link
Contributor

@XilunWu XilunWu left a comment

Choose a reason for hiding this comment

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

good to see that op db tests are now enabled!! Is there a way to see how much time more spent on CI now?

wanchaol added a commit that referenced this pull request Jan 14, 2023
@wanchaol wanchaol added the ciflow/trunk Trigger trunk jobs on your pull request label Jan 14, 2023
…ase"


Time comparison between using MultithreadedTestCase and MultiProcessTestCase on op db tests is amazing!

using MultiThreadTestCase on a AWS dev node:
```
time pytest test/distributed/_tensor/test_dtensor_ops.py

============= 175 passed, 42 skipped, 397 xfailed in 80.30s (0:01:20) =======

real    1m22.330s
user    1m38.782s
sys     0m18.762s
```
MultiProcessTestCase spends from 40mins to more than 1h, even if using pytest parallel testing tools.



[ghstack-poisoned]
wanchaol added a commit that referenced this pull request Jan 15, 2023
@wanchaol
Copy link
Collaborator Author

@pytorchbot merge

@wanchaol
Copy link
Collaborator Author

good to see that op db tests are now enabled!! Is there a way to see how much time more spent on CI now?

updated in the summary.

@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

@XilunWu
Copy link
Contributor

XilunWu commented Jan 17, 2023

The speedup of testing is quite impressive!! Congrats!

wanchaol added a commit to pytorch/PiPPy that referenced this pull request Jan 17, 2023
Delete this test as it's now enabled in PyTorch directly after pytorch/pytorch#92198

[ghstack-poisoned]
wanchaol added a commit to pytorch/PiPPy that referenced this pull request Jan 17, 2023
Delete this test as it's now enabled in PyTorch directly after pytorch/pytorch#92198

ghstack-source-id: 3a58d5b
Pull Request resolved: #722
@facebook-github-bot facebook-github-bot deleted the gh/wanchaol/246/head branch June 8, 2023 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request Merged topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants