Comments (8)
My comment wasn’t to say that D-in-D was a good idea, merely that confidently stating it’s impossible is not true.
Given that I only ever launch Ooba in Docker on Nvidia hardware, and most folks that I speak with prefer to do so as well, it would be awesome to have a supported method to run this when launching that way.
from memoir.
I managed to get around the error above by making the following changes to my Dockerfile:
RUN . ./installer_files/conda/etc/profile.d/conda.sh && \
conda activate ./installer_files/env && \
pip install python_on_whales textblob validators qdrant_client sentence_transformers
But am now getting a new error:
text-generation-webui-text-generation-webui-1 | 20:14:28-162645 INFO Loading the extension "Memoir"
text-generation-webui-text-generation-webui-1 | /home/app/text-generation-webui/installer_files/env/lib/python3.11/site-packages/python_on_whales/client_config.py:85: UserWarning: The docker client binary file was not found on your system.
text-generation-webui-text-generation-webui-1 | Docker on whales will try to download it for you.
text-generation-webui-text-generation-webui-1 | Don't worry, it won't be in the PATH and won't have anything to do with the package manager of your system.
text-generation-webui-text-generation-webui-1 | Note: We are not installing the docker daemon, which is a lot heavier and harder to install. We're just downloading a single standalone binary file.
text-generation-webui-text-generation-webui-1 | If you want to trigger the download of the client binary file manually (for example if you want to do it in a Dockerfile), you can run the following command:
text-generation-webui-text-generation-webui-1 | $ python-on-whales download-cli
text-generation-webui-text-generation-webui-1 |
text-generation-webui-text-generation-webui-1 | warnings.warn(
100% 69.2M/69.2M [00:00<00:00, 118MiB/s] ui-1 |
text-generation-webui-text-generation-webui-1 | : Error /home/app/text-generation-webui/extensions/Memoir/qdrant-docker-compose.yml: [Errno 13] Permission denied: '/home/app/text-generation-webui/.cache'
The permissions for the the folder in question are 775 for the user and group the Docker image is running as.
from memoir.
You can try running one of the standalone versions of qdrant and commenting out the docker-compose load in startup of script.py. https://qdrant.tech/documentation/guides/installation/
from memoir.
I added some checks to control docker usage in the extension and checking if the qdrant server is up and running.
To be honest I think It's better to have a qdrant server running standalone (vm or docker)
@Poisonsting you cannot run a docker composer file from within a docker file, matroskalike :D
from memoir.
You totally can, actually.
https://devopscube.com/run-docker-in-docker/
from memoir.
I recommend you just comment out all the startup() in script, then just run the qdrant locally or in another docker, or in the same docker for that matter.
from memoir.
You totally can, actually.
Playing around with sockets and reducing Docker's security even further.
It's easier to just raise a standalone qdrant db server, as the setup is as simple as downloading a binary and running it.
I'm planning to push some scripts regarding this on a repo soon.
from memoir.
Will do a release the runs the exec of qdrant or neo4j soon without the need for docker. Just because I like docker, guess everyone would rather easy install script.
from memoir.
Related Issues (20)
- script.py TypeError: can only concatenate str (not "list") to str HOT 3
- tiny indent error in persona.py HOT 1
- No module named 'python_on_whales' (docker install) HOT 7
- New collection created with every bot interaction HOT 12
- Please support Memoir in Silly Tavern for multi characters memory chat HOT 1
- requirements HOT 7
- Issue When attempting to save Long Term Memory HOT 1
- GPU fully discharged. HOT 3
- RAG data polluting Memory creation HOT 1
- Not sure how exactly this works HOT 1
- doesn't work HOT 12
- Multi-User/Multi-Persona Support HOT 4
- How to upload documents and epub HOT 7
- Prep for merge of dev branch to main HOT 1
- [GET_URL=url,output] command not working
- check that memory character matches current loaded character
- There is no Memoir after clone repo HOT 1
- .. HOT 1
- no such table: short_term_memory 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 memoir.