Open PhyllisJi opened 6 months ago
Use official MindSpore 2.2.14 to reproduce the result, here is the diff between CPU and GPU: Our benchmark is PyTorch, here is the diff between PyTorch CPU and GPU: PyTorch also has this kind of gap between CPU and GPU.
Environment
Hardware Environment(
Ascend
/GPU
/CPU
):Software Environment:
Describe the current behavior
There is a huge difference between the training process using CPU and GPU for the same code that implements the model.
Describe the expected behavior
There should be no significant difference
Steps to reproduce the issue
only change
mindspore.context.set_context(device_target='CPU')
tomindspore.context.set_context(device_target='GPU')
Related log / screenshot
Special notes for this issue