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

[docs] Fixes type on pytorch README. #1959

Merged
merged 1 commit into from
Aug 25, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions engines/pytorch/pytorch-engine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ If you are running on an older operating system (like CentOS 7), you have to use
System.setProperty("PYTORCH_PRECXX11", "true");
```

You can choose a native library based on your platform if you don't have network access at runtime.
If you don't have network access, you can add a offline native library package based on your platform
to avoid downloading the native libraries at runtime.

### macOS
For macOS, you can use the following library:
Expand All @@ -92,7 +93,7 @@ For macOS, you can use the following library:
</dependency>
<dependency>
<groupId>ai.djl.pytorch</groupId>
<artifactId>pytorch-native-jni</artifactId>
<artifactId>pytorch-jni</artifactId>
<version>1.11.0-0.18.0</version>
<scope>runtime</scope>
</dependency>
Expand Down