-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Npu dev #2385
Merged
Merged
Npu dev #2385
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ab#2247) * [Feature] Support RoipointPool3d with cambricon MLU backend * [Feature] Support RoipointPool3d with cambricon MLU backend * [Feature] Support RoipointPool3d with cambricon MLU backend * [Feature] Support RoipointPool3d with cambricon MLU backend * [Feature] Support RoipointPool3d with cambricon MLU backend
* [Docs] Add zhihu articles * add OpenMMLabCourse link * fix typo
* Fix typehint * minor fix * minor fix * minor fix Co-authored-by: zhouzaida <zhouzaida@163.com>
* modified code for using ROCm backened within the PyTorch framework * added hip runtime header * flake8 linting fix
…MMCV (open-mmlab#2246) * Add support of TorchVision's Model Registration API. * fix linter * formatting with yapf
* [Fix] Fix the calculation error of out_w in MaskedConv2dFunction (open-mmlab#2264) * [Fix] Fix two intergers can not use / operator in torch1.6 * should not use kernel_h when calculates out_w * [Docs] Fix some mistakes in data_process.md (open-mmlab#2283) * correction * correction en docs Co-authored-by: yxzhao <33384732+yxzhao2022@users.noreply.github.com>
* support silu torch<1.7.0 * fix test * fix test * fix inplace * fix inplace * Update tests/test_cnn/test_silu.py Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* update onnx registry * move import
* init npu * add npu extension and focal loss adapter * clean code * clean code * clean code * clean code * fix autocast bugs on npu (open-mmlab#2273) fix autocast bugs on npu (open-mmlab#2273) * code format * code format * code format * bug fix * pytorch_npu_helper.hpp clean code * Npu dev (open-mmlab#2306) * fix autocast bugs on npu * using scatter_kwargs in mmcv.device.scatter_gather * raise ImportError when compile with npu * add npu test case (open-mmlab#2307) * add npu test case * Update focal_loss.py * add comment * clean lint * update dtype assert * update DDP forward and comment * fix bug Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> Co-authored-by: ckirchhoff <515629648@qq.com> Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Upgrade the versions of pre-commit hooks * update the versions of zh-cn.yaml
* [Refactor] Adapt mlu code to cntoolkit3.0.1 * [Refactor] Modify the code style Co-authored-by: budefei <budefei@cambricon.com> Co-authored-by: budefei <budefei@cambricon>
* update iou3d * fix parrot * update to device * replace count_nonzero with fill * update build.yml
* Support parrots extension for op PrRoI * Fix lint * Fix cpp lint * Fix testcase failure by false requires_grad in self-defined autograd Funtion * Fix issues * Fix flake8 * Fix isort * Adaption for typechecking for PrRoIPoolFunction * Fix lint * Support only float32 * bugfix
…-mmlab#2317) * Add ability to pass logger instance to frameworks * refine docstring * Update mmcv/runner/hooks/logger/dvclive.py Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* [Docs] Refine README * refine table * minor refinement * refine * refine * add version info * add version info * update version info * refine * refine * add module links in docs/en/introduction * update docs/en * fix typo * update docs/en * add version.json in zh_cn * minor refinement * update version.json * update Dockerfile * minor fix * update installation of macOS * resolve comments
…-mmlab#2337) Co-authored-by: budefei <budefei@cambricon.com>
* [Fix] Fix the bug of uninitialized prarmeter * refactor code for lint Co-authored-by: budefei <budefei@cambricon.com>
* Fix three nn half inpt * update test
* Bump version to * update
* [Feature] Support Iou3d with cambricon MLU backend * [Feature] add double line * [Feature] add line
* fix correlation * fix lint
…lab#2237) * wandb define_metric * add test and some fix based on mmengine PR * fix test * add summary warnings * Update mmcv/runner/hooks/logger/wandb.py Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmcv/runner/hooks/logger/wandb.py Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* update * update * fix link * fix bug * update nms_quadri * fix lint * Update test_nms_quadri.py * Update box_iou_quadri.py * fix bug * Update test_nms_quadri.py * Update box_iou_rotated_utils.hpp * Update box_iou_quadri.py * Update mmcv/ops/nms.py
…b#2292) * add stack sa model ops * fix lint * fix lint * fix comments * fix bug * fix lint * fix comments * fix lint * fix lint * fix
* Add torch1.13 for macOS in CI * update * fix typo * Update
* Add steps to install mmcv-full on NPU machine Co-authored-by: wangxiaoxin_sherie <wangxiaoxin7@huawei.com> Co-authored-by: wangjiangben-hw <111729245+wangjiangben-hw@users.noreply.github.com> Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
…2357) * [Docs] Add maintenance plan * Update maintenance plan * Update compatibility.md * Update README * resolve comments * Update README * Add warning info * update * fix typo
* Bump version to v1.7.0 * remove deprecated message
…ab#2359) * [Feature] Support RoiawarePool3d with cambricon MLU backend. * [Feature] Support RoiawarePool3d with cambricon MLU backend.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
Please describe the motivation of this PR and the goal you want to achieve through this PR.
Modification
Please briefly describe what modification is made in this PR.
BC-breaking (Optional)
Does the modification introduce changes that break the backward-compatibility of the downstream repositories?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here, and update the documentation.
Checklist
Before PR:
After PR: