Skip to content

Commit 2aeb76f

Browse files
Merge pull request #52 from nixified-ai/mc/wip-text-generation-webui
Major Upgrade/Refactor
2 parents 0c58f8c + 079f83b commit 2aeb76f

47 files changed

Lines changed: 1835 additions & 1098 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
<p align="center">
32
<br/>
43
<a href="nixified.ai">
@@ -25,19 +24,19 @@ The outputs run primarily on Linux, but can also run on Windows via [NixOS-WSL](
2524

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

28-
#### KoboldAI ( A WebUI for GPT Writing )
27+
#### [InvokeAI](https://github.com/invoke-ai/InvokeAI) ( A Stable Diffusion WebUI )
2928

30-
- `nix run .#koboldai-amd`
31-
- `nix run .#koboldai-nvidia`
29+
- `nix run .#invokeai-amd`
30+
- `nix run .#invokeai-nvidia`
3231

33-
![koboldai](/../images/koboldai.webp)
32+
![invokeai](https://raw.githubusercontent.com/nixified-ai/flake/images/invokeai.webp)
3433

35-
#### InvokeAI ( A Stable Diffusion WebUI )
34+
#### [textgen](https://github.com/oobabooga/text-generation-webui) ( Also called text-generation-webui: A WebUI for LLMs and LoRA training )
3635

37-
- `nix run .#invokeai-amd`
38-
- `nix run .#invokeai-nvidia`
36+
- `nix run .#textgen-amd`
37+
- `nix run .#textgen-nvidia`
3938

40-
![invokeai](/../images/invokeai.webp)
39+
![textgen](https://raw.githubusercontent.com/nixified-ai/flake/images/textgen.webp)
4140

4241
## Install NixOS-WSL in Windows
4342

flake.lock

Lines changed: 57 additions & 102 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
url = "github:NixOS/nixpkgs/nixos-unstable";
1212
};
1313
invokeai-src = {
14-
url = "github:invoke-ai/InvokeAI/v2.3.1.post2";
14+
url = "github:invoke-ai/InvokeAI/v3.3.0post3";
1515
flake = false;
1616
};
17-
koboldai-src = {
18-
url = "github:koboldai/koboldai-client/1.19.2";
17+
textgen-src = {
18+
url = "github:oobabooga/text-generation-webui/v1.7";
1919
flake = false;
2020
};
2121
flake-parts = {
@@ -29,16 +29,31 @@
2929
};
3030
outputs = { flake-parts, invokeai-src, hercules-ci-effects, ... }@inputs:
3131
flake-parts.lib.mkFlake { inherit inputs; } {
32+
perSystem = { system, ... }: {
33+
_module.args.pkgs = import inputs.nixpkgs { config.allowUnfree = true; inherit system; };
34+
legacyPackages = {
35+
koboldai = builtins.throw ''
36+
37+
38+
koboldai has been dropped from nixified.ai due to lack of upstream development,
39+
try textgen instead which is better maintained. If you would like to use the last
40+
available version of koboldai with nixified.ai, then run:
41+
42+
nix run github:nixified.ai/flake/0c58f8cba3fb42c54f2a7bf9bd45ee4cbc9f2477#koboldai
43+
'';
44+
};
45+
};
3246
systems = [
3347
"x86_64-linux"
3448
];
49+
debug = true;
3550
imports = [
3651
hercules-ci-effects.flakeModule
37-
./modules/dependency-sets
38-
./modules/aipython3
52+
# ./modules/nixpkgs-config
53+
./overlays
3954
./projects/invokeai
40-
./projects/koboldai
55+
./projects/textgen
4156
./website
4257
];
43-
};
58+
};
4459
}

modules/aipython3/default.nix

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)