Zum Inhalt springen

ml-explore Release Notes

Einträge
63
Quellen
2
Zuletzt aktualisiert

Folge ml-explore, um die Release Notes in deinen Feed zu holen.

ml-explore-Produkte (2)

Mlx von ml-explore

MLX 0.24.0: Schnellere Aufmerksamkeit und CPU-Neugestaltung

MLX v0.24.0 bietet deutlich schnellere fused Attention mit kausaler Maskierung, eine Neugestaltung des CPU-Backends für schnellere Synchronisation und neue Funktionen.

Highlights

  • Much faster fused attention with support for causal masking
    • Benchmarks
    • Improvements in prompt processing speed and memory use, benchmarks
    • Much faster small batch fused attention for e.g. speculative decoding, benchmarks
  • Major redesign of CPU back-end for faster CPU-GPU synchronization

Core

Performance

  • Support fused masking in scaled_dot_product_attention
  • Support transposed head/seq for fused vector scaled_dot_product_attention
  • SDPA support for small batch (over sequence) queries
  • Enabling fused attention for head dim 128
  • Redesign CPU back-end for faster cpu/gpu synch

Features

  • Allow debugging in distributed mode
  • Support mx.fast.rms_norm without scale
  • Adds nuclear norm support in mx.linalg.norm
  • Add XOR on arrays
  • Added mlx::core::version()
  • Allow non-square lu in mx.linalg.lu
  • Double for lapack ops (eigh, svd, etc)
  • Add a prepare tb ring script
  • Ring docs
  • Affine quant always in fp32

Optimizers

  • Add a multi optimizer optimizers.MultiOptimizer

Bug Fixes

  • Do not define MLX_VERSION globally
  • Reduce binary size post fast synch
  • Fix vmap for flatten
  • Fix copy for large arrays with JIT
  • Fix grad with inplace updates
  • Use same accumulation precision in gemv as gemm
  • Fix slice data size …

Originalquelle(öffnet in neuem Tab)Problem melden