{"action":"opened","issue":{"url":"https://api.github.com/repos/apache/incubator-mxnet/issues/10875","repository_url":"https://api.github.com/repos/apache/incubator-mxnet","labels_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/10875/labels{/name}","comments_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/10875/comments","events_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/10875/events","html_url":"https://github.com/apache/incubator-mxnet/issues/10875","id":321733207,"number":10875,"title":"How to debug hybridize() failures?","user":{"login":"altosaar","id":5317244,"avatar_url":"https://avatars3.githubusercontent.com/u/5317244?v=4","gravatar_id":"","url":"https://api.github.com/users/altosaar","html_url":"https://github.com/altosaar","followers_url":"https://api.github.com/users/altosaar/followers","following_url":"https://api.github.com/users/altosaar/following{/other_user}","gists_url":"https://api.github.com/users/altosaar/gists{/gist_id}","starred_url":"https://api.github.com/users/altosaar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/altosaar/subscriptions","organizations_url":"https://api.github.com/users/altosaar/orgs","repos_url":"https://api.github.com/users/altosaar/repos","events_url":"https://api.github.com/users/altosaar/events{/privacy}","received_events_url":"https://api.github.com/users/altosaar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-09T21:29:13Z","updated_at":"2018-05-09T21:29:13Z","closed_at":null,"author_association":"NONE","body":"My model runs fine without hybridize, but I need the speed boost.\r\n\r\nWhen I call hybridize I get a cryptic failure message:\r\n\r\n```Traceback (most recent call last):\r\n  File \"normal_def/train.py\", line 225, in <module>\r\n    train()\r\n  File \"normal_def/train.py\", line 178, in train\r\n    users, items, item_counts, set_sizes, user_meals)\r\n  File \"/usr/local/anaconda3/lib/python3.6/site-packages/mxnet/gluon/block.py\", line 413, in __call__\r\n    return self.forward(*args)\r\n  File \"/usr/local/anaconda3/lib/python3.6/site-packages/mxnet/gluon/block.py\", line 621, in forward\r\n    return self._call_cached_op(x, *args)\r\n  File \"/usr/local/anaconda3/lib/python3.6/site-packages/mxnet/gluon/block.py\", line 528, in _call_cached_op\r\n    out = self._cached_op(*cargs)\r\n  File \"/usr/local/anaconda3/lib/python3.6/site-packages/mxnet/_ctypes/ndarray.py\", line 149, in __call__\r\n    ctypes.byref(out_stypes)))\r\n  File \"/usr/local/anaconda3/lib/python3.6/site-packages/mxnet/base.py\", line 149, in check_call\r\n    raise MXNetError(py_str(_LIB.MXGetLastError()))\r\nmxnet.base.MXNetError: Error in operator normaldef0_fastpoissonlogprob0__mul0: [17:27:23] src/operator/nn/../tensor/../elemwise_op_common.h:123: Check failed: assign(&dattr, (*vec)[i]) Incompatible attr in node normaldef0_fastpoissonlogprob0__mul0 at 1-th input: expected [9963,128], got [9963,1]\r\n```\r\n\r\nThere are many multiplies and nodes of that shape. How can I figure out why hybridize is not working? i.e. what line of code `normaldef0_fastpoissonlogprob0__mul0` corresponds to?\r\n\r\nThanks!"}}
{"actor":{"display_login":"altosaar"}}