mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2024-12-12 16:47:28 +01:00
1327bd30a5
Big overhaul of the installer, partially based on the #53 commit from LexSong. The following is new : - Conda has been replaced with MicroMamba, allows the dependencies to automatically download the best version of Python and prevents all the issues with people failing to download conda. - The installer now has more options so you can choose not to delete the existing files, and it has new optional virtual K: drive support to bypass all the pathing issues people are having (Sorry Windows 7 users, its still not compatible even now). - Docker support for Linux systems has been added including ROCm support. - Environment files are now used to more easily keep everything on track, and to allow conda users to manually create environments across all operating systems (ROCm is an outlier in this because i have to use AMD's Pytorch docker for now it was to much hassle getting their Conda to use the environment file to add it to this commit). - Play.bat has been changed to allow the virtual drive support, everything should still be compatible with old installations as I kept all the paths intact.
17 lines
314 B
YAML
17 lines
314 B
YAML
version: "2"
|
|
services:
|
|
koboldai:
|
|
build: .
|
|
environment:
|
|
- DISPLAY=${DISPLAY}
|
|
network_mode: "host"
|
|
volumes:
|
|
- /tmp/.X11-unix:/tmp/.X11-unix
|
|
- ../:/content/
|
|
- $HOME/.Xauthority:/root/.Xauthority:rw
|
|
devices:
|
|
- /dev/kfd
|
|
- /dev/dri
|
|
group_add:
|
|
- video
|