Comments (5)
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.
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.
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.
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.
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)
- Strided GEMM Failing HOT 2
- TagBot trigger issue HOT 4
- Update to use libblastrampoline HOT 21
- Move repo to JuliaLinearAlgebra org? HOT 4
- Unexpected "No Transpose" behaviour HOT 2
- v0.3.0 To-do List HOT 2
- Update to Version 0.8.1 HOT 1
- Crash when benchmarking `BLIS.BLASInterface.axpy!` HOT 2
- Crash on multiplying large dense matrices HOT 8
- Installing BLIS.jl yields an older version HOT 1
- Evict BLIS Backends to Another Package
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 blis.jl.