Open PhyllisJi opened 5 months ago
Could you please tell us the version and commit id of the MindSpore used in this test case? I have tried master branch with commit id 2694987 (2.3.0), the result seems to be identical in both CPU and GPU.
Could you please tell us the version and commit id of the MindSpore used in this test case? I have tried master branch with commit id 2694987 (2.3.0), the result seems to be identical in both CPU and GPU.
Mindspore 2.2.14, I installed it from your official website.
I just tried MindSpore 2.2.14 in our official website, the result of GPU is a maximum of FP32 but not 0, can't reproduce your result, I checked the code, logic is right when input of the reciprocal is 0.
I just tried MindSpore 2.2.14 in our official website, the result of GPU is a maximum of FP32 but not 0, can't reproduce your result, I checked the code, logic is right when input of the reciprocal is 0.
Presumably this is hardware related? I was using an Nvidia 3090.
The specific input data is in our GIthub repository https://github.com/PhyllisJi/MoCoDiff_Bug/blob/ms-issue-%23293/README.md
git clone -b ms-issue#293 https://github.com/PhyllisJi/MoCoDiff_Bug.git python test_cpu.py python test_gpu.py