---
author: "Umesh Malik"
canonical: "https://umesh-malik.com/blog/tag/transformers"
description: "Explore articles tagged with Transformers by Umesh Malik — AI Engineer, LLM & GenAI Developer. Learn Transformers best practices, practical tips, and in-depth guides."
title: "Umesh Malik's Blog - Transformers Articles | Transformers Tutorials"
tokens: 295
generator: "scripts/generate-page-markdown.mjs"
---

[← Back to Blog](https://umesh-malik.com/blog)

# Transformers

2 articles

 [![Cover comparing modern LLM architectures across sixteen single-file PyTorch reference implementations](https://umesh-malik.com/blog/compare-llm-architectures-pytorch-cover.png)

LLM Engineering • Sep 14, 2026

### How to Compare LLM Architectures: 16 Models, One File Each

Compare LLM architectures fast: GQA cuts KV cache 8x on Llama 3 70B, MLA cuts it 93.3% on DeepSeek-V2. One PyTorch repo shows why, file by file.

8 min read

Read more →](https://umesh-malik.com/blog/compare-llm-architectures-pytorch)

 [![Editorial cover comparing a 44-block transformer to a 22-block looped transformer applied twice, with an 18 percent training compute reduction stat](https://umesh-malik.com/blog/looped-transformers-parameter-compute-tradeoff-cover.png)

LLM Engineering • Sep 10, 2026

### How to Decide: Loop Transformer Blocks or Add More Layers

Loop transformer blocks or add more layers? Reusing weights cuts training compute 6.8-18% at equal loss, but forward passes and KV cache never shrink.

10 min read

Read more →](https://umesh-malik.com/blog/looped-transformers-parameter-compute-tradeoff)
