A Nix flake for many AI projects
Find a file
Matthew Croughan 1ff9bb485b
Merge pull request #15 from OhMyMndy/issue-14
Fixes Url in installer for WSL2 wrong
2023-04-01 17:10:29 +01:00
modules flake: callPackage streamlit 2023-03-06 09:27:39 -08:00
packages packages/diffusers: 0.13.1 -> 0.14.0 2023-03-06 09:43:22 -08:00
projects flake: callPackage streamlit 2023-03-06 09:27:39 -08:00
website website: remove accidental quote 2023-03-31 18:01:44 +01: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 flake: update 2023-03-06 08:20:53 -08:00
flake.nix invokeai: update to v2.3.1.post2 2023-03-03 03:38:31 +00: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 Fix URL 2023-04-01 15:26:02 +00:00



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:

KoboldAI ( A WebUI for GPT Writing )

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

koboldai

InvokeAI ( A Stable Diffusion WebUI )

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

invokeai

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