Git Product home page Git Product logo

Comments (7)

xwaeaewcrhomesysplug avatar xwaeaewcrhomesysplug commented on June 12, 2024 1

okok,it is fine.I could also become a tester for your binaries in the future too.^^

from jblas.

mikiobraun avatar mikiobraun commented on June 12, 2024

Hi,

which operating system was this on?

from jblas.

xwaeaewcrhomesysplug avatar xwaeaewcrhomesysplug commented on June 12, 2024

windows_intel64bit
OS Name: Microsoft Windows 10 Home Single Language
OS Version: 10.0.19041 N/A Build 19041

from jblas.

mikiobraun avatar mikiobraun commented on June 12, 2024

Ah, I see. Yeah, I Windows binaries are unfortunately linked against non-optimized LAPACK and BLAS libraries.

This is mentioned (a bit cryptically) here: https://github.com/jblas-project/jblas/wiki/Supported-Platforms

The problem is that ATLAS (the native BLAS library) has a very complex build process that I could never get to run on Windows. However, I recently started using OpenBLAS, once I find time to run that, performance on Windows should improve a lot. Sorry about that.

from jblas.

xwaeaewcrhomesysplug avatar xwaeaewcrhomesysplug commented on June 12, 2024

BTW,don't worry about it too much since generally it is just around 10 percent slower than pure java ojalgo.

Like>
552035845299
testfinished,with Primitive32Matrix .ojalgo(no try catch)
start test
-- org.jblas INFO Starting temp DLL cleanup task.
-- org.jblas INFO Deleted 4 unused temp DLL libraries from C:\Users\sumur\AppData\Local\Temp
600934105500

or>
start test
-- org.jblas INFO Starting temp DLL cleanup task.
600251319500
testfinished,with matrix .jblas(no try catch)
start test
537240456800
testfinished,with Primitive32Matrix .ojalgo(no try catch)

both of these does not seem too bad,compare to jblas vs apache common.. or naive java2d array..

from jblas.

xwaeaewcrhomesysplug avatar xwaeaewcrhomesysplug commented on June 12, 2024

One of the possibilities is that it take quite some time to also clean temp dll
Maybe we can manually trigger it before the calc.As like a setup process.
Which is honestly quite acceptable when given some documentation and guide.
Compare to boilerplate code for some frameworks...

from jblas.

mikiobraun avatar mikiobraun commented on June 12, 2024

Yeah, the non-ATLAS code for the low level matrix operations is just very slow, not really optimized in terms of assembly instructions or memory access pattern.

Thanks for the offer for testing, I'll reply to this thread when there is some progress made.

from jblas.

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.