Skip to content

refactor intialize bucket views#44330

Closed
zhaojuanmao wants to merge 8 commits intogh/zhaojuanmao/52/basefrom
gh/zhaojuanmao/52/head
Closed

refactor intialize bucket views#44330
zhaojuanmao wants to merge 8 commits intogh/zhaojuanmao/52/basefrom
gh/zhaojuanmao/52/head

Conversation

@zhaojuanmao
Copy link
Copy Markdown
Contributor

@zhaojuanmao zhaojuanmao commented Sep 8, 2020

Stack from ghstack:

Part of relanding PR #41954, this refactor is to seperate intialize_bucket_views and populate_bucket_views_out, as they are doing different things and called by different callsites as well

Differential Revision: D23583347

Part of relanding PR #41954, this refactor is to seperate intialize_bucket_views and populate_bucket_views_out, as they are doing different things and called by different callsites as well

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

[ghstack-poisoned]
zhaojuanmao added a commit that referenced this pull request Sep 8, 2020
Part of relanding PR #41954, this refactor is to seperate intialize_bucket_views and populate_bucket_views_out, as they are doing different things and called by different callsites as well

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

ghstack-source-id: 111612373
Pull Request resolved: #44330
@dr-ci
Copy link
Copy Markdown

dr-ci bot commented Sep 8, 2020

💊 CI failures summary and remediations

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



🕵️ 1 new failure recognized by patterns

The following CI failures do not appear to be due to upstream breakages:

See CircleCI build pytorch_linux_xenial_cuda10_2_cudnn7_py3_ge_config_legacy_test (1/1)

Step: "Run tests" (full log | diagnosis details | 🔁 rerun)

Sep 17 04:47:35 ERROR [5.765s]: test_tensorexpr_cpp_cuda (test_jit.TestJit)
Sep 17 04:47:35   test_factory_ops_requires_grad_fail (jit.test_unsupported_ops.TestUnsupportedOps) ... ok (0.004s) 
Sep 17 04:47:35   test_init_ops (jit.test_unsupported_ops.TestUnsupportedOps) ... ok (0.021s) 
Sep 17 04:47:35   test_ops_bound_in_functional (jit.test_unsupported_ops.TestUnsupportedOps) ... ok (0.003s) 
Sep 17 04:47:35   test_with_as (jit.test_with.TestWith) ... ok (0.083s) 
Sep 17 04:47:35   test_with_errors (jit.test_with.TestWith) ... ok (0.016s) 
Sep 17 04:47:35   test_with_exceptions (jit.test_with.TestWith) ... ok (0.007s) 
Sep 17 04:47:35   test_with_no_as (jit.test_with.TestWith) ... ok (0.086s) 
Sep 17 04:47:35   test_with_no_grad (jit.test_with.TestWith) ... ok (0.021s) 
Sep 17 04:47:35  
Sep 17 04:47:35 ====================================================================== 
Sep 17 04:47:35 ERROR [5.765s]: test_tensorexpr_cpp_cuda (test_jit.TestJit) 
Sep 17 04:47:35 ---------------------------------------------------------------------- 
Sep 17 04:47:35 Traceback (most recent call last): 
Sep 17 04:47:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 818, in wrapper 
Sep 17 04:47:35     method(*args, **kwargs) 
Sep 17 04:47:35   File "/var/lib/jenkins/workspace/test/test_jit.py", line 1431, in test_tensorexpr_cpp_cuda 
Sep 17 04:47:35     torch._C._run_tensorexpr_cpp_tests(run_cuda=True) 
Sep 17 04:47:35 RuntimeError: std::fabs((v1[kPaddingSize + i]) - (v2[kPaddingSize + i])) < (abs_error) INTERNAL ASSERT FAILED at "/var/lib/jenkins/workspace/test/cpp/tensorexpr/padded_buffer.h":258, please report a bug to PyTorch. index: 0, v1: (b_v, 323584), v2: (b_ref, 778240) 
Sep 17 04:47:35  
Sep 17 04:47:35 ---------------------------------------------------------------------- 
Sep 17 04:47:35 Ran 2716 tests in 271.342s 

🚧 1 fixed upstream failure:

These were probably caused by upstream breakages that were already fixed.

Please rebase on the viable/strict branch (expand for instructions)

Since your merge base is older than viable/strict, run these commands:

git fetch https://github.com/pytorch/pytorch viable/strict
git rebase FETCH_HEAD

Check out the recency history of this "viable master" tracking branch.


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.

This comment has been revised 38 times.

Part of relanding PR #41954, this refactor is to seperate intialize_bucket_views and populate_bucket_views_out, as they are doing different things and called by different callsites as well

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

[ghstack-poisoned]
zhaojuanmao added a commit that referenced this pull request Sep 8, 2020
Pull Request resolved: #44330

