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

MMCV support Cambricon MLU computing #1345

Closed
yushinliu opened this issue Sep 18, 2021 · 1 comment
Closed

MMCV support Cambricon MLU computing #1345

yushinliu opened this issue Sep 18, 2021 · 1 comment

Comments

@yushinliu
Copy link

yushinliu commented Sep 18, 2021

Describe the feature

Motivation
Support running models and ops on Cambricon MLU device.

Related resources

Environments

python == 3.6.8
setuptools == 46.1.3
cntoolkit == 2.3.2
catch == 0.19.1

Installation

  • Install Cambricon CATCH through resource or wheel.

  • Install MMCV with MLU ops .

    1. export MMCV_WITH_OPS=1

    2. Move to MMCV root and run installation: python setup.py install

Demo

  • run mmcv/tests/test_ops/test_focal_loss.py

Additional context
2021.09.18: sigmoid_focal_loss is supported as first MLU op on MMCV.

@zhouzaida
Copy link
Member

closed by #1346

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

No branches or pull requests

2 participants