A Nix flake for many AI projects
Find a file
2024-01-11 19:01:06 +01:00
.github github: add FUNDING.yml 2023-05-19 01:39:14 +01:00
logs/chat/Assistant Update 2023-11-09 17:09:34 +01:00
modules/nixpkgs-config Major Upgrade/Refactor 2023-10-19 22:13:37 +01:00
overlays Update 2023-11-25 23:39:37 +01:00
packages Update 2024-01-11 18:13:38 +01:00
projects Update 2024-01-11 18:13:38 +01:00
website Sweeping improvements across the codebase 2023-10-22 14:36:00 -04:00
.gitignore init 2023-02-11 22:54:48 +00:00
.gitmodules init 2023-02-11 22:54:48 +00:00
AUTHORS Add AUTHORS file 2023-02-25 21:21:56 +00:00
flake.lock Update 2024-01-11 18:13:38 +01:00
flake.nix Update 2024-01-11 18:13:38 +01:00
install.ps1 treewide: add a powershell install script and explain how to use it 2023-03-06 00:25:11 +00:00
LICENSE init 2023-02-11 22:54:48 +00:00
README.md Update README.md 2023-11-09 22:19:05 +00:00
setup.log Update 2023-11-27 13:17:06 +01:00
starta1111.sh Automatic1111 with some Extensions 2023-11-20 13:16:18 +01:00


asdasd


Discussion

Anyone interested in discussing nixified.ai in realtime can join our matrix channel

The Goal

The goal of nixified.ai is to simplify and make available a large repository of AI executable code that would otherwise be impractical to run yourself, due to package management and complexity issues.

The outputs run primarily on Linux, but can also run on Windows via NixOS-WSL. It is able to utilize the GPU of the Windows host automatically, as our wrapper script sets LD_LIBRARY_PATH to make use of the host drivers.

The main outputs of the flake.nix at the moment are as follows:

InvokeAI ( A Stable Diffusion WebUI )

  • nix run .#invokeai-amd
  • nix run .#invokeai-nvidia

invokeai

textgen ( Also called text-generation-webui: A WebUI for LLMs and LoRA training )

  • nix run .#textgen-amd
  • nix run .#textgen-nvidia

textgen

Install NixOS-WSL in Windows

If you're interested in running nixified.ai in the Windows Subsystem for Linux, you'll need to enable the WSL and then install NixOS-WSL via it. We provide a script that will do everything for you.

  1. Execute the following in Powershell

    Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/nixified-ai/flake/master/install.ps1'))

The WSL must be installed via the Windows Store. The script will make an attempt to enable it automatically, but this only works on a fresh system, not one that has been modified manually.

See the following documentation from Microsoft for the details on how to enable and use the WSL manually