We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca8e347 commit e30773eCopy full SHA for e30773e
onnxruntime_extensions/_hf_cvt.py
@@ -303,7 +303,7 @@ def post_processing(self, **kwargs):
303
if default_inputs is None:
304
encoder_inputs = self.cvt_quadruple.default_encoder_inputs
305
if encoder_inputs is not None and encoder_inputs["fairseq"]:
306
- pass
+ default_inputs = {} # need to set to empty dict to call .update later
307
else:
308
return g
309
0 commit comments