Skip to content

[Feature] Support engine with Biren SUPA backend. - #1691

Open
frozenleaves wants to merge 2 commits into
open-mmlab:mainfrom
frozenleaves:main-supa
Open

[Feature] Support engine with Biren SUPA backend.#1691
frozenleaves wants to merge 2 commits into
open-mmlab:mainfrom
frozenleaves:main-supa

Conversation

@frozenleaves

Copy link
Copy Markdown

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. By the way, if you're not familiar with how to use pre-commit to fix lint issues or add unit tests, please refer to Contributing to OpenMMLab.

Motivation

Added biren supa device support

Modification

    modified:   mmengine/device/__init__.py
    modified:   mmengine/device/utils.py
    modified:   mmengine/dist/dist.py
    modified:   mmengine/dist/utils.py
    modified:   mmengine/hooks/empty_cache_hook.py
    modified:   mmengine/logging/logger.py
    modified:   mmengine/model/base_model/data_preprocessor.py
    modified:   mmengine/optim/optimizer/amp_optimizer_wrapper.py
    modified:   mmengine/runner/amp.py
    modified:   mmengine/runner/log_processor.py
    modified:   mmengine/runner/utils.py
    modified:   mmengine/utils/dl_utils/collect_env.py
    modified:   mmengine/utils/dl_utils/time_counter.py
    modified:   tests/test_device/test_device.py

This PR just add device backend api adaptor, don't include any new function

BC-breaking (Optional)

None

Does the modification introduce changes that break the backward-compatibility of the downstream repos?
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)

See tests/test_device/test_device.py

Checklist

  1. Pre-commit or other linting tools are used to fix the potential lint issues.
  2. The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
  3. If the modification has potential influence on downstream projects, this PR should be tested with downstream projects, like MMDetection or MMPretrain.
  4. The documentation has been modified accordingly, like docstring or example tutorials.

@CLAassistant

CLAassistant commented Aug 5, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@frozenleaves

Copy link
Copy Markdown
Author

cc @HAOCHENYE Hi,We want to adapt a new backend for mmengine,could you take a moment to review this PR,Thanks!

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