You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/04/26 00:55:42 UTC

[GitHub] zheng-da commented on a change in pull request #10687: Fix multi context hybrid

zheng-da commented on a change in pull request #10687: Fix multi context hybrid
URL: https://github.com/apache/incubator-mxnet/pull/10687#discussion_r184245816
 
 

 ##########
 File path: tests/python/unittest/test_gluon.py
 ##########
 @@ -966,6 +968,12 @@ def test_save_load():
 
     net.load_params('test.params')
 
+@unittest.skip("fails due to mkldnn issue. renable after mkldnn fixed")
+def test_hybrid_multi_context():
+    net = mx.gluon.model_zoo.vision.get_resnet(1, 18)
+    net.initialize(ctx=[mx.cpu(0), mx.cpu(1)])
+    net.hybridize()
+    net(mx.nd.zeros((1, 3, 32, 32), ctx=mx.cpu(0))).asnumpy()
 
 Review comment:
   I created a PR to fix this issue.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services