A step-by-step guide on installing and running InvokeAI on macOS for local AI image generation using Conda and Python.

Installing and running InvokeAI on macOS

Just a quick post this week, following on from my last post last week about using Conda and also the one from a few weeks about about running LLMs locally using ollama I decided to explore the world of AI image generation on my local macOS machine. To do this I thought I would revisit a tool I dabbled with about a year ago called InvokeAI↗ , the tool is described as follows: ...

April 14, 2024 · 7 min · Russ McKendrick
Learn how to efficiently manage Python environments on your MacBook Pro using Conda. This comprehensive guide covers installation, creating and activating environments, installing packages, and best practices for streamlining your Python development workflow.

Conda for Python environment management on macOS

As mentioned in a previous post, I recently finished writing the second edition of Learn Ansible. This had me using Python a lot, and my one key takeaway is that managing Python has become a massive chore. Now, with the book complete, I thought I would strip back on my machine, start from scratch - or as close to clean as I could get - and develop a cleaner, more streamlined way of managing Python on my local machine. ...

April 6, 2024 · 9 min · Russ McKendrick
For the first time in nearly a decade, I updated my dotfiles blog post.

Updating my dotfiles

I decided to spring clean my Dotfiles repo↗ , as it had been a while. Then I noticed that the last time I mentioned them on the blog was nearly ten years ago, so I wanted to give a quick update. The most significant change is that I have moved to using Zsh↗ and Oh My Zsh↗ since Zsh became the default Shell in macOS. Warning ...

April 2, 2024 · 3 min · Russ McKendrick
Discover how Azure Logic Apps save you money by automating tasks like stopping and starting VMs and App Gateways. Follow this step-by-step guide to deploy cost-saving automation efficiently.

Saving money with Azure Logic Apps

During the day job, I have to get a little creative with controlling costs for Azure resources; there are some everyday tasks and scenarios where Azure Logic Apps can help you save money 💰. The first is quite a typical scenario: stopping and starting Azure Virtual Machines. There was a time when I would have just used an Azure Automation Account and the Microsoft-supplied workflow. Still, Automation Accounts are a little (well, a lot) too reliant on PowerShell for my macOS using / Linux administrating tastes. ...

April 1, 2024 · 26 min · Russ McKendrick
A step-by-step guide to installing Ollama on macOS and running large language models like llama2 and Mistral entirely offline. Learn how to interact with the models via chat, API, and even remotely using ngrok.

Running LLMs locally with Ollama

As I am coming to the end of writing the second edition of Lean Ansible (more news on that coming soon), I thought now would be a great time to have a look at what exciting developments have been happening in the six months now that I have a little more free time. One of the things I have been keeping an eye on is the state of Large Language Models (LLM for short), especially since the introduction of open-source models such as Llama from Meta↗ and Mistral 7B↗ , which you can run locally. ...

March 29, 2024 · 15 min · Russ McKendrick
Explore 2023's diverse music scene with 17 albums, from The Polyphonic Spree's 'Salvage Enterprise' to Peter Gabriel's 'I/O'.

My Top 10 of 2023

2023 has been an extraordinary year for music, showcasing an eclectic mix of genres, styles, and artistic visions. This list of 17 albums represents the year’s rich musical landscape, each offering a unique perspective and sound. From the psychedelic choral pop of The Polyphonic Spree’s “Salvage Enterprise” to the introspective and nuanced melodies of Jenny Lewis in “Joy’All,” these albums traverse a spectrum of emotional and sonic experiences. The list includes revered artists like Peter Gabriel with his album “I/O” and new interpretations of classics like “The Endless Coloured Ways (The Songs Of Nick Drake)” by Various artists. It also features the experimental sounds of “Hologram” by Amplifier and the laid-back reggae vibes of Rhoda Dakar’s “Version Girl.” Each album stands as a testament to the artist’s creative vision, whether it be through revisiting and reimagining past genres or exploring new territories in sound and storytelling. ...

December 23, 2023 · 24 min · Russ McKendrick
I had some time so decided to have a play with a new tool called Aider Chat, which allows you to write and edit code with OpenAI’s GPT models.

Playing with Aider Chat

I had some time, so I thought I would take a look at Aider Chat↗ , Aidir Chat is described by its authors as; aider is a command-line chat tool that allows you to write and edit code with OpenAI’s GPT models. You can ask GPT to help you start a new project, or modify code in your existing git repo. Aider makes it easy to git commit, diff & undo changes proposed by GPT without copy/pasting. It also has features that help GPT-4 understand and modify larger codebases↗ . ...

July 15, 2023 · 10 min · Russ McKendrick
Delve into the exciting features and benefits of Podman, a powerful alternative to traditional container technologies.

Revisting Podman

Although it’s been some time since I’ve worked with containers on my local machine, I recently found myself intrigued to discover what’s new with Podman. Setting Up Podman To kick things off, we’ll need to get Podman installed. As my development environment is running on a Mac M2, I’m going to employ Homebrew for this purpose: Install Podman $ brew install podman podman-compose podman-desktop In addition to Podman itself, I’ve also chosen to install Podman Compose and Podman Desktop. The former serves as a fitting replacement for Docker Compose, allowing for the definition and orchestration of multi-container applications within the Podman environment. On the other hand, Podman Desktop is a handy GUI for Podman that substitutes Docker Desktop. ...

June 14, 2023 · 6 min · Russ McKendrick