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

[Fix] Add support for Ascend device #847

Merged
merged 2 commits into from Jan 10, 2023
Merged

Conversation

wangjiangben-hw
Copy link
Contributor

@wangjiangben-hw wangjiangben-hw commented Dec 26, 2022

Motivation

Supplement the support of some functions on the NPU

Modification

  1. mmengine/model/base_model/base_model.py Added the to function that adapts to NPU and npu function.
  2. mmengine/model/base_model/data_preprocessor.py Added the to function that adapts to NPU and npu function.
  3. mmengine/structures/base_data_element.py Added npu function.

@CLAassistant
Copy link

CLAassistant commented Dec 26, 2022

CLA assistant check
All committers have signed the CLA.

@wangjiangben-hw wangjiangben-hw changed the title add npu device support [FIX] add npu device support Dec 26, 2022
@zhouzaida zhouzaida changed the title [FIX] add npu device support [Fix] Add support for Ascend device Jan 10, 2023
@zhouzaida zhouzaida merged commit 79067e4 into open-mmlab:main Jan 10, 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.

None yet

4 participants