open-mmlab / mmcv

OpenMMLab Computer Vision Foundation
https://mmcv.readthedocs.io/en/latest/
Apache License 2.0
5.72k stars 1.61k forks source link

[Bug] #3130

Open Annarine opened 2 weeks ago

Annarine commented 2 weeks ago

Prerequisite

Environment

mmcv 2.1 torch 2.2.2 cuda version 12.2

Reproduces the problem - code sample

chamfer_distance算子在shape为[17, 131073, 2]时,cpu标杆和cuda计算结果不一致,在chamfer_distance_cuda_kernel.cuh中增加打印之后,出现计算结果改变,且变为cpu结果的现象

Reproduces the problem - command or script

no

Reproduces the problem - error message

no

Additional information

No response