pytorch-apple-silicon-benchmarks VS neural-engine

Compare pytorch-apple-silicon-benchmarks vs neural-engine and see what are their differences.

pytorch-apple-silicon-benchmarks

Performance of PyTorch on Apple Silicon (by lucadiliello)

neural-engine

Everything we actually know about the Apple Neural Engine (ANE) (by hollance)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
pytorch-apple-silicon-benchmarks neural-engine
1 22
36 1,928
- -
3.7 5.5
6 months ago 23 days ago
Jupyter Notebook
GNU General Public License v3.0 only MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

pytorch-apple-silicon-benchmarks

Posts with mentions or reviews of pytorch-apple-silicon-benchmarks. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-18.

neural-engine

Posts with mentions or reviews of neural-engine. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-12.
  • GPUs Go Brrr
    7 projects | news.ycombinator.com | 12 May 2024
    > Then we'll see somewhat simpler, less general, and cheaper devices that do "AI" operations with as little excess hardware baggage as possible. Nice.

    Apple has already been doing this for a few years now. The NPU is totally different from the GPU or CPU on the die itself[1]. Nvidia is likely working on this as well, but I think a device that's a gaming/entertainment/crypto bundle is probably a better business move.

    [1] https://github.com/hollance/neural-engine/blob/master/docs/a...

  • Apple Introduces M4 Chip
    7 projects | news.ycombinator.com | 7 May 2024
    ~38 TOPS at fp16 is amazing, if the quoted number if fp16 (ANE is fp16 according to this [1] but that honestly seems like a bad choice when people are going smaller and smaller even at the higher level datacenter cards so not sure why apple would use it instead of fp8 natively)

    [1]: https://github.com/hollance/neural-engine/blob/master/docs/1...

  • Optimize sgemm on RISC-V platform
    6 projects | news.ycombinator.com | 28 Feb 2024
    yep. they have a neural engine that is separate from the CPU and GPU that does really fast matmuls https://github.com/hollance/neural-engine. it's basically completely undocumented.
  • Apple is adding more and more neural engine cores to their products, is there any way to use them for local LLMs?
    2 projects | /r/LocalLLaMA | 7 Jun 2023
    Looks like the ANE ("Apple Neural Engine") cores are powerful but not as flexible/programmable as the GPU cores. There is no sign that LLM inference is possible with them or ever will be unless Apple either opens up the closed ANE software framework for extensibility or they extend the ANE framework to support modern LLMs themselves. I would not hold my breath.
  • Anthropic’s $5B, 4-year plan to take on OpenAI
    6 projects | news.ycombinator.com | 11 Apr 2023
    If Apple would wake up to what's happening with llama.cpp etc then I don't see such a big role for paying for remote access to big models via API

    Currently a Macbook has a Neural Engine that is sitting idle 99% of the time and only suitable for running limited models (poorly documented, opaque rules about what ops can be accelerated, a black box compiler [1] and an apparent 3GB model size limit [2])

    OTOH you can buy a Macbook with 64GB 'unified' memory and a Neural Engine today

    If you squint a bit and look into the near future it's not so hard to imagine a future Mx chip with a more capable Neural Engine and yet more RAM, and able to run the largest GPT3 class models locally. (Ideally with better developer tools so other compilers can target the NE)

    And then imagine it does that while leaving the CPU+GPU mostly free to run apps/games ... the whole experience of using a computer could change radically in that case.

    I find it hard not to think this is coming within 5 years (although equally, I can imagine this is not on Apple's roadmap at all currently)

    [1] https://github.com/hollance/neural-engine

  • Everything we actually know about the Apple Neural Engine (ANE)
    1 project | /r/apple | 26 Mar 2023
    1 project | /r/programming | 25 Mar 2023
  • What we know about the Apple Neural Engine
    1 project | /r/patient_hackernews | 25 Mar 2023
    1 project | /r/hackernews | 25 Mar 2023
  • Everything we know about the Apple Neural Engine (ANE)
    1 project | /r/hypeurls | 25 Mar 2023

What are some alternatives?

When comparing pytorch-apple-silicon-benchmarks and neural-engine you can also consider the following projects:

pytorch-apple-silicon-benchm

Dual-Edge-TPU-Adapter - Dual Edge TPU Adapter to use it on a system with single PCIe port on m.2 A/B/E/M slot

Pytorch - Tensors and Dynamic neural networks in Python with strong GPU acceleration

pyllms - Minimal Python library to connect to LLMs (OpenAI, Anthropic, AI21, Cohere, Aleph Alpha, HuggingfaceHub, Google PaLM2, with a built-in model performance benchmark.

tensorexperiments - Boilerplate for GPU-Accelerated TensorFlow and PyTorch code on M1 Macbook

ANECompat - A tool which checks compatibility of CoreML model with Apple Neural Engine

cnn-benchmarks - Benchmarks for popular CNN models

more-ane-transformers - Run transformers (incl. LLMs) on the Apple Neural Engine.

pwnagetool-mod-2.2.5 - A modded version of the iPhone Dev Team's PwnageTool v2.2.5 with support for iPhone OS 2.0 and an updated Cydia bundle.

m1n1 - A bootloader and experimentation playground for Apple Silicon

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured