pytorch
a8929c32 - dbr quant: unbreak case when child module not returning any outputs (#70329)

Commit
2 years ago
dbr quant: unbreak case when child module not returning any outputs (#70329) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/70329 Fixes a crash in DBR when a child module does not return any tensors. This happens sometimes in user models. Test Plan: ``` python test/test_quantization.py TestQuantizeDBR.test_child_module_does_not_return_tensor ``` Reviewed By: VitalyFedyunin Differential Revision: D33285309 Pulled By: vkuzo fbshipit-source-id: 42b8cffb5ee02ce171a3e6c64d140bb5f217225a
Author
Parents
Loading