Skip to content

Including multiple kotlin executorch backend libraries is not possible #18683

@vybhav-ibr

Description

@vybhav-ibr

🐛 Describe the bug

I would like to enable three executorch back-ends in my app, I want to use any model compiled for xnnpack and/or vulcan and/or qnn, I am not able to use the libs from maven central,

    implementation("org.pytorch:executorch-android:1.2.0")
    implementation("org.pytorch:executorch-android-qnn:1.2.0")

when both are included , running the app causes the error "Duplicate Class"
I think this is the expected behavior, What is the proper way to do this ?

Versions

.

cc @kirklandsign @cbilgin

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: androidIssues related to Android code, build, and execution

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions