Skip to content

How can I trigger DJL to download engine's C++ library? #2183

Answered by frankfliu
SuperMaskv asked this question in Q&A
Discussion options

You must be logged in to vote

You can bundle the native library when you build your java project. We provide maven package for each platform to make it easy to distribute your application (or build docker image), for example, here is the document about how to install PyTorch engine for Linux CPU: https://docs.djl.ai/master/engines/pytorch/pytorch-engine/index.html#linux-cpu

You can also take a look our demo project how to package your application: https://github.com/deepjavalibrary/djl-demo/tree/master/development/fatjar

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SuperMaskv
Comment options

Answer selected by SuperMaskv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants