Skip to content

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

Hardware Remove topic Hardware Clear all 65 posts RSS

2026

Hugging Face

180B Parameters, 32GB of RAM: Pushing MoE Inference to the Limit with Transformers

Case study 11 min +110 XP

Streaming MoE experts from SSD through a bounded device-side slot pool lets Transformers run Qwen3.8-Flash-Next (121 GB of experts) on a 32 GB MacBook M5 at ~13.9 tok/s, within 6% of the specialized Strata engine on decode and slightly faster on prefill.

Hugging Face

Bringing Robotics AI to Embedded Platforms: Dataset Recording, VLA Fine‑Tuning, and On‑Device Optimizations

Case study 9 min +90 XP

Running Vision–Language–Action policies on an embedded SoC is framed as a systems problem: decompose the model into stages, quantize selectively, and use asynchronous inference so latency stays below action-chunk execution time.

Hugging Face

Custom Kernels for All from Codex and Claude

How-to 9 min +90 XP

Hugging Face packaged CUDA kernel expertise (GPU architecture guides for H100/A100/T4, diffusers and transformers integration patterns, vectorized kernel templates, benchmark scripts) into an agent skill that lets Claude and Codex generate complete kernel-builder projects with PyTorch bindings.

2025

Hugging Face

From Zero to GPU: A Guide to Building and Scaling Production-Ready CUDA Kernels

How-to 16 min +160 XP

Hugging Face's kernel-builder lets developers write a custom CUDA kernel, register it as a native PyTorch operator, build it reproducibly with Nix for every supported PyTorch/CUDA combination, and publish it to the Hub for loading via `get_kernel`.

2024

Hugging Face

Visualize and understand GPU memory in PyTorch

How-to 10 min +100 XP

PyTorch's memory snapshot recorder (torch.cuda.memory._record_memory_history plus the memory_viz web tool) makes it possible to see exactly where GPU memory goes during training: persistent parameters, activations that grow in the forward pass and shrink in backward, gradients, optimizer state and transient optimizer intermediates.

Hugging Face

Benchmarking Language Model Performance on 5th Gen Xeon at GCP

Research 6 min +60 XP

On Google Cloud, C4 instances (5th Gen Xeon Emerald Rapids with AMX) deliver 10x–24x higher throughput than N2 instances (3rd Gen Ice Lake, AVX-512 only) for text embedding with UAE-Large-V1, and 2.3x–3.6x higher throughput for Llama 3.2 3B text generation.

Hugging Face

CPU Optimized Embeddings with 🤗 Optimum Intel and fastRAG

How-to 11 min +110 XP

Post-training static int8 quantization of BGE embedding models (small, base, large) with Optimum Intel, Intel Neural Compressor and IPEX gives up to 4.5x lower latency and up to 4x higher throughput on 4th-gen Xeon CPUs compared with a bf16 PyTorch baseline.

2023

Hugging Face

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

Announcement 7 min +70 XP

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.

Hugging Face

Training a language model with 🤗 Transformers using TensorFlow and TPUs

How-to 8 min +80 XP

Training a RoBERTa-base masked language model from scratch on WikiText with TensorFlow on TPUs, end to end: training a Unigram tokenizer with 🤗 tokenizers, tokenizing and chunking text into fixed 128-token sequences, sharding into TFRecords stored in Google Cloud Storage, and training under TPUStrategy with XLA-compatible Transformers models.

Hugging Face

Accelerating Hugging Face Transformers with AWS Inferentia2

Announcement 5 min +50 XP

Hugging Face benchmarked popular Transformer models on AWS Inferentia2 (inf2.xlarge) against Inferentia1 (inf1.2xlarge) and an NVIDIA A10G GPU (g5.2xlarge), running 144 p95-latency experiments at batch size 1 across six architectures and sequence lengths from 8 to 512.

The quest for software engineering knowledge.

Look:
Layout: