payload: {"action":"created","issue":{"url":"https://api.github.com/repos/apache/incubator-mxnet/issues/16328","repository_url":"https://api.github.com/repos/apache/incubator-mxnet","labels_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/16328/labels{/name}","comments_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/16328/comments","events_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/16328/events","html_url":"https://github.com/apache/incubator-mxnet/pull/16328","id":499864617,"node_id":"MDExOlB1bGxSZXF1ZXN0MzIyNDc1MjEx","number":16328,"title":"Fix large array tests","user":{"login":"ChaiBapchya","id":10992635,"node_id":"MDQ6VXNlcjEwOTkyNjM1","avatar_url":"https://avatars3.githubusercontent.com/u/10992635?v=4","gravatar_id":"","url":"https://api.github.com/users/ChaiBapchya","html_url":"https://github.com/ChaiBapchya","followers_url":"https://api.github.com/users/ChaiBapchya/followers","following_url":"https://api.github.com/users/ChaiBapchya/following{/other_user}","gists_url":"https://api.github.com/users/ChaiBapchya/gists{/gist_id}","starred_url":"https://api.github.com/users/ChaiBapchya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChaiBapchya/subscriptions","organizations_url":"https://api.github.com/users/ChaiBapchya/orgs","repos_url":"https://api.github.com/users/ChaiBapchya/repos","events_url":"https://api.github.com/users/ChaiBapchya/events{/privacy}","received_events_url":"https://api.github.com/users/ChaiBapchya/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2019-09-29T06:11:12Z","updated_at":"2019-10-09T21:58:02Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/incubator-mxnet/pulls/16328","html_url":"https://github.com/apache/incubator-mxnet/pull/16328","diff_url":"https://github.com/apache/incubator-mxnet/pull/16328.diff","patch_url":"https://github.com/apache/incubator-mxnet/pull/16328.patch"},"body":"## Description ##\r\n- fix activation, copy_to, random_multinomial\r\n- removed 2 redundant functions (imod, expand_dims)\r\n- Lint fixes\r\n- Random_* functions used \r\n```\r\nMEDIUM_X, SMALL_Y, SMALL_X, SMALL_Y -> (10000, 50, 100, 50) < 2**32 elements\r\n```\r\nHence made it \r\n```\r\nMEDIUM_X, SMALL_X, SMALL_X, SMALL_Y -> (10000, 100, 100, 50) > 2**32 elements\r\n```\r\n\r\n- pooling, on other hand, used \r\n```\r\nMEDIUM_X, MEDIUM_X, SMALL_Y, SMALL_Y -> (10000, 10000, 50, 50) >> 2**32 elements\r\n```\r\nA very big value that is > CPU memory gives the error\r\n```\r\nmxnet.base.MXNetError: [20:08:27] ../src/storage/./cpu_device_storage.h:75: Failed to allocate CPU Memory\r\n```\r\nHence made it  just greater than 2**32\r\n```\r\nMEDIUM_X, MEDIUM_X, SMALL_Y, SMALL_Y -> (10000, 200, 50, 50) > 2**32 elements\r\n```\r\n## Checklist ##\r\n### Essentials ###\r\nPlease feel free to remove inapplicable items for your PR.\r\n- [x] Changes are complete (i.e. I finished coding on this PR)\r\n- [x] All changes have test coverage:\r\n- Unit tests are added for small changes to verify correctness (e.g. adding a new operator)\r\n- Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)\r\n- Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)\r\n- [x] Code is well-documented: \r\n- [x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change\r\n\r\n### Changes ###\r\n- [x] tests/nightly/test_large_array.py\r\n\r\n## Comments ##\r\n"},"comment":{"url":"https://api.github.com/repos/apache/incubator-mxnet/issues/comments/540219845","html_url":"https://github.com/apache/incubator-mxnet/pull/16328#issuecomment-540219845","issue_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/16328","id":540219845,"node_id":"MDEyOklzc3VlQ29tbWVudDU0MDIxOTg0NQ==","user":{"login":"ChaiBapchya","id":10992635,"node_id":"MDQ6VXNlcjEwOTkyNjM1","avatar_url":"https://avatars3.githubusercontent.com/u/10992635?v=4","gravatar_id":"","url":"https://api.github.com/users/ChaiBapchya","html_url":"https://github.com/ChaiBapchya","followers_url":"https://api.github.com/users/ChaiBapchya/followers","following_url":"https://api.github.com/users/ChaiBapchya/following{/other_user}","gists_url":"https://api.github.com/users/ChaiBapchya/gists{/gist_id}","starred_url":"https://api.github.com/users/ChaiBapchya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChaiBapchya/subscriptions","organizations_url":"https://api.github.com/users/ChaiBapchya/orgs","repos_url":"https://api.github.com/users/ChaiBapchya/repos","events_url":"https://api.github.com/users/ChaiBapchya/events{/privacy}","received_events_url":"https://api.github.com/users/ChaiBapchya/received_events","type":"User","site_admin":false},"created_at":"2019-10-09T21:58:02Z","updated_at":"2019-10-09T21:58:02Z","author_association":"CONTRIBUTOR","body":"```\r\ntest_large_array.test_gluon_embedding ... ok\r\ntest_large_array.test_ndarray_zeros ... ok\r\ntest_large_array.test_ndarray_ones ... ok\r\ntest_large_array.test_ndarray_convert ... ok\r\ntest_large_array.test_ndarray_random_uniform ... ok\r\ntest_large_array.test_ndarray_random_randint ... ok\r\ntest_large_array.test_ndarray_random_exponential ... ok\r\ntest_large_array.test_ndarray_random_gamma ... ok\r\ntest_large_array.test_ndarray_random_multinomial ... ok\r\ntest_large_array.test_ndarray_random_generalized_negative_binomial ... ok\r\ntest_large_array.test_ndarray_random_negative_binomial ... ok\r\ntest_large_array.test_ndarray_random_normal ... ok\r\ntest_large_array.test_ndarray_random_poisson ... ok\r\ntest_large_array.test_ndarray_random_randn ... ok\r\ntest_large_array.test_ndarray_random_shuffle ... ok\r\ntest_large_array.test_ndarray_empty ... ok\r\ntest_large_array.test_elementwise ... ok\r\ntest_large_array.test_reduce ... ok\r\ntest_large_array.test_dot ... ok\r\ntest_large_array.test_FullyConnected ... ok\r\ntest_large_array.test_broadcast ... ok\r\ntest_large_array.test_clip ... ok\r\ntest_large_array.test_split ... ok\r\ntest_large_array.test_argmin ... ok\r\ntest_large_array.test_tile ... ok\r\ntest_large_array.test_take ... ok\r\ntest_large_array.test_slice ... ok\r\ntest_large_array.test_slice_assign ... ok\r\ntest_large_array.test_expand_dims ... ok\r\ntest_large_array.test_squeeze ... ok\r\ntest_large_array.test_broadcast_div ... ok\r\ntest_large_array.test_Dense ... ok\r\ntest_large_array.test_where ... ok\r\ntest_large_array.test_pick ... ok\r\n```"}}
other: {"actor":{"display_login":"ChaiBapchya"}}