samskalicky opened a new issue #19811:
URL: https://github.com/apache/incubator-mxnet/issues/19811
## Description
Extensions subgraph example is failing for the v2.0 alpha tag with the
following error message on Linux (CPU build):
```
-------------------------------
Testing myProp Gluon Hybridize partitioning with extra input
Traceback (most recent call last):
File "test_subgraph.py", line 105, in <module>
test("myProp")
File "test_subgraph.py", line 77, in test
sym_block2.optimize_for(mx.nd.ones((3,2)), mx.nd.ones((3,2)),
backend="addInputPass")
File "/home/ubuntu/incubator-mxnet/python/mxnet/gluon/block.py", line
1390, in optimize_for
self._build_cache(x, *args)
File "/home/ubuntu/incubator-mxnet/python/mxnet/gluon/block.py", line
1203, in _build_cache
out = out.optimize_for(self._backend, arg_dict, aux_dict, ctx,
input_shapes, **self._backend_opts)
TypeError: optimize_for() argument after ** must be a mapping, not NoneType
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]