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

[Feature] Support mmcv ext with DIOPI impl #2790

Merged
merged 29 commits into from
Jun 13, 2023

Conversation

CokeDong
Copy link
Contributor

@CokeDong CokeDong commented May 5, 2023

Support mmcv ext+dipu

@CokeDong CokeDong changed the title Support mmcv ext+dipu Support mmcv ext with DIOPI impl May 11, 2023
@zhouzaida zhouzaida requested a review from grimoire June 7, 2023 03:18
setup.py Show resolved Hide resolved
mmcv/ops/focal_loss.py Outdated Show resolved Hide resolved
@grimoire
Copy link
Member

grimoire commented Jun 7, 2023

how to build mmcv with dipu?

@CokeDong
Copy link
Contributor Author

CokeDong commented Jun 7, 2023

how to build mmcv with dipu?

e.g. MMCV_WITH_DIOPI=1 MMCV_WITH_OPS=1 python setup.py build_ext -i

@grimoire
Copy link
Member

grimoire commented Jun 7, 2023

Is there any guide about how to setup DIPU_ROOT, DIOPI_PATH and DIPU_PATH? I guess one of it is DIOPI-IMPL/proto/include/?

setup.py Show resolved Hide resolved
Copy link
Member

@grimoire grimoire left a comment

Choose a reason for hiding this comment

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

LGTM

setup.py Show resolved Hide resolved
setup.py Outdated Show resolved Hide resolved
@zhouzaida zhouzaida changed the title Support mmcv ext with DIOPI impl [Feature] Support mmcv ext with DIOPI impl Jun 13, 2023
@zhouzaida zhouzaida merged commit 9b1209f into open-mmlab:main Jun 13, 2023
22 checks passed
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

3 participants