Skip to content

Commit

Permalink
[docs] Fixes type on pytorch README. (deepjavalibrary#1959)
Browse files Browse the repository at this point in the history
Change-Id: I208f89f934d953986705f61f43ce204c8262e1c9
  • Loading branch information
frankfliu authored and patins1 committed Aug 26, 2022
1 parent 0dae918 commit d1f9566
Showing 1 changed file with 3 additions and 2 deletions.
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

0 comments on commit d1f9566

Please sign in to comment.