Hacker GitHub

← All repos

corsix/amx

View on GitHub ↗ ★ 1,279 C

Apple AMX Instruction Set

17 mentions on Hacker News by 16 people: 4 stories, 13 comments · first 2022-09-02 · latest 2024-11-12

Mentions per year 17 mentions · busiest year 2022 (7)
20082026
  1. https://github.com/corsix/amx indicates that Apple's AMX supports up to 64-bit FP, but I don't see any performance metrics. They also have the ANE, which is the low-precision ML-focused accelerator.
  2. Peter Cawley has a good write-up on the undocumented M1/M2/M3 AMX instructions: https://github.com/corsix/amx
  3. …engineering work may need to be done again. Examples: https://github.com/name99-org/AArch64-Explore https://github.com/corsix/amx
  4. …any official public documentation on it, but here’s a GitHub repo that documents it independently https://github.com/corsix/amx
  5. …instruction set for it AMX. I believe that that one can be leveraged for faster LLM inferencing. https://github.com/corsix/amx
    comment by hmottestad · 2024-05-07 · in Apple introduces M4 chip
  6. …about the matrix/vector coprocessor (AMX). You can find some reverse-engineered documentation here: https://github.com/corsix/amx On M3 a singe matrix block can achieve ~ 1TFLOP on DGEMM, I assume it will be closer to 4TFLOPS for SGEMM.…
    comment by ribit · 2024-03-01 · in Optimize sgemm on RISC-V platform
  7. …Virtually no benchmarks are available comparing current chip generations, models and variants. https://github.com/corsix/amx https://github.com/philipturner/amx-benchmarks Curious to see how Intel's AMX stacks up to Apple's AMX in real…
    comment by ysleepy · 2024-01-20 · in Intel AMX
  8. Visible in the unofficial documentation for AMX instructions too - M2 only bf16 functionality - https://github.com/corsix/amx/blob/main/matfp.md This matfp instruction computes an outer product and is a kernel for matrix multiplication.
  9. Confusingly there are 2 mechanisms to do matrix operations on the new apple hardware - AMX ( https://github.com/corsix/amx ) - and the ANE (apple neural engine) - which is enabled by CoreML. This code does not run on the neural engine but…
  10. really? seems pretty well documented here: https://github.com/corsix/amx
  11. …the AMX is more tightly wound with the CPU, ultimately being accessible via an instruction set ( https://github.com/corsix/amx ), and it is useful if you need to do matrix multiplications interleaved with other CPU tasks. A common example…
  12. ▲ 4
    Ask HN: Are there any undocumented ISA extensions used in Linux systems?
    story by ladyanita22 · 2022-10-19 · 4 comments
  13. Which compiler would be required for this ( https://github.com/corsix/amx/blob/main/aarch64.h )? I understand the limitation is not at the OS side, as nothing can be done there, but at the compiler-side (I mean that the Apple-supplied…
  14. ▲ 210
    Apple AMX instruction set (M1/M2 matrix coprocessor)
    story by rostayob · 2022-09-05 · 188 comments
  15. Interesting but the repo homepage itself is probably a more helpful starting point. https://github.com/corsix/amx
    comment by klelatti · 2022-09-03 · in Apple AMX Instructions
  16. ▲ 6
    Apple AMX Instructions
    story by thinxer · 2022-09-03 · 1 comment
  17. ▲ 6
    Apple AMX Instruction Set
    story by corsix · 2022-09-02 · 0 comments