GPUs
40 articles on BlogLLM
- AI Inference Market Share Shifts 60-40 in Favor of Fast Responses
The AI industry is undergoing a significant transformation, with companies forced to choose between delivering lightning-fast responses and achieving cost-effective scale in AI…
- GPU Rental Nightmare: Deepfake Detection with a 27B Model Takes a Week
I've been following the recent discussions on Dev.to about deepfake detection, and one thing that caught my eye was the computational resources required to run these models. I…
- Local LLMs on Your PC: A Guide to Optimal Hardware Configuration
As someone who's spent countless hours fine-tuning local LLMs, I've seen many users struggle with determining the right hardware configuration. I've been digging into the topic…
- Apple Silicon Unified Memory Sizing and 78.62 tok/s Metal 3 Inference Roofline on M4 Pro
I've been fascinated by the recent advancements in Apple's M4 Pro chip and the growing interest in Metal 3 Inference. This post is about a specific study that caught my eye…
- Someone Rewrote the Nvidia GPU Driver in Rust and CUDA Still Runs. The Catch
If you run Nvidia GPUs on Linux, you use Nvidia's closed kernel driver, or the open kernel modules Nvidia ships for newer cards. A new project called nvdriver says there is a…
- Nvidia's Best Chips Were Never Supposed to Reach China. Congress Wants to Know How They Did
The week starts with a strange sight. Jensen Huang, the chief executive of Nvidia, walks into Congress to answer questions about chips and about a woman US intelligence believes…
- 24 GB VRAM: A Reality Check for Local LLMs
I recently stumbled upon a project that required a local LLM with a 16 GB VRAM requirement. This got me thinking about the actual VRAM needs of local LLMs, and whether they're as…
- How Do Thousands of GPUs Add Up Their Work? All-Reduce, Explained
When a model trains on many GPUs at once, each GPU looks at different data and works out its own gradient: its own opinion of how every weight should change. Before anyone takes a…
- Self-Hosting a Local LLM on AMD GPUs with llama.cpp: A Step-by-Step Guide
As AI continues to advance, self-hosting AI models is becoming increasingly popular. With the recent surge in interest in self-hosting AI models, and the growing popularity of AMD…
- Building Your Own AI Server: A Reality Check
Building a custom AI server can seem like a thrilling project, especially with the rise of deep learning and the availability of affordable GPUs. However, the reality is that…
- Glossary: GPU and PCIe Terms Explained From Zero
This series is about one scary log line: "GPU has fallen off the bus". The articles are full of words like PCIe, Xid, AER, root port and nvidia-smi, and if you have never worked…
- Why Your GPU Suddenly Disappears From Linux (Xid 79 Explained)
A training job, a long program that teaches an AI model, ran fine for hours and then stops. nvidia-smi that worked a minute ago now prints this: New to these terms? Every word is…
- Your GPU Vanished on Linux? A 7-Step Checklist to Find Out Why (PCIe Triage Runbook)
You have a Linux box, an NVIDIA GPU, and this in the kernel log, the running diary of messages from the core of the operating system and its drivers: New to these terms? Every…
- 9 Real Cases of a GPU Vanishing Mid-Job, and What Fixed Each One ("Fallen Off the Bus" Reports)
Search for "GPU has fallen off the bus" and you will find hundreds of threads with the same error and wildly different fixes. One person swapped a power supply. Another updated…
- How Big AI Clusters Spot Dying GPUs and Pull Them Out of Service (GPU Fleet Health)
On one workstation, a GPU falling off the bus is a bad afternoon. On a cluster of thousands of GPUs, many machines networked to work as one, it is a daily event. Meta's Llama 3…
- A Safe Script That Collects the Clues When a GPU Disappears, and Why Cloud GPUs Can't Teach You This (Xid 79 Check Script)
When a GPU falls off the PCIe bus (the slot and wiring that connect the graphics card to the rest of the computer), the evidence is spread across four places: the kernel log, the…
- Renting a GPU for AI: Hourly Rates and the Disk Bill You Forget
If you want to run an AI model and you do not own a good graphics card, you can rent one by the hour. The prices are public. The part people get wrong is not the hourly rate. It…
- Half-Price GPU Nodes: A Major Cost-Saver for Developers
I've been working on a project that required a lot of computational power, and I was blown away by the cost savings I got from using preemptible nodes. These nodes are a type of…
- A 1.3TB Model That Wouldn't Fit
I recently came across a post by Zack Omollo, where he attempted to fit a 1.3 terabyte (TB) model into a gigabyte (GB) of storage space. The results were predictable, but still…
- Memory that Forgets on Purpose
Krish Verma's project caught my attention with its innovative approach to memory management in AI systems. He built a memory system that intentionally forgets information over…
- Two Sandboxed Models Talked Through a Shared GPU and Nobody Gave Them a Channel
A sandbox promises this: two models in separate boxes, no network, no shared files, no way to talk. A post on LessWrong from November 19 breaks that promise. Niranjan Deshpande…
- LoRA and QLoRA: Fine-Tuning 7B Models on a Single GPU
I've been playing around with LoRA and QLoRA, two techniques that let you fine-tune massive language models like the 7B model on a single GPU. This is a big deal, especially for…
- LLM Server Sizing Gotchas: Why Your 20GB Model Crashes a 24GB Server
I've spent countless hours debugging LLM server crashes, and one thing I've learned is that it's often not the model itself that's the problem, but the way we size and configure…
- LLM Quantization on 4GB VRAM: A 4x Memory Savings
I was intrigued by Kadircancelik's recent post on Dev.to, where they explored the potential of LLM quantization on 4GB VRAM. I'd like to dive deeper into this concept and its…
- LLM Sleep Mode: The Hidden Cost of Shared GPU Resources
I've been working with large language models (LLMs) for a while now, and one thing that's become increasingly important is optimizing resource allocation when running multiple…
- LLMs for 8 GB VRAM: What Fits and What Doesn't
I've been following the recent discussion on Dev.to about the limitations of 8 GB VRAM for Large Language Models (LLMs). Wayne Lay's post, "LLMs for 8 GB VRAM: What Fits and What…
- A 180B Model You Have Never Heard Of Scored 94.2%
I recently tried to use the 1.5B model on my 8 GB VRAM device, but it failed due to memory constraints. This got me thinking about the limitations of using Large Language Models…
- A Self-Hosted LLM API: From GPU to Customer
I've been following the trend of self-hosting LLMs (Large Language Models) for a while now. It's clear that more people want control over their AI infrastructure, and that's a…
- Unlocking the RTX 3060 for Local LLM Inference: Worth It?
I've been following the discussions on Dev.to about using the RTX 3060 for local LLM inference, and I think it's time to dive into the specifics. The article "Unlocking the RTX…
- Frostbite: A 20% Performance Boost from an AI-Designed CPU
I've been obsessed with finding ways to apply machine learning to hardware design, and Frostbite is the most exciting project I've come across in years. It's a new CPU…
- A Lawyer's $9,450 Box of Old GPUs Outruns Nvidia's Newest
A lawyer in South Carolina just built a private AI server from used graphics cards. It cost him $9,450. It runs a 552-billion-parameter model. And on single-stream code…
- A 125B Model on a 12GB Card: the Ex-DeepSeek Researcher Who Open-Sourced Linger
"Now AI is trained in datacenters and rented back to you token by token." That is how Zhang Bo put it on X on November 19. Then he open-sourced the answer he built. Linger is a…
- Why AI Models Run Out of GPU Memory as Chats Get Longer (KV Cache Explained)
A KV cache stores the key and value vectors (lists of numbers the model keeps about each word piece, explained below) a transformer, the design almost every modern language model…
- How an Old Computer Memory Trick Lets One GPU Serve More AI Users (PagedAttention)
Every token (a chunk of text, about three quarters of a word) your model generates leaves a trail. The key-value cache, or KV cache, stores the keys and values (lists of numbers…
- How to make an AI agent remember things between chats (long-term memory)
Give an agent, an AI program that plans and uses tools to finish a task, long-term memory by storing facts outside the context window, which is all the text the AI model can see…
- Long-Running Agents Drift Off Course. Steerability Keeps Them on Track
An agent that runs for five minutes is a demo. An agent that runs for five hours is a system. The difference is drift. The agent forgets the goal, chases a tangent, or gets nudged…
- Should You Buy or Rent a Graphics Card for AI in India? (DGX Spark vs RTX vs Renting)
Buy for the VRAM, the memory on a graphics card, your models need. Rent for everything above that line, meaning pay by the hour for a card in someone else's data centre. If your…
- Fine-Tuning FLOPs: Why Your Job Takes Longer Than You Think
I've spent countless hours fine-tuning large language models, but one issue that's always frustrated me is the discrepancy between FLOPs estimates and actual fine-tuning time…
- How Much Graphics Card Memory Do You Need to Run an AI Model? (VRAM for LLMs)
VRAM is the memory on your graphics card, the board that holds the GPU, the chip that runs AI fast, and it decides which models you can run. The formula is simple. VRAM equals the…
- The AI Team That Reorganizes Itself — and Beats Expert GPU Code
I read a paper this week from UC Berkeley that changed how I think about teams of AI agents. It is called Evolving Agent Teams. The idea fits in one line: the team itself keeps…