djl
djl copied to clipboard
关于打包
怎么整体打包
在源码中大量使用了native方法,如果需要将项目打包放到另一台电脑上使用,怎么确定需要拷贝哪些动态链接库.然后那一台电脑需要安装相应的Python环境和Python依赖库吗?需要安装cuda环境吗
If you have network access, you don't need package native library, DJL will download only required library at runtime for your os. If you know your target deploy environment, you can package a fat jar. See this demo: https://github.com/deepjavalibrary/djl-demo/tree/master/development/fatjar
You don't need python, but if you use GPU, you have to install CUDA before using DJL.