Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
jestiny0 opened this issue Jan 25, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@jestiny0
Copy link

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 jestiny0 added the bug Something isn't working label Jan 25, 2024
@frankfliu
Copy link
Contributor

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
Copy link
Contributor

I created a PR to fix document: #2963

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants