CokeDong

Results 13 comments of CokeDong

will replaced by : https://github.com/open-mmlab/mmengine/pull/1127 and https://github.com/open-mmlab/mmcv/pull/2790

will replaced by : https://github.com/open-mmlab/mmengine/pull/1127 and https://github.com/open-mmlab/mmcv/pull/2790

依赖的PR; https://github.com/ParrotsDL/senseparrots/pull/387 parrots仓 需要导出include/parrots/diopi.hpp,增加extension链接文件和路径等 https://github.com/ParrotsDL/DIOPI/pull/18/commits/ca1eb977e1be9a0fb25933aa601c68f6d6987802 diopi仓 MMCV的nms算子接口需要增加offset参数

当前`./mmcv/ops/csrc/diopi_impl/torch/functions.cpp`编译需要依赖aten版本>pt1.3,parrots暂不支持。diopiNms暂未加入编译 ``` OSError: /mnt/petrelfs/dongkaixing/codes/codes-test/mmcv_cokedong/mmcv/mmcv/_ext.cpython-36m-x86_64-linux-gnu.so: undefined symbol: diopiNms ```

https://github.com/open-mmlab/mmcv/pull/2368 > 当前`./mmcv/ops/csrc/diopi_impl/torch/functions.cpp`编译需要依赖aten版本>pt1.3,parrots暂不支持。diopiNms暂未加入编译 > > ``` > OSError: /mnt/petrelfs/dongkaixing/codes/codes-test/mmcv_cokedong/mmcv/mmcv/_ext.cpython-36m-x86_64-linux-gnu.so: undefined symbol: diopiNms > ``` 同样的原因,https://github.com/open-mmlab/mmcv/pull/2371 这个PR中删除了iou3d的parrots支持,因为iou3d的aten实现需要aten>1.3(原始提交:https://github.com/open-mmlab/mmcv/pull/2296 )。 本PR也包含了该修改,否则parrots下extension算子的编译会失败。

增加pytorch ext算子支持diopi: ``` Before: Pybind -> nms -> 计算结果 After: Pybind -> nms -> 构造diopiContext,at::tensor转换diopiTensorHandle_t -> 调用diopiNms -> 计算结果 ```

will replaced by : https://github.com/open-mmlab/mmengine/pull/1127 and https://github.com/open-mmlab/mmcv/pull/2790

cokedong https://github.com/CokeDong/OpenmmlabAICamp/blob/main/homework5

cokedong https://github.com/CokeDong/OpenmmlabAICamp/tree/main/homework4

cokedong https://github.com/CokeDong/OpenmmlabAICamp/tree/main/homework3