Port of Apple's MLX to Linux with native SIMD optimizations.
| Architecture | SIMD | Vector Width |
|---|---|---|
| POWER8/9 | VSX | 128-bit (4 float, 2 double) |
| x86_64 | AVX | 256-bit (8 float, 4 double) |
| ARM64 | NEON | (use upstream) |
simd/vsx_simd.h- POWER8 VSX vectorizationsimd/avx_simd.h- x86 AVX vectorizationsimd/type_linux.h- Architecture detectionBUILD_POWER8.md- Build instructions
Copy simd/ contents to mlx/backend/cpu/simd/ in your MLX source tree.
MLX networking uses standard TCP sockets - already portable! Only the SIMD backend needed porting for each architecture.
- Apple MLX team (original framework)
- Elyan Labs (POWER8/x86 Linux port)