Code Monkey home page Code Monkey logo

Comments (8)

frankfliu avatar frankfliu commented on August 26, 2024

Yes, this is known PyTorch issue, PyTorch will statically link mkl in 2.3.1.

from djl.

frankfliu avatar frankfliu commented on August 26, 2024

The default PyTorch version for DJL is still 2.2.2

from djl.

enpasos avatar enpasos commented on August 26, 2024

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.

enpasos avatar enpasos commented on August 26, 2024

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.

frankfliu avatar frankfliu commented on August 26, 2024

2.3.1 should work on Windows: https://github.com/deepjavalibrary/djl-demo/actions/runs/10027117347/job/27712357407#step:5:467

from djl.

enpasos avatar enpasos commented on August 26, 2024

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

Dependencies(x64) claims ...
grafik

from djl.

frankfliu avatar frankfliu commented on August 26, 2024

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.

enpasos avatar enpasos commented on August 26, 2024

I tried (on cu121) with my code and the canary test. Both worked perfectly. Thx, for the solution!

from djl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.