[Numpy-discussion] Re: Consider linking to Accelerate in Apple Silicon ARM64 wheels

2023-05-10 Thread Jerry Morrison
On Tue, May 9, 2023 at 12:13 PM Ralf Gommers wrote: > > > On Tue, May 9, 2023 at 5:11 AM Jerry Morrison < > jerry.morrison+nu...@gmail.com> wrote: > >> This sounds terrific. Is there a technique to get such a performance >> improvement with Accelerate? >> >> We tried: >> >> pip install numpy==1.2

[Numpy-discussion] Re: Consider linking to Accelerate in Apple Silicon ARM64 wheels

2023-05-09 Thread Ralf Gommers
On Tue, May 9, 2023 at 5:11 AM Jerry Morrison < jerry.morrison+nu...@gmail.com> wrote: > This sounds terrific. Is there a technique to get such a performance > improvement with Accelerate? > > We tried: > > pip install numpy==1.24.3 --no-binary numpy > > > with and without a ~/.numpy-site.cfg file

[Numpy-discussion] Re: Consider linking to Accelerate in Apple Silicon ARM64 wheels

2023-05-08 Thread Jerry Morrison
This sounds terrific. Is there a technique to get such a performance improvement with Accelerate? We tried: pip install numpy==1.24.3 --no-binary numpy with and without a ~/.numpy-site.cfg file that sets [accelerate] libraries = Accelerate, vecLib on Intel and M2 Macs on macOS 13.3. While np

[Numpy-discussion] Re: Consider linking to Accelerate in Apple Silicon ARM64 wheels

2023-03-23 Thread Ralf Gommers
On Thu, Mar 23, 2023 at 10:43 AM Clemens Brunner wrote: > Thanks Ralf, this sounds great! Just making sure I understand, this means > that for macOS 13, we have to enable Accelerate by building NumPy from > source. Indeed. Either that, or use a packaging system that's more capable in this regar

[Numpy-discussion] Re: Consider linking to Accelerate in Apple Silicon ARM64 wheels

2023-03-23 Thread Clemens Brunner
Thanks Ralf, this sounds great! Just making sure I understand, this means that for macOS 13, we have to enable Accelerate by building NumPy from source. Once macOS 13.3 is out, building SciPy from source will also link to Accelerate. Finally, Accelerate support will be enabled by default in bina

[Numpy-discussion] Re: Consider linking to Accelerate in Apple Silicon ARM64 wheels

2023-03-23 Thread Ralf Gommers
On Thu, Mar 23, 2023 at 1:55 AM Clemens Brunner wrote: > Hello! > > I recently got a new MacBook Pro with an M2 Pro CPU (ARM64). When I ran > some numerical computations (ICA to be precise), I was surprised how slow > it was - way slower than e.g. my almost 10 year old Intel Mac. It turns out > t