Skip to content

Conversation

@rohan-varma
Copy link
Contributor

@rohan-varma rohan-varma commented Sep 22, 2020

Stack from ghstack:

Closes #45067, #45145. This test was flaky because it was not able to validate that the
overall record_function's CPU times are greater than the sum of its children.
It turns out that this is a general bug in the profiler that can be reproduced
without RPC, see #45160. This means that it should be fixed and tested at the profiler, not RPC, level. Hence,
removing this from the test and replacing it by just validating the expected
children.

Ran the test 1000 times and they all passed.

Differential Revision: D23851854

This test was flaky because it was not able to validate that the
overall record_function's CPU times are greater than the sum of its children.
It turns out that this is a general bug in the profiler that can be reproduced
without RPC, see #45160. Hence,
removing this from the test and replacing it by just validating the expected
children.

Ran the test 1000 times and they all passed.

Differential Revision: [D23851854](https://our.internmc.facebook.com/intern/diff/D23851854/)

[ghstack-poisoned]
rohan-varma added a commit that referenced this pull request Sep 22, 2020
This test was flaky because it was not able to validate that the
overall record_function's CPU times are greater than the sum of its children.
It turns out that this is a general bug in the profiler that can be reproduced
without RPC, see #45160. Hence,
removing this from the test and replacing it by just validating the expected
children.

Ran the test 1000 times and they all passed.

Differential Revision: [D23851854](https://our.internmc.facebook.com/intern/diff/D23851854/)

ghstack-source-id: 112632327
Pull Request resolved: #45162
@codecov
Copy link

codecov bot commented Sep 23, 2020

Codecov Report

Merging #45162 into gh/rohan-varma/177/base will decrease coverage by 0.01%.
The diff coverage is 0.00%.

Impacted file tree graph

@@                     Coverage Diff                     @@
##           gh/rohan-varma/177/base   #45162      +/-   ##
===========================================================
- Coverage                    67.83%   67.81%   -0.02%     
===========================================================
  Files                          384      384              
  Lines                        50047    50062      +15     
===========================================================
+ Hits                         33950    33952       +2     
- Misses                       16097    16110      +13     
Impacted Files Coverage Δ
...orch/testing/_internal/distributed/rpc/rpc_test.py 25.50% <0.00%> (-0.17%) ⬇️
torch/utils/_benchmark/utils/common.py 79.33% <0.00%> (+1.65%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1b059f2...17880e4. Read the comment docs.

@dr-ci
Copy link

dr-ci bot commented Sep 24, 2020

💊 CI failures summary and remediations

As of commit 17880e4 (more details on the Dr. CI page):


  • 2/2 failures possibly* introduced in this PR
    • 2/2 non-CircleCI failure(s)

Extra GitHub checks: 1 failed


codecov.io: 1 failed


This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions on the GitHub issue tracker or post in the (internal) Dr. CI Users group.

See how this bot performed.

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in bee1d44.

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.

5 participants