Memory Calculation
Disclaimer: This post has been translated to English using a machine translation model. Please, let me know if you find any mistakes.
If you want to calculate the memory you need to run a model, use this space from HuggingFace.
Disclaimer: This post has been translated to English using a machine translation model. Please, let me know if you find any mistakes.
If you want to calculate the memory you need to run a model, use this space from HuggingFace.
The tip links to the Hugging Face Space derek-thomas/transformer_calculator (https://huggingface.co/spaces/derek-thomas/transformer_calculator), embedded directly on the page via iframe (https://derek-thomas-transformer-calculator.hf.space). You just enter the model (or its parameters) and the tool estimates the memory required to run it, no install or manual math needed.
The derek-thomas Space breaks down memory for both inference and training (weights, activations, gradients and optimizer states), so you can use it both to check whether a model fits your GPU for serving and to plan how much VRAM you'll need for fine-tuning.
How an agent prints the LLM response while it is being generated: splitting SSE events broken up by the network, separating reasoning from the answer, and batching renders so the UI stays responsive.
How a harness closes the tool call cycle: it runs the tools, feeds the results back into the history, calls the model ag...
How I installed Qwen3.8-27B on a PC with two RTX 3090s: vLLM vs llama.cpp benchmarks, MTP, TP vs PP and an on-demand pri...
Let's talk.
maximofn@gmail.com
Machine Learning and AI specialist. I develop solutions with generative AI, intelligent agents and custom models.
AI agents, powered by LLMs, promise to transform applications. But are they simple executors today or future intelligent collaborators? To reach their...
Learn to create an IA system to execute efficiently on a device
Hugging Face spaces allow us to run models with very simple demos, but what if the demo breaks? Or if the user deletes it? That's why I've created docker containers with some interesting spaces, to be able to use them locally, whatever happens. In fact, if you click on any project view button, it may take you to a space that doesn't work.
Let's talk.
maximofn@gmail.com
Machine Learning and AI specialist. I develop solutions with generative AI, intelligent agents and custom models.
Dataset with jokes in English
Use: Fine-tuning text generation models for humor
Dataset with translations from English to Spanish
Use: Training English-Spanish translation models
Dataset with Netflix movies and series
Use: Netflix catalog analysis and recommendation systems