Skip to content
Snippets Groups Projects
Unverified Commit cbb67140 authored by Qian Zhao's avatar Qian Zhao Committed by GitHub
Browse files

[Refactor] Refactor the `get_device` and `is_npu_available` (#1004)


* refactor get_device and is_npu_available

* Update mmengine/device/utils.py

Co-authored-by: default avatarZaida Zhou <58739961+zhouzaida@users.noreply.github.com>

---------

Co-authored-by: default avatarZaida Zhou <58739961+zhouzaida@users.noreply.github.com>
parent ff27b723
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment