automatic download of native libraries vs. missing internet-connection #921
Replies: 2 comments 1 reply
-
You can use PyTorch for windows if possible. PyTorch have windows offline package. The MXNet for Windows GPU package is exceeded 2G limitation, we have to break it down for each cuda architecture. You can manually download them to your local. Here is the list of files: For MXNet 1.8.0
For MXNet 1.7.0:
DJL check local cache folder first. If you manually downloaded the required dll copy to your offline machine:
Note:
|
Beta Was this translation helpful? Give feedback.
-
There actually a better solution if you know your target cuda architecture
You will find a jar for windows gpu in build/repo/... folder. Then you can include this jar in your project, and everything should just work. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm just starting to evaluate DJL and, so far, it seems to be a great project. Thanks to anyone building this!
Reading the documentation, I stumbled upon this paragraph about GPU-Support: https://d2l.djl.ai/chapter_installation/index.html#gpu-support, which links to this part: https://github.com/deepjavalibrary/djl/tree/master/mxnet/mxnet-engine#windows.
Although this auto-detection sounds pretty comfortable, for me this seems to be a problem:
I have two Windows machines - one is my usual development-machine, but without powerful hardware, and one is more powerful (2 GPUs), but has no internet-connection, not even via proxy. I can only reach the latter via LAN, but I need to transfer all gradle-dependencies by hand (or as fat-jar or whatsoever).
My question is now for advice how to find and provide the proper dependencies for the powerful offline-machine, especially those, that are native / auto-detected and as stated in the second link, not provided without auto-detection. (I could even copy my whole gradle-cache, but the weak online-machine would detect the wrong dependencies, as it has no GPU...)
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions