Comments (8)
Yes, this is known PyTorch issue, PyTorch will statically link mkl in 2.3.1.
from djl.
The default PyTorch version for DJL is still 2.2.2
from djl.
Thanks for the info. I see: The solution for my case is to stay with 2.2.2 until 2.3.1. Then no problem on DJL side.
from djl.
I tried with pytorch engine 2.3.1 on djl 0.29.0. I still see a linkage problem with mkl. Should it work?
from djl.
2.3.1 should work on Windows: https://github.com/deepjavalibrary/djl-demo/actions/runs/10027117347/job/27712357407#step:5:467
from djl.
Thx for the info. I ran the canary test locally and still see the same error as when running my code
java.lang.UnsatisfiedLinkError: C:\Users\enpasos\.djl.ai\pytorch\2.3.1-cu121-win-x86_64\torch_cpu.dll: Can't find dependent libraries
from djl.
Oh, you are using cu121 for windows. It seems we missed a couple files in the files.txt
file (We don't have window GPU test to catch the issue).
Would you please remove cache folder and try it again.
If you use CPU, it should works.
from djl.
I tried (on cu121) with my code and the canary test. Both worked perfectly. Thx, for the solution!
from djl.
Related Issues (20)
- CPU Version of TensorFlow Native Package Incorrectly Includes GPU Dependencies HOT 2
- Can I load a pytorch pretrained model, and use its block to replace one in my network? HOT 1
- MXNet NLP GloVe model causes error "Native resource has been released already" HOT 3
- When there are multiple engines on the classpath, DJL might randomly select a non-optimal one
- TfModel doesn't support `Model#load(InputStream is)` HOT 4
- Memory leak in HF tokenizer when using truncation and optWithOverflowingTokens(false) HOT 1
- TF engine memory not fully released HOT 4
- LSTM .optReturnSequence(false) method missed
- Model conversion process failed when deploying Mixtral 8x22B AWQ with djl-tensorrtllm to Sagemaker HOT 3
- Torchscript is in maintenance mode. Supporting it's replacement HOT 4
- How to serv with 2 model folders? HOT 17
- OFA-Sys Chinese-CLIP Example HOT 1
- Support PyTorch 2.4 HOT 2
- Onnxruntime-gpu 1.8.0 killed the process on cpu device HOT 1
- There is an error dialog when i try to load a torchscript model. HOT 2
- Error using batchPredict with QAInput HOT 2
- Adding ignore_eos_token support in Chat Completions API Schema HOT 1
- [FEATURE] Add metod to `Criteria` to check whether the model was downloaded or not HOT 1
- Error issue using BatchPredict API HOT 1
- How to load .pt model in scala? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from djl.