Memory profiler
See the memory usage of a script
-->
See the memory usage of a script
Increase DataLoader performance with pin_memory and num_workers
Python library to get GPU data like `nvidia-smi`
Space to calculate the memory needed to run a model
Your colleague Patric is writing code that is hard to read? Share with him this code formatter that I show you in this post! Come in and learn how to format code to make it more understandable. We are not going to solve Patric's problems, but at least you won't suffer when reading it
Declare neural networks clearly in Pytorch
Obtener datos de diccionarios en Python de forma segura
Tip to create single-element tuples in Python
Tip to sort lists in Python without modifying the original
Tip to print strings with the first letter of each word in uppercase in Python
Tip to write long integers with underscore in Python
Learn how to create virtual environments with uv, a package manager and environment for Python written in Rust, which makes it very fast. If you have had problems with the waiting times using conda, or want a faster and easier alternative to venv, enter and see how to use uv.
If you have problems making a real-time AI application, FastRTC can help you. In this post I explain how to use it.
Do you want to have your own Sora, but also generate good videos? In this post I explain how to do it with HuggingFace Inference Providers and Replicate.
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.
Dataset with jokes in English
Dataset with translations from English to Spanish
Dataset with Netflix movies and series