@yangcheng We started publishing 2 gradle artifacts:
implementation ‘org.pytorch:pytorch_android:1.9.0’
implementation ‘org.pytorch:pytorch_android_lite:1.9.0’ (contains mobile interpreter that uses different java entry point - LiteModuleLoader)
The java classes of both packages are the same, that’s why there is an class duplication error.
Without workaround it is not possible to have both of them in the same android artifact.