GithubHelp home page GithubHelp logo

Comments (5)

jd-foster avatar jd-foster commented on June 11, 2024

Actually the above is too much too complicated. It's a basic failure when calling gemm!:

using LinearAlgebra
using BLIS
T = Float32
χlarge = 500
BLAS.gemm!('N', 'N', T(1.1), rand(T, χlarge, χlarge), rand(T, χlarge, χlarge), T(1.1),  rand(T, χlarge, χlarge))

from blis.jl.

jd-foster avatar jd-foster commented on June 11, 2024

Seems to be an issue with blis_jll and the library interaction since the same happens using just libblastrampoline:

using LinearAlgebra
using blis_jll

BLAS.lbt_forward(blis_jll.blis_path)

A = rand(1000,1000); B = rand(1000,1000);
A * B

crashes as well.

from blis.jl.

jd-foster avatar jd-foster commented on June 11, 2024

Ok, I've verified that this is the same issue as JuliaLang/julia#48187
with the regression introduced in Julia 1.8.4

See also: https://discourse.julialang.org/t/issue-with-xgboost-jl-and-libsvm-jl-when-julia-1-8-4/92396/19

from blis.jl.

jd-foster avatar jd-foster commented on June 11, 2024

If this has anything to do with an incompatibility between GCC 12 and OpenMP (actually beyond my ability to figure out at this point), it may be worth compiling target *"x86_64"*"w64"* with -t single, that is setting BLI_THREAD=single (here: https://github.com/JuliaPackaging/Yggdrasil/blob/b7c92f501764d994e3c3accafeef14da37ea91f0/B/blis/build_tarballs.jl#L40)

cf. the blis configure docs for the description.

An interesting and very recent commit is the new feature Optionally disable thread-local storage

from blis.jl.

jd-foster avatar jd-foster commented on June 11, 2024

This is now solved on the nightly thanks to @giordano merging JuliaLang/julia#50135
and will likely be back-ported to julia 1.9 soon.

from blis.jl.

Related Issues (12)

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.