You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[NVBUG: 5536887] Check output name map while creating inputs for per node calibration (#509)
## What does this PR do?
**Type of change:**
Bug fix
**Overview:**
- input to a node could be model output
- Hence we also check the `output_name_map` while creating the single
node inputs
## Testing
```python
python -m modelopt.onnx.quantization --onnx_path=aurora_model_batch_5.onnx --calibrate_per_node
```
## Before your PR is "*Ready for review*"
<!-- If you haven't finished some of the above items you can still open
`Draft` PR. -->
- **Make sure you read and follow [Contributor
guidelines](https://github.com/NVIDIA/TensorRT-Model-Optimizer/blob/main/CONTRIBUTING.md)**
and your commits are signed.
- **Is this change backward compatible?**: Yes
- **Did you write any new necessary tests?**: Yes
- **Did you add or update any necessary documentation?**: No
- **Did you update
[Changelog](https://github.com/NVIDIA/TensorRT-Model-Optimizer/blob/main/CHANGELOG.rst)?**:
No
---------
Signed-off-by: ajrasane <[email protected]>
0 commit comments