AI

InvokeAI GPU Memory Usage

InvokeAI is a powerful tool to run Generative AI like Stable Diffusion easily on your own machine if you have a dedicated GPU. How much GPU memory do you need? All of these results were with a Nvidia RTX 3070 Ti with 8GB, with a target of 50 iterations. 512×512 = 3.5GB in 7s1024×1024 = 5.4GB in 35s1280×768 = 5.4GB in [...]




Golang

bz2 File Compression

bz2 file compression isn’t the fastest compression but its performance MB/s and Compression ratio graphs are nearly flat compared to most other compressions. That being said, there is one graph that isn’t often shown and its the memory usage of bz2. To make those others operation in a near flat range, memory is the tradeoff. [...]


Amazon AWS

AWS EC2 + Wireguard

I’m a fan of not leaving common ports like 22 (SSH) or 3306 (MySQL DB) open to the public but really like being able to access those ports from my laptop. I used to use security groups and limit access by IP to my home network. Now, most consumer internet is not static IP but I find providers like comcast do not change the IP very [...]




Networking

WIFI Signal Degrades More Than You Think


Node-RED

Using Node-Red to send commands to Wifi LED Controllers