You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by GitBox <gi...@apache.org> on 2021/07/27 23:41:24 UTC
[GitHub] [incubator-mxnet] TristonC edited a comment on issue #20471: Wrong gradients on Windows-GPU
TristonC edited a comment on issue #20471:
URL: https://github.com/apache/incubator-mxnet/issues/20471#issuecomment-887903332
With your sym3 example, here is what I got with MXNet 1.9 on Linux. Not sure if this issue only occurs on Windows. Did you @matteosal try it on Linux?
```
Input1 + Input2 gradient, CPU (OK):
{'.Inputs.Input1': 'write', '.Inputs.Input2': 'write', '.Inputs.Input3': 'null'}
[23:37:54] ../src/storage/storage.cc:199: Using Pooled (Naive) StorageManager for CPU
[[[-3. -2. -3. -3.]
[ 0. -3. -1. -3.]]]
<NDArray 1x2x4 @cpu(0)>
Input1 + Input2 gradient, GPU (OK):
{'.Inputs.Input1': 'write', '.Inputs.Input2': 'write', '.Inputs.Input3': 'null'}
[23:38:01] ../src/storage/storage.cc:199: Using Pooled (Naive) StorageManager for GPU
[[[-3. -2. -3. -3.]
[ 0. -3. -1. -3.]]]
<NDArray 1x2x4 @gpu(0)>
Input2 gradient only, CPU (OK):
{'.Inputs.Input1': 'null', '.Inputs.Input2': 'write', '.Inputs.Input3': 'null'}
[[[-3. -2. -3. -3.]
[ 0. -3. -1. -3.]]]
<NDArray 1x2x4 @cpu(0)>
Input2 gradient only, GPU (WRONG):
{'.Inputs.Input1': 'null', '.Inputs.Input2': 'write', '.Inputs.Input3': 'null'}
[[[-3. -2. -3. -3.]
[ 0. -3. -1. -3.]]]
<NDArray 1x2x4 @gpu(0)>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org