-
Notifications
You must be signed in to change notification settings - Fork 825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix RoiAlign sbp infer bug and add eager global test #7794
Conversation
Code got formatted by CI. Please request CI again if you still want to have this PR merged. If the PR is from a forked repo, please download the patch files from the GitHub Actions web page and apply them locally. |
Code got formatted by CI. Please request CI again if you still want to have this PR merged. If the PR is from a forked repo, please download the patch files from the GitHub Actions web page and apply them locally. |
CI failed when running job: Build cpu. PR label automerge has been removed |
CI failed when running job: cuda-module-distributed-rank-1. PR label automerge has been removed |
CI failed when running job: cuda-module-distributed-rank-0. PR label automerge has been removed |
CI failed when running job: cuda-module-distributed-rank-1. PR label automerge has been removed |
View latest API docs preview at: https://staging.oneflow.info/docs/Oneflow-Inc/oneflow/pr/7794/ |
# TODO(wyg): It is a bug in pytorch-1.9.0, torchvision-0.10.0 and python3.7.10. | ||
# Open this test after updating the versions of pytorch in CI. | ||
|
||
# @globaltest | ||
# def test_consistent_roi_align(test_case): | ||
# for placement in all_placement(): | ||
# # TODO: roi_align only support gpu | ||
# if placement.type == "cpu": | ||
# continue | ||
# for rois_sbp in all_sbp(placement, max_dim=0, except_partial_sum=True): | ||
# _test_roi_align(test_case, placement, rois_sbp) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
在 CI 环境下验证了一下,这个版本的 pytorch 似乎有问题,这里先改成固定数据的单测,之后升级 torch 和 torchvision 可以用上面的单测代码。
Speed stats:
|
View latest API docs preview at: https://staging.oneflow.info/docs/Oneflow-Inc/oneflow/pr/7794/ |
Speed stats:
|
修复 RoiAlign sbp 推导问题,添加 eager global 单测