Closed AL3708 closed 2 years ago
I think it has been fixed in latest implementation of Proxyless. You can try our alpha prerelease of v2.9.
pip install --extra-index-url https://test.pypi.org/simple/ nni==2.9a1
Closing as the problem seems to have been resolved in v2.9.
Please reopen if there are further inquiries.
If first layer inside model is nn.LayerChoice, then
RuntimeError: One of the differentiated Tensors does not require grad
is thrown.Ex model:
Exception:
If I switch to standard convolution inside stem:
It works fine.
Environment: