- Architecture
- SIMD
- POWER8/9
- POWER8/9
- x86_64
- x86_64
- ARM64
- ARM64
Specs
- ArchitectureSIMD
- POWER8/9POWER8/9
- x86_64x86_64
- ARM64ARM64
README
MLX Linux Port - POWER8 & x86 SIMD
Port of Apple's MLX to Linux with native SIMD optimizations.
Architectures Supported
| 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) |
Files
simd/vsx_simd.h- POWER8 VSX vectorizationsimd/avx_simd.h- x86 AVX vectorizationsimd/type_linux.h- Architecture detectionBUILD_POWER8.md- Build instructions
Usage
Copy simd/ contents to mlx/backend/cpu/simd/ in your MLX source tree.
Why?
MLX networking uses standard TCP sockets - already portable!
Only the SIMD backend needed porting for each architecture.
Credits
- Apple MLX team (original framework)
- Elyan Labs (POWER8/x86 Linux port)