Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Hugging Face 4 min read Announcement easyNovice

Arm & ExecuTorch 0.7: Bringing Generative AI to the masses

ExecuTorch 0.7 beta enables Arm KleidiAI by default through XNNPack, bringing optimized Int4 matrix multiplication to Arm CPUs with no code changes. New kernels use the Armv8.2 SDOT instruction, which computes four int32 dot products from groups of int8 elements and is present in roughly 72% of devices. That lets quantized Llama 3.2 1B run on older Android phones and the Raspberry Pi 5, not just flagships with I8MM. On a Galaxy S24+, the earlier I8MM-based kernels reached over 350 tokens/s prefill and 40 tokens/s decode, about 20% faster prefill than non-KleidiAI kernels.

Related posts

  • Key research and product announcements at the AI Native Conf

    Together AI hardMaster

    Together AI announced seven research and product releases spanning GPU kernels, reinforcement learning infrastructure and inference optimization. FlashAttention-4 targets NVIDIA Blackwell and is reported 2.7x faster than Triton and 1.3x faster than cuDNN 9.13. A single-kernel Megakernel cut a voice agent's time-to-first-64-tokens from 281ms to 77ms, and together.compile beats torch.compile by 41% on a Flux Kontext benchmark. ThunderAgent schedules whole agentic workflows to avoid KV cache thrashing and leaked tool sandboxes, ATLAS-2 retrains speculative decoders online from live traffic, and cache-aware prefill-decode disaggregation sends warm and cold requests to separate tiers over an RDMA KV cache for 35-40% higher QPS.

  • Accelerate StarCoder with 🤗 Optimum Intel on Xeon: Q8/Q4 and Speculative Decoding

    Hugging Face hardMaster

    Combining INT8 SmoothQuant quantization with assisted generation (speculative decoding) speeds up StarCoder-15B inference on 4th Gen Intel Xeon by about 7.3x in time per output token, with no loss on HumanEval pass@1. INT8 static quantization gives roughly 2.2x on both time to first token and per-token latency. Groupwise 4-bit weight-only RTN gives 3.35x on per-token latency but slows the first token to 0.84x, because dequantization adds compute where the prefill phase is compute-bound while decoding is memory-bandwidth-bound. For assisted generation, an INT8 164M-parameter draft model that fits in CPU cache plus an INT8 target model works better than 4-bit, since verifying K tokens in parallel shifts the bottleneck back to compute. The resulting models load through optimum-intel's IPEXModelForCausalLM.

  • Hugging Face on AMD Instinct MI300 GPU

    Hugging Face easyNovice

    Hugging Face's transformers and text-generation-inference (TGI) now run on AMD Instinct MI300X GPUs with no code changes, backed by a Kubernetes-scheduled CI pipeline that runs tens of thousands of unit tests on MI250 and MI300 hardware. TGI optimizations for MI300 include Flash Attention v2, Paged Attention, GPTQ/AWQ kernels, fused kernels, and PyTorch's ROCm TunableOp. TunableOp tunes GEMMs during server warmup and gives an 8-10% decode latency gain on small inputs. On Llama 3 70B, MI300X on Azure delivers 2-3x faster time to first token and 2x faster decoding than MI250, and roughly 2x faster LoRA fine-tuning. Its 192 GB HBM3 also fits the full ~140 GB fp16 model on a single GPU.

  • A Gentle Introduction to 8-bit Matrix Multiplication for transformers at scale using transformers, accelerate and bitsandbytes

    Hugging Face mediumAdept

    LLM.int8() makes 8-bit inference of 175B-class transformers possible with no measurable quality loss. It handles the systematic outlier features that emerge beyond about 6B parameters through mixed-precision decomposition: hidden-state columns with values of magnitude 6 or more are multiplied in FP16, and everything else goes through vector-wise int8 quantization before being dequantized and summed. The method is built on FP32/FP16/BF16 trade-offs and absmax and zero-point quantization, and it halves memory relative to half precision. On OPT-175B and BLOOM-176B, lm-eval-harness benchmarks stay within standard error. It is integrated into Hugging Face transformers via bitsandbytes and Accelerate.

  • AMD + 🤗: Large Language Models Out-of-the-Box Acceleration with AMD GPU

    Hugging Face easyNovice

    Hugging Face Transformers now runs all models and tasks on AMD Instinct GPUs with no code changes versus NVIDIA, backed by ROCm support for Flash Attention v2, vLLM Paged Attention, DeepSpeed, GPTQ via AutoGPTQ, ONNX Runtime's ROCMExecutionProvider, and Optimum-Benchmark. Text Generation Inference gains initial MI210/MI250 support through a ROCm Docker image, with GeMM kernel tuning to reach performance parity. Benchmarks show one MI250 (two 64 GB ROCm devices) delivering over 2.33x the decode throughput and half the prefill latency of an A100 at large batch sizes. Its 128 GB memory also fits Llama 70B workloads that run out of memory on two A100-80GBs.

The quest for software engineering knowledge.

Look:
Layout: