-
Notifications
You must be signed in to change notification settings - Fork 29
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
Slc/modify cuda ci #235
Slc/modify cuda ci #235
Conversation
… into slc/modify_cuda_ci
… into slc/modify_cuda_ci
@@ -14,10 +15,11 @@ function clone_needed_repo() { | |||
MMACTION2_VERSION=dipu_v1.0.0_one_iter_tool | |||
MMOCR_VERSION=dipu_v1.0.0_one_iter_tool | |||
MMAGIC=dipu_v1.0.0_one_iter_tool | |||
SMART_VERSION=dev_for_mmcv2.0 |
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.
把这个逻辑合入到dev_for_mmcv2.0分支内。
import torch_dipu | ||
device_cuda = torch.device("cuda") | ||
res2 = self._test_bnbr(input, mean, invstd, weight, grad_out, device_cuda) | ||
print(res1) |
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.
是不是应该在这里调用_test_res
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.
这个已经弃用了,统一使用tests/test_ops/archived/test_SyncBN.py,应该是github显示更新有点慢。
import torch_dipu | ||
device_cuda = torch.device("cuda") | ||
res2 = self._test_bne(input, weight, bias, mean, invstd, eps, device_cuda) | ||
print(res1) |
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.
同上
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.
同上
import torch_dipu | ||
device_cuda = torch.device("cuda") | ||
res2 = self._test_bng(input, mean_all, invstd_all, running_mean, running_var, momentum, eps, count_all, device_cuda) | ||
print(res1) |
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.
同上
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.
同上
update SMART_VERSION
…_copy optimize copy
No description provided.