-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restart Loop #63
Comments
Check your end of line sequence in deploy.sh. With vscode, edit file and change crlf by lf on bottom right of the window. |
Yes, try checking that! |
Alright I think we diagnosed the issue. You can fix it by cloning the repo again with |
It worked for me, thanks |
New output |
@si1en7 What is the output of |
in my case, my processor is not compatible with AVX (error: Illegal instruction mongod), so the latest version of mongodb is not usable. # MongoDB
RUN wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | apt-key add -
RUN echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-4.4.list
RUN wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.17_amd64.deb
RUN dpkg -i libssl1.1_1.1.1f-1ubuntu2.17_amd64.deb
RUN apt-get update
RUN apt-get install -y mongodb-org everything works perfectly. |
I accidentally made a mistake when implementing this, and am leaving this here as a future note if anyone encounters this. If you are replacing https://github.com/nsarrazin/serge/blob/main/Dockerfile#L17-L24 then you need to use RUN apt-get update
RUN apt-get install -y curl wget gnupg python3-pip git
# MongoDB
RUN wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | apt-key add -
RUN echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-4.4.list
RUN wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.17_amd64.deb
RUN dpkg -i libssl1.1_1.1.1f-1ubuntu2.17_amd64.deb
RUN apt-get update
RUN apt-get install -y mongodb-org
RUN git clone https://github.com/ggerganov/llama.cpp.git --branch master-d5850c5 |
This got me up and running, except I used the latest llama branch that was just updated today. |
Can this be closed now? |
Bug description
It's looping a restart
Steps to reproduce
i just followed the setup steps and wehen i tried running
docker compose exec serge python3 /usr/src/app/api/utils/download.py tokenizer 7B
I got an error saying the container is restarting, so i checked docker an there it says what i pastet into relevant log output
Environment Information
Docker version 20.10.23, build 7155243
Windows 11
Ryzen 7 5800x
Screenshots
No response
Relevant log output
Confirmations
The text was updated successfully, but these errors were encountered: