@KevinZ1992  do you have the example for my code?
I try with
import torch
import torchvision

model = torchvision.models.resnet18(pretrained=True)
model.eval()
example = torch.rand(1, 3, 224, 224)
traced_script_module = torch.jit.trace(model, example)
# traced_script_module.save("app/src/main/assets/model.pt")

torch.save(model, "app/src/main/assets/model.pt", _use_new_zipfile_serialization=False)

But still got the same error when try to load the model into android torch