how to convert nemo model to torch_script format as i am getting TypeError: All arguments must be passed by kwargs only for typed methods
my_code
import nemo.collections.asr as nemo_asr
import torch.nn as nn

model1 = model.extract_state_dict_from('/root/.cache/torch/NeMo/NeMo_1.3.0/QuartzNet15x5Base-En/2b066be39e9294d7100fb176ec817722/QuartzNet15x5Base-En.nemo', save_dir='./pt_ckpt/QuartzNet15x5Base-En.pt')

model.load_state_dict(torch.load('./pt_ckpt/model_weights.ckpt'))

model.eval()

input_example = torch.randn(8, 1 , 64)



traced_model = torch.jit.trace(model, input_example)


TypeError                                 Traceback (most recent call last)
/tmp/ipykernel_40865/3321835653.py in <module>
      6 
      7 
----> 8 traced_foo = torch.jit.trace(model, input_example)

~/api/lib/python3.7/site-packages/torch/jit/_trace.py in trace(func, example_inputs, optimize, check_trace, check_inputs, check_tolerance, strict, _force_outplace, _module_class, _compilation_unit)
    742             strict,
    743             _force_outplace,
--> 744             _module_class,
    745         )
    746 

~/api/lib/python3.7/site-packages/torch/jit/_trace.py in trace_module(mod, inputs, optimize, check_trace, check_inputs, check_tolerance, strict, _force_outplace, _module_class, _compilation_unit)
    957                 strict,
    958                 _force_outplace,
--> 959                 argument_names,
    960             )
    961             check_trace_method = module._c._get_method(method_name)

~/api/lib/python3.7/site-packages/torch/nn/modules/module.py in _call_impl(self, *input, **kwargs)
   1049         if not (self._backward_hooks or self._forward_hooks or self._forward_pre_hooks or _global_backward_hooks
   1050                 or _global_forward_hooks or _global_forward_pre_hooks):
-> 1051             return forward_call(*input, **kwargs)
   1052         # Do not call functions when jit is used
   1053         full_backward_hooks, non_full_backward_hooks = [], []

~/api/lib/python3.7/site-packages/torch/nn/modules/module.py in _slow_forward(self, *input, **kwargs)
   1037                 recording_scopes = False
   1038         try:
-> 1039             result = self.forward(*input, **kwargs)
   1040         finally:
   1041             if recording_scopes:

~/api/lib/python3.7/site-packages/nemo/core/classes/common.py in __call__(self, wrapped, instance, args, kwargs)
    790         # Check that all arguments are kwargs
    791         if input_types is not None and len(args) > 0:
--> 792             raise TypeError("All arguments must be passed by kwargs only for typed methods")
    793 
    794         # Perform rudimentary input checks here

TypeError: All arguments must be passed by kwargs only for typed methods

​please Help to debug the error 