Part of relanding PR #41954, this refactor is to seperate intialize_bucket_views and populate_bucket_views_out, as they are doing different things and called by different callsites as well
ghstack-source-id: 111631226

Differential Revision: [D23583347](https://our.internmc.facebook.com/intern/diff/D23583347/)
Part of relanding PR #41954, this refactor is to seperate intialize_bucket_views and populate_bucket_views_out, as they are doing different things and called by different callsites as well

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

[ghstack-poisoned]
zhaojuanmao added a commit that referenced this pull request Sep 10, 2020
Pull Request resolved: #44330

Part of relanding PR #41954, this refactor is to seperate intialize_bucket_views and populate_bucket_views_out, as they are doing different things and called by different callsites as well
ghstack-source-id: 111792886

Differential Revision: [D23583347](https://our.internmc.facebook.com/intern/diff/D23583347/)
@codecov
Copy link
Copy Markdown

codecov bot commented Sep 10, 2020

Codecov Report

❗ No coverage uploaded for pull request base (gh/zhaojuanmao/52/base@7c3371f). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@                    Coverage Diff                    @@
##             gh/zhaojuanmao/52/base   #44330   +/-   ##
=========================================================
  Coverage                          ?   68.00%           
=========================================================
  Files                             ?      384           
  Lines                             ?    49602           
  Branches                          ?        0           
=========================================================
  Hits                              ?    33731           
  Misses                            ?    15871           
  Partials                          ?        0           

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 7c3371f...2498a46. Read the comment docs.

Part of relanding PR #41954, this refactor is to seperate intialize_bucket_views and populate_bucket_views_out, as they are doing different things and called by different callsites as well

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

[ghstack-poisoned]
zhaojuanmao added a commit that referenced this pull request Sep 14, 2020
Pull Request resolved: #44330

Part of relanding PR #41954, this refactor is to seperate intialize_bucket_views and populate_bucket_views_out, as they are doing different things and called by different callsites as well
ghstack-source-id: 112022404

Differential Revision: [D23583347](https://our.internmc.facebook.com/intern/diff/D23583347/)
Part of relanding PR #41954, this refactor is to seperate intialize_bucket_views and populate_bucket_views_out, as they are doing different things and called by different callsites as well

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

[ghstack-poisoned]
zhaojuanmao added a commit that referenced this pull request Sep 16, 2020
[test all]
Pull Request resolved: #44330

Part of relanding PR #41954, this refactor is to seperate intialize_bucket_views and populate_bucket_views_out, as they are doing different things and called by different callsites as well
ghstack-source-id: 112185672

Differential Revision: [D23583347](https://our.internmc.facebook.com/intern/diff/D23583347/)
Part of relanding PR #41954, this refactor is to seperate intialize_bucket_views and populate_bucket_views_out, as they are doing different things and called by different callsites as well

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

[ghstack-poisoned]
Part of relanding PR #41954, this refactor is to seperate intialize_bucket_views and populate_bucket_views_out, as they are doing different things and called by different callsites as well

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

[ghstack-poisoned]
zhaojuanmao added a commit that referenced this pull request Sep 17, 2020
[test all]
Pull Request resolved: #44330

Part of relanding PR #41954, this refactor is to seperate intialize_bucket_views and populate_bucket_views_out, as they are doing different things and called by different callsites as well
ghstack-source-id: 112243783

Differential Revision: [D23583347](https://our.internmc.facebook.com/intern/diff/D23583347/)
Part of relanding PR #41954, this refactor is to seperate intialize_bucket_views and populate_bucket_views_out, as they are doing different things and called by different callsites as well

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

[ghstack-poisoned]
zhaojuanmao added a commit that referenced this pull request Sep 17, 2020
[test all]
Pull Request resolved: #44330

Part of relanding PR #41954, this refactor is to seperate intialize_bucket_views and populate_bucket_views_out, as they are doing different things and called by different callsites as well
ghstack-source-id: 112257271

Differential Revision: [D23583347](https://our.internmc.facebook.com/intern/diff/D23583347/)
@zhaojuanmao
Copy link
Copy Markdown
Contributor Author

tests in this PR and ci-all tests in #44865 passed, failed tests are not related, landing

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in d2b4534.

xuzhao9 pushed a commit that referenced this pull request Sep 18, 2020
Summary:
[test all]
Pull Request resolved: #44330

Part of relanding PR #41954, this refactor is to seperate intialize_bucket_views and populate_bucket_views_out, as they are doing different things and called by different callsites as well
ghstack-source-id: 112257271

Test Plan: unit tests

Reviewed By: mrshenli

Differential Revision: D23583347

fbshipit-source-id: a5f2041b2c4f2c2b5faba1af834c7143eaade938
@facebook-github-bot facebook-github-bot deleted the gh/zhaojuanmao/52/head branch September 21, 2020 14:14
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.

4 participants