Tensorflow with GPU support in Docker

Following guide was tested on EndeavourOS and Manjaro (Arch-based) Linux distro. Why? Installing dependencies and setting up notebooks is usually a PITA: installing CUDA with CuDNN and TensorRT doesn’t have a common and easy to follow guide, along with recent (not recent) release of python 3.9, most ML/DL packages are not updated to this wheel. Also setting up venv is hard to maintain and migrate as you have to backup the whole environment to other machine....

May 2, 2021 · (updated October 12, 2023) · 4 min · 655 words · Minh Nguyen

VFIO Single GPU Passthrough Guide on Linux

Why single GPU passthrough? Because I’m poor, using Ryzen non-APU CPU, and I don’t want to buy a second GPU just for passthrough. I’m using a single GPU passthrough for gaming on Windows and using Linux as my daily driver. In this guide, we will be going over how to set up a single GPU passthrough on Linux. This guide is meant to be a reference for myself and others who want to learn how to set up a single GPU passthrough on Linux....

May 1, 2021 · (updated April 25, 2022) · 8 min · 1695 words · Minh Nguyen