-
Notifications
You must be signed in to change notification settings - Fork 654
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add paddlepaddle documentation (#502)
Change-Id: I814eca92dbbfaff84d292c895a0efcc761cbddf3
- Loading branch information
1 parent
5376f9e
commit 4b51619
Showing
4 changed files
with
44 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,34 @@ | ||
# DJL - PaddlePaddle native library | ||
|
||
This module publishes the PaddlePaddle native libraries to Maven central repository. | ||
|
||
## Prerequisite | ||
You need to install `cmake` and C++ compiler on your machine in order to build | ||
|
||
### Linux | ||
|
||
``` | ||
apt install cmake g++ | ||
``` | ||
|
||
### Windows | ||
|
||
Visual Studio 2017/2019 with C++ development toolkit is required to compile. | ||
|
||
## CPU Build | ||
|
||
Use the following task to build PaddlePaddle JNI library: | ||
|
||
### Mac/Linux | ||
|
||
``` | ||
./gradlew compileJNI | ||
``` | ||
|
||
### Windows | ||
|
||
``` | ||
gradlew compileJNI | ||
``` | ||
|
||
This task will send a Jni library copy to `paddlepaddle-engine` model to test locally. |