Building pytorch for systems without avx2 instructions

I recently got very interested in open source AI and wanted to build out a server with a modern GPU to do more experiments on. The problem was that I had the money for a modern GPU but not enough to build out a new system to put it in.

I got my hands on a decommissioned workstation from about 2012 for the low price of free and stuck the GPU in that as a temporary solution. I named it GLaDOS since I'm stuffing a very new and very expensive RTX 3090 into a system that's so old it might as well be a potato. It's from the sandy bridge era and it does not support avx2 instructions. (it's otherwise very powerful for its age being a dual 8 core xeon with 64GB (soon to be 128GB) of memory)

pytorch has some components that assume you have avx2 and this blog post describes How i re-compiled pytorch to work with the potato that I put my new GPU into.


Read More

retry helper for BrokenPipeError in selenium

While going over chapter 21 of Test-Driven Development with Python I kept getting failing tests with

BrokenPipeError: [Errno 32] Broken pipe exception

This article describes my workaround for this problem.


Read More

Finally set up a modern blog

I've been going through Harry Percival's Excellent book at http://www.obeythetestinggoat.com/ and decided to stand up a blog for the first time in years.


Read More