Skip to content

Commit 58e646a

Browse files
authored
Merge pull request #2575 from isuruf/new_accelerate
Add new accelerate
2 parents 58f71dd + a51fcfb commit 58e646a

File tree

2 files changed

+29
-5
lines changed

2 files changed

+29
-5
lines changed

docs/maintainer/knowledge_base.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1295,23 +1295,30 @@ requirements:
12951295
You can switch your BLAS implementation by doing,
12961296

12971297
```bash
1298-
conda install "libblas=*=*mkl"
1299-
conda install "libblas=*=*openblas"
1300-
conda install "libblas=*=*blis"
1301-
conda install "libblas=*=*accelerate"
1302-
conda install "libblas=*=*netlib"
1298+
conda install "libblas=*=*_mkl"
1299+
conda install "libblas=*=*_openblas"
1300+
conda install "libblas=*=*_blis"
1301+
conda install "libblas=*=*_accelerate"
1302+
conda install "libblas=*=*_newaccelerate"
1303+
conda install "libblas=*=*_netlib"
13031304
```
13041305

13051306
This would change the BLAS implementation without changing the conda packages depending
13061307
on BLAS.
13071308

1309+
:::note
1310+
1311+
For macOS 13.3+, you can use `newaccelerate` to use the new BLAS/LAPACK
1312+
support in Accelerate.
1313+
13081314
The following legacy commands are also supported as well.
13091315

13101316
```bash
13111317
conda install "blas=*=mkl"
13121318
conda install "blas=*=openblas"
13131319
conda install "blas=*=blis"
13141320
conda install "blas=*=accelerate"
1321+
conda install "blas=*=newaccelerate"
13151322
conda install "blas=*=netlib"
13161323
```
13171324

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# New Accelerate support for macOS 13.3+
2+
3+
conda-forge by default uses `OpenBLAS` as its BLAS and LAPACK
4+
provider on macOS as it was updated regularly and is the least
5+
buggiest performant BLAS/LAPACK implementation.
6+
7+
macOS 13.3 updated the Accelerate framework after a long time with
8+
improved support for LAPACK APIs and has fixes for long-time known
9+
bugs in the older Accelerate's BLAS and LAPACK APIs.
10+
conda-forge has added support for this
11+
new Accelerate framework by using a shim library to expose its
12+
functionality to most conda-forge packages including `numpy`,
13+
`scipy` and `pytorch`.
14+
15+
You can use it by doing
16+
17+
conda install libblas=*=*_newaccelerate

0 commit comments

Comments
 (0)