This repository was archived by the owner on Nov 17, 2023. It is now read-only.
Repository navigation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi,
While working on issue (#20265).
I have noticed that hash values are overflowing uint64_t. I am working on the following code snippet from (https://github.com/apache/incubator-mxnet/blob/3480ba2c6df02bb907d3a975d354efa8697c4e71/tests/python/unittest/test_operator.py#L1707) where dim is fixed to 2 and num_groups = 2.
Hash computation is done here: https://github.com/apache/incubator-mxnet/blob/3480ba2c6df02bb907d3a975d354efa8697c4e71/src/operator/nn/mkldnn/mkldnn_convolution.cc#L387
I think the last hash value actually overflows because if you compute the hash manually it should be 15806800329040194030 * 2 + 9 ~ 3.1613601e+19 where 3.1613601e+19 > UINT64_MAX.
I was wondering if this overflow is a known behaviour?
Thanks,
Crefeda
All reactions