Skip to content
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

Merged
merged 21 commits into from
Aug 17, 2023
Merged

Slc/modify cuda ci #235

merged 21 commits into from
Aug 17, 2023

Conversation

wey-code
Copy link
Contributor

@wey-code wey-code commented Aug 5, 2023

No description provided.

@yangbofun yangbofun self-requested a review August 10, 2023 04:03
@wey-code wey-code marked this pull request as draft August 11, 2023 03:12
@wey-code wey-code marked this pull request as ready for review August 11, 2023 03:46
@wey-code wey-code marked this pull request as draft August 11, 2023 03:47
@wey-code wey-code marked this pull request as ready for review August 14, 2023 01:57
@wey-code wey-code changed the base branch from main to slc/add_bn_stats August 16, 2023 02:30
@@ -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
Copy link
Collaborator

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)
Copy link
Collaborator

Choose a reason for hiding this comment

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

是不是应该在这里调用_test_res

Copy link
Contributor Author

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)
Copy link
Collaborator

Choose a reason for hiding this comment

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

同上

Copy link
Contributor Author

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)
Copy link
Collaborator

Choose a reason for hiding this comment

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

同上

Copy link
Contributor Author

Choose a reason for hiding this comment

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

同上

update SMART_VERSION
@wey-code wey-code closed this Aug 17, 2023
@wey-code wey-code reopened this Aug 17, 2023
@wey-code wey-code merged commit d88a920 into slc/add_bn_stats Aug 17, 2023
@wey-code wey-code deleted the slc/modify_cuda_ci branch August 17, 2023 07:23
LeungChiNan pushed a commit to DeepLink-org/deeplink.framework.dev that referenced this pull request Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants