Expected Tuple but got String Eroor

Hello. I’ve been trying continuously to convert the Hugging Face CLIPText model to TorchScript and deploy it on the Triton server. However, I keep encountering an issue where, even when sending the correct input to the torch.jit model, I get an “Expected Tuple but got String” error.

torch==2.0.1 cu117, tritonserver:22.05-py3, diffusers==0.22.3, transformers==4.34.0

Plz help me

terminate called after throwing an instance of ‘c10::Error’ what(): isTuple() INTERNAL ASSERT FAILED at “/home/wenda/libtorch/include/ATen/core/ivalue_inl.h”:927, please report a bug to PyTorch. Expected Tuple but got GenericList · Issue #53895 · pytorch/pytorch