-
When I run examples/ai.djl.examples.inference.face.RetinaFaceDetection Exception in thread "main" ai.djl.engine.EngineException: Failed to load PyTorch native library 0.14.0-SNAPSHOT-cpu-djl_torch.dll: this file is existing , I'm sure. ====== [INFO ] - Downloading https://publish.djl.ai/pytorch-1.7.0/cpu/win/native/lib/torch.dll.gz ... |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 6 replies
-
Can you try using the latest PyTorch version 1.9.1? PyTorch 1.7.0 is somewhat old and we did not build the jni to support it with the current version of DJL. |
Beta Was this translation helpful? Give feedback.
-
@jsxzliyou DJL 0.14.0 requires pytorch 1.9.1, see: https://docs.djl.ai/master/engines/pytorch/pytorch-engine/index.html#installation I'm not sure how you get into this situation, looks like you using DJL 0.14.0-SNAPSHOT. Please try to run it with gradle command. If command line work, then most likely is your IDE problem. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
There is some delay in updating the docs website. Now it's fixed. |
Beta Was this translation helpful? Give feedback.
-
/Users/mmt9267/.djl.ai |
Beta Was this translation helpful? Give feedback.
Can you try using the latest PyTorch version 1.9.1? PyTorch 1.7.0 is somewhat old and we did not build the jni to support it with the current version of DJL.