QUERY: Reduced performance in certain architecture only to-be-regained by `OPENBLAS_NUM_THREADS=1`
維護者通常 1 天內回覆
@rgommers 已經在處理了。
開始於 2025年7月16日。
評估
這個 Issue 還沒有評估資料。
描述
Hello,
This is probably not a real issue for OpenBLAS but basically a request for information. Over SciPy, we have been receiving sporadic reports that, otherwise identical C translations of the old Fortran77 code was running substantially slower when thread number is not limited to 1.
https://github.com/scipy/scipy/issues/22438
https://github.com/scipy/scipy/issues/23161
https://github.com/scipy/scipy/issues/23191
The code in question is here (not sure it matters but for reference)
https://github.com/scipy/scipy/blob/main/scipy/optimize/__lbfgsb.c
and the only BLAS/LAPACK calls made in this code are
DAXPY
DSCAL
DCOPY
DNRM2
DDOT
DPOTRF
DTRTRS
I am trying to understand which call might be being affected since I don't quite understand why OPENBLAS_NUM_THREADS=1 recovers the performance. If this is needed at all times, probably we should, on the SciPy side, include some sort of a guard since users won't even know this setting is needed for comparable performance. And since we are using these functions in other parts of SciPy it would be nice to know when we are entering into such behavior.
- 主要語言
- C
- 星號
- 7.7k
- 分支
- 1.7k
- 平均合併
- 1 天 8 小時
- 30 天內合併 PR
- 60
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
OpenMathLib/OpenBLAS 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
OpenMathLib/OpenBLAS#6192 ·
維護者通常 1 天內回覆
-
New release未關閉
難度 4/5 3-5 天 新手友好度 12/100
OpenMathLib/OpenBLAS#6189 · 10 則留言 ·
維護者通常 1 天內回覆
-
Bug in other software
難度 4/5 3-5 天 新手友好度 18/100
OpenMathLib/OpenBLAS#6173 ·
維護者通常 1 天內回覆
-
難度 5/5 一週以上 新手友好度 25/100
OpenMathLib/OpenBLAS#6152 ·
維護者通常 1 天內回覆
-
VORTEXM4: complex GEMM and complex level-3 are not on SME2可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉
難度 5/5 一週以上 新手友好度 28/100
OpenMathLib/OpenBLAS#6151 · 2 則留言 ·
維護者通常 1 天內回覆
查看 OpenMathLib/OpenBLAS 的全部 Issue
相似的 Issue
-
vim.filetype.match() prefixes a URL buffer name with the cwd before passing it to filetype functions未關閉
難度 2/5 1-3 小時 新手友好度 73/100
維護者通常 1 天內回覆
-
stream_curl: retry_count never resets after a successful reconnect, so long sequential streams die after 5 drops可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉
難度 2/5 1-3 小時 新手友好度 70/100
mpv-player/mpv#18728 ·
維護者通常 1 天內回覆
-
followup Prio 📌
難度 2/5 1-3 小時 新手友好度 66/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
cyrusimap/cyrus-imapd#6640 ·
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 60/100
維護者通常 1 天內回覆