---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?source=hugging-face&tag=hardware"
---

# Posts

Filtered by topics: Hardware, source: Hugging Face.

Posts 1–24 of 65, page 1 of 3, newest first.

## 2026-11-27

- [Taking Trainium3 to the Track: Generating Videos with LTX-2.5](https://swe.quest/articles/taking-trainium3-to-the-track-generating-videos-with-ltx-2-5-b0838d9918a36e17.md): Hugging Face · 2026-11-27 · Hard · 14 min read · Inference & serving, Performance engineering, Hardware, Video & media, Python
  LTX-2.5 video-with-audio generation was ported to AWS Trainium3 via diffusers, cutting a 10-second clip from 5 min 20 s at 960×544 to 22–23 s at 2048×1024 on 32 of 64 NeuronCores, roughly matching LTX's paid API.

## 2026-11-18

- [180B Parameters, 32GB of RAM: Pushing MoE Inference to the Limit with Transformers](https://swe.quest/articles/180b-parameters-32gb-of-ram-pushing-moe-inference-to-the-limit-with-transformers-63cd3cf21432f7c3.md): Hugging Face · 2026-11-18 · Hard · 11 min read · Inference & serving, LLMs, Performance engineering, Caching, Hardware
  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.

## 2026-10-23

- [Does Your Model Run on AWS Trainium? Look It Up](https://swe.quest/articles/does-your-model-run-on-aws-trainium-look-it-up-4ce5c68bb56caf0e.md): Hugging Face · 2026-10-23 · Medium · 3 min read · Inference & serving, Hardware, Machine learning
  A Hugging Face Space reports whether popular Transformers models run unmodified on AWS Trainium via the TorchNeuron PyTorch backend.

## 2026-10-21

- [Profiling TorchNeuron (Part 1): System-level profiling on AWS Trainium.](https://swe.quest/articles/profiling-torchneuron-part-1-system-level-profiling-on-aws-trainium-034696b775aee014.md): Hugging Face · 2026-10-21 · Medium · 9 min read · Performance engineering, Inference & serving, Hardware, Python
  A beginner-friendly walkthrough of system-level profiling for PyTorch on AWS Trainium using TorchNeuron.

## 2026-10-20

- [MPS in PyTorch 2.15](https://swe.quest/articles/mps-in-pytorch-2-15-b68893e8d3c0039f.md): Hugging Face · 2026-10-20 · Medium · 11 min read · Inference & serving, Performance engineering, Python, Hardware
  PyTorch 2.15 adds FP8 (float8\_e4m3fn) tensors and scaled\_mm on Apple's MPS backend and replaces many MPSGraph paths with dedicated Metal kernels.
- [Hugging Face ❤️ TorchTPU: TPUs, Natively](https://swe.quest/articles/hugging-face-torchtpu-tpus-natively-25e58a9bb63cbf24.md): Hugging Face · 2026-10-20 · Medium · 6 min read · Inference & serving, Hardware, Python, Machine learning
  TorchTPU is a native PyTorch backend that makes TPU an ordinary device, replacing the lazy-tensor torch\_xla path and making Optimum TPU unnecessary for running Hugging Face models.

## 2026-10-19

- [TorchNeuron: running HF models on AWS Trainium is easier than ever](https://swe.quest/articles/torchneuron-running-hf-models-on-aws-trainium-is-easier-than-ever-99ae731bb5ca0252.md): Hugging Face · 2026-10-19 · Medium · 7 min read · Hardware, Model training, Inference & serving, Python
  TorchNeuron is a PyTorch plugin that exposes AWS Trainium as a native \`neuron\` device with eager execution, \`torch.compile\`, and native distributed APIs (DTensor, FSDP2, TP), replacing the PyTorch XLA–based path that required lazy tensors and static graphs.

## 2026-07-23

- [Bringing Nunchaku 4-bit Diffusion Inference to Diffusers](https://swe.quest/articles/bringing-nunchaku-4-bit-diffusion-inference-to-diffusers-c0f307e158fa29ca.md): Hugging Face · 2026-07-23 · Hard · 11 min read · Inference & serving, Performance engineering, Python, Hardware
  Diffusers can now load SVDQuant/Nunchaku 4-bit (W4A4) diffusion checkpoints natively via from\_pretrained(), with CUDA kernels fetched from the Hub through the kernels package instead of compiled locally.

## 2026-07-21

- [Grabette: an open system to record robot-manipulation data](https://swe.quest/articles/grabette-an-open-system-to-record-robot-manipulation-data-75f2bd258be49c58.md): Hugging Face · 2026-07-21 · Easy · 6 min read · Machine learning, Open source, Hardware, Model training
  Grabette is an open-source, low-cost (~490€ BOM) handheld gripper for recording robot-manipulation demonstrations without a robot, inspired by Stanford's UMI.

## 2026-07-10

- [Profiling in PyTorch (Part 3): Attention is all you profile](https://swe.quest/articles/profiling-in-pytorch-part-3-attention-is-all-you-profile-44c4f73b7586bec2.md): Hugging Face · 2026-07-10 · Medium · 21 min read · Performance engineering, Inference & serving, Python, Hardware, LLMs
  Profiling attention variants in PyTorch on an A100 shows how each implementation appears in profiler traces.

## 2026-05-14

- [Unlocking asynchronicity in continuous batching](https://swe.quest/articles/unlocking-asynchronicity-in-continuous-batching-fe214c7fa26641ee.md): Hugging Face · 2026-05-14 · Hard · 20 min read · Inference & serving, Performance engineering, Concurrency, Hardware, LLMs
  Synchronous continuous batching makes the CPU and GPU take turns, and profiling an 8B model generating 8K tokens at batch size 32 shows the GPU idle for 24% of the 300.6-second runtime while the CPU prepares batches.

## 2026-05-11

- [Building Blocks for Foundation Model Training and Inference on AWS](https://swe.quest/articles/building-blocks-for-foundation-model-training-and-inference-on-aws-788daf28b6ff2749.md): Hugging Face · 2026-05-11 · Hard · 20 min read · Model training, Hardware, Cloud platforms, Scheduling, Networking
  Foundation-model pre-training, post-training and test-time inference now converge on the same infrastructure needs: tightly coupled accelerators, high-bandwidth low-latency networking, tiered distributed storage, orchestration and observability.

## 2026-03-09

- [Ulysses Sequence Parallelism: Training with Million-Token Contexts](https://swe.quest/articles/ulysses-sequence-parallelism-training-with-million-token-contexts-a21775c0b516e85a.md): Hugging Face · 2026-03-09 · Hard · 13 min read · Model training, LLMs, Distributed systems, Hardware
  Ulysses Sequence Parallelism, part of Snowflake's Arctic Long Sequence Training protocol, enables training on contexts of hundreds of thousands to millions of tokens.

## 2026-03-05

- [Bringing Robotics AI to Embedded Platforms: Dataset Recording, VLA Fine‑Tuning, and On‑Device Optimizations](https://swe.quest/articles/bringing-robotics-ai-to-embedded-platforms-dataset-recording-vla-fine-tuning-bb1f6ad9c35fff3b.md): Hugging Face · 2026-03-05 · Hard · 9 min read · Inference & serving, Model training, Hardware, Machine learning
  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.

## 2026-02-13

- [Custom Kernels for All from Codex and Claude](https://swe.quest/articles/custom-kernels-for-all-from-codex-and-claude-9d652cbc33fa9001.md): Hugging Face · 2026-02-13 · Medium · 9 min read · AI for coding, Performance engineering, Inference & serving, Hardware, Python
  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-11-17

- [Easily Build and Share ROCm Kernels with Hugging Face](https://swe.quest/articles/easily-build-and-share-rocm-kernels-with-hugging-face-dfc0e1a655e74ace.md): Hugging Face · 2025-11-17 · Medium · 13 min read · Build systems, Hardware, Machine learning, C & C++, Python
  Hugging Face's kernels library and kernel-builder can package a custom ROCm kernel as a native PyTorch operator and share it on the Hub, shown with the prize-winning RadeonFlow FP8 block-wise GEMM kernel for AMD MI300X.

## 2025-10-16

- [Google Cloud C4 Brings a 70% TCO improvement on GPT OSS with Intel and Hugging Face](https://swe.quest/articles/google-cloud-c4-brings-a-70-tco-improvement-on-gpt-oss-with-intel-and-hugging-1662abf0ec54a8e1.md): Hugging Face · 2025-10-16 · Medium · 6 min read · Inference & serving, Performance engineering, Hardware, Cloud platforms, Cost optimization
  Google Cloud C4 VMs on Intel Xeon 6 (Granite Rapids) deliver 1.4x–1.7x per-vCPU decoding throughput over C3 (Sapphire Rapids) for CPU inference of the GPT OSS 120B mixture-of-experts model in bfloat16.

## 2025-08-18

- [From Zero to GPU: A Guide to Building and Scaling Production-Ready CUDA Kernels](https://swe.quest/articles/from-zero-to-gpu-a-guide-to-building-and-scaling-production-ready-cuda-kernels-c01f08e3adeb6b0b.md): Hugging Face · 2025-08-18 · Medium · 16 min read · Hardware, Python, C & C++, Build systems, Machine learning
  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\`.

## 2025-08-13

- [Arm & ExecuTorch 0.7: Bringing Generative AI to the masses](https://swe.quest/articles/arm-executorch-0-7-bringing-generative-ai-to-the-masses-e0cdd6bbe1a2cf4d.md): Hugging Face · 2025-08-13 · Easy · 4 min read · Inference & serving, Hardware, LLMs, Mobile, Performance engineering
  ExecuTorch 0.7 beta enables Arm KleidiAI by default through XNNPack, bringing optimized Int4 matrix multiplication to Arm CPUs with no code changes.

## 2025-07-09

- [Creating custom kernels for the AMD MI300](https://swe.quest/articles/creating-custom-kernels-for-the-amd-mi300-c9305116e3ce561c.md): Hugging Face · 2025-07-09 · Hard · 31 min read · Inference & serving, Hardware, Performance engineering, LLMs
  Hugging Face and AMD wrote three open-source fused kernels for serving Llama 3.1 405B in FP8 with vLLM on an 8x MI300X node: residual add + RMS norm + FP8 quantization, SwiGLU + FP8 conversion, and a skinny GEMM for decode-sized batches.

## 2025-06-12

- [Learn the Hugging Face Kernel Hub in 5 Minutes](https://swe.quest/articles/learn-the-hugging-face-kernel-hub-in-5-minutes-049114b1e85677a7.md): Hugging Face · 2025-06-12 · Medium · 13 min read · Inference & serving, Performance engineering, Python, Hardware
  Hugging Face's Kernel Hub and \`kernels\` library let PyTorch code download pre-compiled, optimized GPU kernels such as FlashAttention, activations, RMSNorm and quantization kernels with a single \`get\_kernel\` call.

## 2025-04-16

- [Prefill and Decode for Concurrent Requests - Optimizing LLM Performance](https://swe.quest/articles/prefill-and-decode-for-concurrent-requests-optimizing-llm-performance-66a6db57e54903ca.md): Hugging Face · 2025-04-16 · Medium · 10 min read · Inference & serving, LLMs, Performance engineering, Hardware
  LLM token generation splits into a compute-bound prefill phase, which processes all prompt tokens in parallel to produce the first token, and a memory-bandwidth-bound decode phase, which produces later tokens one at a time.

## 2024-12-24

- [Visualize and understand GPU memory in PyTorch](https://swe.quest/articles/visualize-and-understand-gpu-memory-in-pytorch-69d1cac2293ba761.md): Hugging Face · 2024-12-24 · Medium · 10 min read · Model training, Python, Memory management, Hardware, LLMs
  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.

## 2024-12-17

- [Benchmarking Language Model Performance on 5th Gen Xeon at GCP](https://swe.quest/articles/benchmarking-language-model-performance-on-5th-gen-xeon-at-gcp-7e85a320d2818cb1.md): Hugging Face · 2024-12-17 · Medium · 6 min read · Inference & serving, Performance engineering, Hardware, Cloud platforms, LLMs
  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.

[Next page](https://swe.quest/index.md?source=hugging-face&tag=hardware&page=2)

Same list as RSS: [https://swe.quest/feed.xml?source=hugging-face&tag=hardware](https://swe.quest/feed.xml?source=hugging-face&tag=hardware). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
