Comments (7)
I do not have nvidia so my attempt at play-cuda.sh was completely blind and apparently unsuccesful. This will be quite tricky to solve over github since we will have to find out what ends up working one on one.
For that one line don't comment it out and add the following above it and then move these two lines to the bottom of the script:
USER root
This should elevate its permission to root at the last moment and install X11 (this is inside the docker not on your real installation). You need this inside the docker instance so it can draw the file selection window properly.
The missing device is most likely an issue with me plainly copying my amd version hoping it would work. Try removing that from the cuda docker files.
If it still gives issues i recommend joining the kobold discord at https://discord.gg/UCyXV7NssH so we can try and fix this one on one (I am Henky!! there).
from koboldai-client.
Hi on the topic Linux, to get KoboldAI to run on Arch you may need to modify the docker-compose.yml for it to see your nvidia GPU. If you don't it may lock up on large models.
version: "3.2"
services:
koboldai:
build: .
environment:
- DISPLAY=${DISPLAY}
network_mode: "host"
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
- ../:/content/
- $HOME/.Xauthority:/home/micromamba/.Xauthority:rw
devices:
- /dev/dri
- /dev/nvidia0:/dev/nvidia0
- /dev/nvidiactl:/dev/nvidiactl
- /dev/nvidia-uvm:/dev/nvidia-uvm
deploy:
resources:
reservations:
devices:
- driver: nvidia
device_ids: ['0']
capabilities: [gpu]
group_add:
- video
from koboldai-client.
Feel free to issue that as a commit here on github, i don't have all the parts for my nvidia gpu yet.
from koboldai-client.
Done, I have made a pull request. Im not sure it's bug free though, but it is a start.
from koboldai-client.
The old one wasn't working on the GPU's in general, leaving this issue open for further testing but i expect this to work well for most people!
from koboldai-client.
Hello, two things. The first an update on nvidia. Sometimes you may get this message like after a reboot,
"Error response from daemon: error gathering device information while adding custom device "/dev/nvidia-uvm": no such file or directory"
In this case you may have to comment out this line
- /dev/nvidia-uvm:/dev/nvidia-uvm
Run ./play-cuda.sh again, have it say GPU NOT FOUND, close the program, uncomment the line again, then rerun the program, don't know why that happens exactly.
Issue number 2 is to do with AMD. I'm working on the docker-rocm/docker-compose.yml file. My GPU was getting marked not found so I made this small change.
devices:
- /dev/kfd:/dev/kfd
- /dev/dri:/dev/dri
But now I am getting this error.
"hipErrorNoBinaryForGpu: Unable to find code object for all current devices!"
Does anyone have any ideas how to fix this? Thank you.
from koboldai-client.
Which AMD gpu do you have? Not all of them are supported and you need the built in driver (not the pro driver) + ROCm to get a working conpute stack with them. Only very few xards are supported.
from koboldai-client.
Related Issues (20)
- Installation error saying cannot find HOME HOT 1
- Issue downloading models HOT 1
- Kobold AI not utilize all cpus HOT 1
- delete
- softprompt tuner not working HOT 2
- Slow HOT 1
- How to set an API secret ? HOT 3
- No longer update? HOT 1
- ImportError: cannot import name 'dependency_versions_check'
- Colab readme.md link 404
- Micromamba URI can get corrupted by wget [Linux] HOT 1
- Change chat format with API
- The process suddenly stops for some reason
- Problem at remote-play HOT 3
- Colab only showing one model HOT 1
- Error when generating story HOT 1
- Fix def get_folder_path_info(base) for MacOS - any input?
- model type issue
- ImportError: cannot import name 'BaseResponse' from 'werkzeug.wrappers'
- Trying to set up, but fails: "ModuleNotFoundError: No module named 'eventlet'" HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from koboldai-client.