PyTorch on ROCm inside a Litterbox
Introduction I’ve become very weary about the risk of supply chain attacks and/or rogue “coding agents” compromising my development system. Hence, I am currently doing all my development inside a Litterbox to minimise this risk. Since plenty of my work is in the embedded space, I’ve already had plenty of uhm “fun” figuring out how to get various things working inside a container. One challenge I remember was figuring out how to access USB devices. For this I added the “device” function to Litterbox which essentially just creates a device node inside the Litterbox’s home directory. Or similarly, I added functionality for TUN/TAP device creation so that I can run an “emulated” embedded networking stack. ...