djl icon indicating copy to clipboard operation
djl copied to clipboard

Could not find artifact ai.djl.pytorch:pytorch-native-cu118:jar:linux-x86_64:2.1.1

Open jestiny0 opened this issue 1 year ago • 2 comments

Description

I see the configuration as follows at this link

<dependency>
    <groupId>ai.djl.pytorch</groupId>
    <artifactId>pytorch-native-cu118</artifactId>
    <classifier>linux-x86_64</classifier>
    <version>2.1.1</version>
    <scope>runtime</scope>
</dependency>
<dependency>
    <groupId>ai.djl.pytorch</groupId>
    <artifactId>pytorch-jni</artifactId>
    <version>2.1.1-0.26.0</version>
    <scope>runtime</scope>
</dependency>

I couldn't find version 2.1.1 at the following maven repo link, https://mvnrepository.com/artifact/ai.djl.pytorch/pytorch-native-cu118 but I found it at another link https://mvnrepository.com/artifact/ai.djl.pytorch/pytorch-native-cu121

Expected Behavior

support pytorch 2.1.1 with cu118 instead of cu121

jestiny0 avatar Jan 25 '24 07:01 jestiny0

Can you use pytorch-native-cu118:2.0.1 ?

<dependency>
    <groupId>ai.djl.pytorch</groupId>
    <artifactId>pytorch-native-cu118</artifactId>
    <classifier>linux-x86_64</classifier>
    <version>2.0.1</version>
    <scope>runtime</scope>
</dependency>
<dependency>
    <groupId>ai.djl.pytorch</groupId>
    <artifactId>pytorch-jni</artifactId>
    <version>2.0.1-0.26.0</version>
    <scope>runtime</scope>
</dependency>

frankfliu avatar Jan 25 '24 16:01 frankfliu

I created a PR to fix document: https://github.com/deepjavalibrary/djl/pull/2963

frankfliu avatar Jan 25 '24 16:01 frankfliu