Hugging Face's PyTorch team details the MPS backend improvements in PyTorch 2.15, including FP8 tensor support, native grouped matmul for MoE models, and new Metal kernels replacing MPSGraph. Practitioners running local inference on Macs see large decode speedups and a dramatic fix to video VAE memory usage.
Mpsify is a Python package that patches PyTorch at import time to transparently redirect CUDA calls to Apple's Metal Performance Shaders (MPS). It solves the problem of editing CUDA scripts to run on Apple Silicon Macs, automatically remapping .cuda(), device='cuda', and map_location='cuda' to MPS equivalents. The tool is for ML practitioners who want to run training scripts or HuggingFace repos on M2 Macs without manual code changes.
Mpsify is a Python package that patches PyTorch at import time to transparently redirect CUDA calls to Apple's Metal Performance Shaders (MPS). It solves the problem of editing CUDA scripts to run on Apple Silicon Macs, automatically remapping .cuda(), device='cuda', and map_location='cuda' to MPS equivalents. The tool is for ML practitioners who want to run training scripts or HuggingFace repos on M2 Macs without manual code changes.
A Precisit engineer modified MLX's quantized matmul to stage dequantized operands to FP8 instead of FP16, unlocking Apple Silicon's 2x faster FP8 matrix path on M6. The same trick using int8 staging works on M5 and later. Gains apply to prefill only; an experimental fork and blog post document the work.
A Precisit engineer modified MLX's quantized matmul to stage dequantized operands to FP8 instead of FP16, unlocking Apple Silicon's 2x faster FP8 matrix path on M6. The same trick using int8 staging works on M5 and later. Gains apply to prefill only; an experimental fork and blog post document the work.
Hugging Face announced that transformers can now load and run llama.cpp GGUF quantized checkpoints directly via from_pretrained, reusing ggml's Metal kernels through the kernels library to approach llama.cpp performance. Initial support targets Apple Silicon Macs, starting with the Qwen3.5 architecture. This bridges llama.cpp's local inference foundation with transformers' PyTorch model-definition ecosystem, enabling experimentation, evaluation, fine-tuning, and conversion validation on GGUF checkpoints.
Hugging Face announced that transformers can now load and run llama.cpp GGUF quantized checkpoints directly via from_pretrained, reusing ggml's Metal kernels through the kernels library to approach llama.cpp performance. Initial support targets Apple Silicon Macs, starting with the Qwen3.5 architecture. This bridges llama.cpp's local inference foundation with transformers' PyTorch model-definition ecosystem, enabling experimentation, evaluation, fine-tuning, and conversion validation on GGUF checkpoints.
A developer released qMLX, a custom inference engine for Qwen 3.5 122B on Apple Silicon, extending MLX with hybrid attention support, SSD-backed KV cache, and RYS layer duplication. It enables efficient serving of the hybrid MoE model on consumer Mac hardware.
A developer released qMLX, a custom inference engine for Qwen 3.5 122B on Apple Silicon, extending MLX with hybrid attention support, SSD-backed KV cache, and RYS layer duplication. It enables efficient serving of the hybrid MoE model on consumer Mac hardware.
A developer ported Karpathy's llm.c to Mojo, adding hand-written Metal GPU kernels to train GPT-2 124M on Apple Silicon without PyTorch or CPython at train time. On an M4 Max, the Mojo implementation achieves 1.71x speedup over PyTorch MPS but remains slower than MLX, which is the fastest arm at 10077 tok/s.
A developer ported Karpathy's llm.c to Mojo, adding hand-written Metal GPU kernels to train GPT-2 124M on Apple Silicon without PyTorch or CPython at train time. On an M4 Max, the Mojo implementation achieves 1.71x speedup over PyTorch MPS but remains slower than MLX, which is the fastest arm at 10077 tok/s.