fix: use bool instead of uint8/byte in Deberta/DebertaV2/SEW-D to make it...
fix: use bool instead of uint8/byte in Deberta/DebertaV2/SEW-D to make it compatible with TensorRT (#23683)
* Use bool instead of uint8/byte in DebertaV2 to make it compatible with TensorRT
TensorRT cannot accept onnx graph with uint8/byte intermediate tensors. This PR uses bool tensors instead of unit8/byte tensors to make the exported onnx file can work with TensorRT.
* fix: use bool instead of uint8/byte in Deberta and SEW-D
---------
Co-authored-by:
Yuxian Qiu <yuxianq@nvidia.com>
Showing
Please register or sign in to comment