#openblas — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #openblas, aggregated by home.social.
-
Question for the #stats folks working with #mgcv and #gam / #bam:
I'm dealing with a dataset with a high temporal autocorrelation, so after a lengthy discussion with the author of `gratia` (my current PI), we concluded that I should move away from AR(1) models and rather work with #NCV.
No problems with the setup, but the run time is forever.
My first model has been running for 20h by now, with no indication of how long it will take.
I have already switched over to #OpenBLAS, but it seems weird that my CPU load is constantly at only 15-25%. The only indication that something is happening is that RAM usage is slowly but steadily increasing.
I'm dealing with ~40k data points across ~300 time series, and a NCV window of 7 data points, so nothing crazy. The model includes two- and three-way interactions, and random smooths, but all of those things are biologically relevant.I'd happily take any suggestions on how to speed things up, how to get proper CPU usage, or at least get an estimate of how far along the calculations are.
I might eventually need to switch over to #twlss, from the current `tw()`, and that will make things worse as that is not supported by `bam()`.
I'm currently on Windows, but I might be able to run things on an #HPC if needed, but not sure if I can easily fiddle with #BLAS there.
-
OpenBLAS/gemm отстаёт на RISC-V
В ходе недавних исследований мы выполнили комплексное тестирование производительности математической библиотеки OpenBLAS на платформе RISC‑V и выявили существенную разницу в скорости выполнения ключевой операции матричного умножения cblas_sgemm по сравнению с архитектурой x86 — производительность оказалась значительно ниже. cblas_sgemm — функция для умножения матриц, состоящих из 32-разрядных вещественных чисел. Хотелось бы обратить внимание на то, что функция матричного умножения gemm, соответствующая стандартам BLAS, используется во многих библиотеках и алгоритмах. А OpenBLAS — одна из самых популярных реализаций стандарта BLAS с оптимизацией под различные платформы. Так на x86_64 OpenBlas получает производительность примерно 80–90% от теоретического максимума процессора. А на Risc‑v примерно 20–25%. Также была рассмотрена самостоятельно реализованная функция перемножения матриц mini‑gemm по алгоритму описанному в статье . При этом наша реализация получает производительность 30–35% от максимума. Из чего встает два вопроса: почему на RISC‑V не получили 80%, как на x86_64 и как так вышло, что наша реализация обогнала OpenBLAS.
-
No fail, no gain: как мы исправили более миллиона тестов, проверяя оптимизацию библиотеки OpenBLAS под RISC-V
Открытая архитектура RISC-V активно развивается: в стандарт добавляются новые расширения и инструкции, разрабатываются новые ядра и SoC. Поскольку многие компании видят перспективы архитектуры и готовы использовать ее в продакшене, создается программный стек для высокопроизводительных вычислений — RISC-V HPC (High Performance Computing). Прогресс сопровождает формирование нового тренда — OpenHPC. Он заключается в технологической независимости от решений коммерческих компаний. Причем это относится не только к ПО, но и к железу. Чтобы концепция OpenHPC реализовывалась быстрее, нужно, чтобы к инициативе присоединилось как можно больше компаний, помогающих в развитии экосистемы решений для RISC-V HPC. Меня зовут Андрей Соколов, я инженер-программист в компании YADRO. В R&D-команде мы поставили перед собой задачу: изучить, как можно поддержать архитектуру RISC-V со стороны библиотек линейной алгебры BLAS и LAPACK. Тестирование одной из open source-библиотек привело нас к интересным открытиям, о которых я расскажу под катом. Результаты тестов
https://habr.com/ru/companies/yadro/articles/821715/
#openblas #blas #lapack #линейная_алгебра #библиотеки #оптимизация #riscv
-
Первый взгляд на производительность CPU реализации floating-point GEMM на языке Mojo
Сравниваем производительность реализаций floating-point GEMM из OpenBLAS, Eigen и MKl с реализацией на новом языке программирования Mojo.
-
At what point does setting more threads for OpenBLAS actually help?
For example, I have an SVD operation in #RStats on largish matrices (6000 rows and 6000 columns; doing an inverse), where default BLAS on Ubuntu is ~ 20 min.
OpenBLAS with 1 or 4 threads takes ~ 2 min (10X speedup!). With 4 threads, I can see the additional usage of cores, but overall time is the same as 1 thread.
Is there some magic size where using more threads for SVD will actually help?
-
Sovereign Tech Fund - Supporting #OpenBLAS Maintenance and Improvements
https://sovereigntechfund.de/en/projects/wartung-und-verbesserung-von-openblas/
-
We're excited to announce our investment in #OpenBLAS, the highly optimized library for linear algebra calculations used in Python, R, and Julia. Our support will focus on sustainable improvements to the development, integration, and testing of the library, as well as providing additional support to the maintainers of OpenBLAS and of SciPy as a key dependent project.
Learn more here: https://sovereigntechfund.de/en/projects/wartung-und-verbesserung-von-openblas/
-
#OpenBLAS 0.3.22 Introduces EmScripten #JavaScript, Fixes @AMDRyzen @AMDServer Zen 4 Handling
https://www.phoronix.com/news/OpenBLAS-0.3.22-Released
Original tweet : https://twitter.com/phoronix/status/1640654443631857665
-
Actually it is the #OpenBLAS package that should provide LAPACK support. For some reason this is not included. And this package takes forever to build.
-
Time for an #introduction!
I'm a young Canuck with interests/experience in #HPC, #Linux, #BLAS, #SYCL, #C, #AVX512, #Rust, heterogeneous compute & other such things.Currently my personal projects are bringing #FP16 to the #OpenBLAS library, working to standardize what Complex domain BLAS FP16 kernels/implementations should look like, and making sure #SYCL is available everywhere.
I also write every now and again. Here's the tail of AVX512 FP16 on Alderlake
https://gist.github.com/FCLC/56e4b3f4a4d98cfd274d1430fabb9458 -
It seems that Chris Zimmerman is unstoppable.
Now he started porting @[email protected]'s draw2d to #CrystalLang:https://github.com/crystal-data/draw.cr
Wow, Chris Zimmerman from Knowledge Based Systems (#KBSI) created some alternatives for #numpy / scientific computing libraries in @[email protected]:
https://github.com/crystal-data/
i.e. bindings for @[email protected] / @[email protected] & calculations with #OpenBLAS or #LAPACK.
🐦🔗: https://twitter.com/alexanderadam__/status/1232247965336645632
-
Sources for using OpenBlas multi-threading numerical libraries in CRAN R:
[1] https://csantill.github.io/RPerformanceWBLAS/ (including Benchmarks and HowTo for Linux)
[2] http://brettklamer.com/diversions/statistical/faster-blas-in-r/
[3] https://www.r-bloggers.com/why-is-r-slow-some-explanations-and-mklopenblas-setup-to-try-to-fix-this/
[4] https://github.com/xianyi/OpenBLAS (binary packages for Windows)
#rstats #cran #multicore #multithreading #parallelization #linux #windows #OpenBlas #BLAS #LAPACK