{"action":"created","issue":{"url":"https://api.github.com/repos/apache/incubator-mxnet/issues/13036","repository_url":"https://api.github.com/repos/apache/incubator-mxnet","labels_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/13036/labels{/name}","comments_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/13036/comments","events_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/13036/events","html_url":"https://github.com/apache/incubator-mxnet/issues/13036","id":375331833,"node_id":"MDU6SXNzdWUzNzUzMzE4MzM=","number":13036,"title":"fix operators to support large arrays.","user":{"login":"zheng-da","id":70481,"node_id":"MDQ6VXNlcjcwNDgx","avatar_url":"https://avatars1.githubusercontent.com/u/70481?v=4","gravatar_id":"","url":"https://api.github.com/users/zheng-da","html_url":"https://github.com/zheng-da","followers_url":"https://api.github.com/users/zheng-da/followers","following_url":"https://api.github.com/users/zheng-da/following{/other_user}","gists_url":"https://api.github.com/users/zheng-da/gists{/gist_id}","starred_url":"https://api.github.com/users/zheng-da/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zheng-da/subscriptions","organizations_url":"https://api.github.com/users/zheng-da/orgs","repos_url":"https://api.github.com/users/zheng-da/repos","events_url":"https://api.github.com/users/zheng-da/events{/privacy}","received_events_url":"https://api.github.com/users/zheng-da/received_events","type":"User","site_admin":false},"labels":[{"id":206159502,"node_id":"MDU6TGFiZWwyMDYxNTk1MDI=","url":"https://api.github.com/repos/apache/incubator-mxnet/labels/Bug","name":"Bug","color":"fc2929","default":false},{"id":707556574,"node_id":"MDU6TGFiZWw3MDc1NTY1NzQ=","url":"https://api.github.com/repos/apache/incubator-mxnet/labels/Operator","name":"Operator","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2018-10-30T05:54:12Z","updated_at":"2018-11-03T14:17:30Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"We're working on a model that requires very large NDArrays. For example, we want to create an NDArray as follows:\r\n```python\r\narr = mx.nd.random.normal(shape=(50000000, 100))\r\n```\r\nThe current implementation doesn't fail with an error, but it doesn't generate a matrix correctly (it only fills the rows at the beginning).\r\n\r\n`mx.nd.zeros` also fails.\r\n\r\nIt's unclear what operators support and which operators don't."},"comment":{"url":"https://api.github.com/repos/apache/incubator-mxnet/issues/comments/435591320","html_url":"https://github.com/apache/incubator-mxnet/issues/13036#issuecomment-435591320","issue_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/13036","id":435591320,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTU5MTMyMA==","user":{"login":"wkcn","id":3415417,"node_id":"MDQ6VXNlcjM0MTU0MTc=","avatar_url":"https://avatars1.githubusercontent.com/u/3415417?v=4","gravatar_id":"","url":"https://api.github.com/users/wkcn","html_url":"https://github.com/wkcn","followers_url":"https://api.github.com/users/wkcn/followers","following_url":"https://api.github.com/users/wkcn/following{/other_user}","gists_url":"https://api.github.com/users/wkcn/gists{/gist_id}","starred_url":"https://api.github.com/users/wkcn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkcn/subscriptions","organizations_url":"https://api.github.com/users/wkcn/orgs","repos_url":"https://api.github.com/users/wkcn/repos","events_url":"https://api.github.com/users/wkcn/events{/privacy}","received_events_url":"https://api.github.com/users/wkcn/received_events","type":"User","site_admin":false},"created_at":"2018-11-03T14:17:30Z","updated_at":"2018-11-03T14:17:30Z","author_association":"CONTRIBUTOR","body":"In my test, it seem that the performances of `+/-` between `int32_t` and `int64_t` are the same.\r\n\r\nCPU: Intel i7-7500U\r\nTest Code: https://github.com/wkcn/c_performance\r\n```\r\nTest int                                                                                                                                    \r\n2381 ms                                                                                                                                     \r\n2297 ms                                                                                                                                     \r\n2300 ms                                                                                                                                     \r\n3729 ms                                                                                                                                     \r\nTest int32_t                                                                                                                                \r\n2356 ms                                                                                                                                     \r\n2314 ms                                                                                                                                     \r\n2302 ms\r\n3731 ms\r\nTest int64_t\r\n2398 ms\r\n2297 ms\r\n2318 ms\r\n9197 ms\r\nTest float\r\n2687 ms\r\n2690 ms\r\n2690 ms\r\n2686 ms\r\nTest double\r\n2713 ms\r\n2711 ms\r\n2711 ms\r\n2709 ms\r\n```\r\n"}}
{"actor":{"display_login":"wkcn"}}