Compare commits

...

5 Commits

Author SHA1 Message Date
henk717 d2b399d7bc
Merge pull request #311 from SmolBleat/main
Add Nerybus Models
2023-05-08 16:59:24 +02:00
henk717 f2b643a639
Merge pull request #239 from waffshappen/patch-2
Allow Project File Access with Podman+Selinux
2023-05-08 16:58:51 +02:00
SmolBleat 692fe2e5ee Add Nerybus Models 2023-04-24 21:01:29 +02:00
waffshappen a0d4497c95
Also update CUDA container 2023-02-16 10:37:58 +00:00
waffshappen d026bd79cb
Allow Project File Access with Podman+Selinux
With selinux enabled distros containers accessing KoboldAIs main directory as content, as planned here, will likely generally be denied (atleast with podman).
Option 1 would be to mark it with the right label - like :z - but that has other Implications for the content directory.

The other fix, if uglier, is to run the container without labels being enforced and thus allow the file access as the same user and with no further sideeffects to the project file labelling.
2023-02-15 23:32:41 +00:00
3 changed files with 7 additions and 0 deletions

View File

@ -165,13 +165,16 @@ model_menu = {
],
'nsfwlist': [
["Erebus 20B (NSFW)", "KoboldAI/GPT-NeoX-20B-Erebus", "64GB", False],
["Nerybus 13B (NSFW)", "KoboldAI/OPT-13B-Nerybus-Mix", "32GB", False],
["Erebus 13B (NSFW)", "KoboldAI/OPT-13B-Erebus", "32GB", False],
["Shinen FSD 13B (NSFW)", "KoboldAI/fairseq-dense-13B-Shinen", "32GB", False],
["Nerybus 6.7B (NSFW)", "KoboldAI/OPT-6.7B-Nerybus-Mix", "16GB", False],
["Erebus 6.7B (NSFW)", "KoboldAI/OPT-6.7B-Erebus", "16GB", False],
["Shinen FSD 6.7B (NSFW)", "KoboldAI/fairseq-dense-6.7B-Shinen", "16GB", False],
["Lit V2 6B (NSFW)", "hakurei/litv2-6B-rev3", "16GB", False],
["Lit 6B (NSFW)", "hakurei/lit-6B", "16GB", False],
["Shinen 6B (NSFW)", "KoboldAI/GPT-J-6B-Shinen", "16GB", False],
["Nerybus 2.7B (NSFW)", "KoboldAI/OPT-2.7B-Nerybus-Mix", "8GB", False],
["Erebus 2.7B (NSFW)", "KoboldAI/OPT-2.7B-Erebus", "8GB", False],
["Horni 2.7B (NSFW)", "KoboldAI/GPT-Neo-2.7B-Horni", "8GB", False],
["Shinen 2.7B (NSFW)", "KoboldAI/GPT-Neo-2.7B-Shinen", "8GB", False],

View File

@ -5,6 +5,8 @@ services:
environment:
- DISPLAY=${DISPLAY}
network_mode: "host"
security_opt:
- label:disable
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
- /etc/protocols:/etc/protocols:ro

View File

@ -5,6 +5,8 @@ services:
environment:
- DISPLAY=${DISPLAY}
network_mode: "host"
security_opt:
- label:disable
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
- /etc/protocols:/etc/protocols:ro