Skip to content

Fix for broken docker image - llama-cpp-python:latest #1626

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

Merged
merged 1 commit into from
Jul 28, 2024

Conversation

mashuk999
Copy link
Contributor

@mashuk999 mashuk999 commented Jul 27, 2024

Currently if you pull the latest image and run, you will face, No such file error due to a filepath change in last commit

@mashuk999 ➜ /workspaces/llama-cpp-python (main) $ docker run -it ghcr.io/abetlen/llama-cpp-python:latest Unable to find image 'ghcr.io/abetlen/llama-cpp-python:latest' locally latest: Pulling from abetlen/llama-cpp-python f11c1adaa26e: Pull complete f2856587ea65: Pull complete 3633d497474f: Pull complete a49add4e8750: Pull complete a503d964c760: Pull complete 3a1a379ae865: Pull complete e2df0e42496e: Pull complete 4f4fb700ef54: Pull complete a6bcd4dec1a1: Pull complete 8bbda24c4a05: Pull complete eb190ca62661: Pull complete b38e68be4046: Pull complete Digest: sha256:fdd7ef0bfbca0a68a918d71c49cb85d5630a418dcfa1484fcb1b854b5f7bd1d7 Status: Downloaded newer image for ghcr.io/abetlen/llama-cpp-python:latest /bin/sh: 0: cannot open /app/run.sh: No such file @mashuk999 ➜ /workspaces/llama-cpp-python (main) $

This fixes the filepath by reverting to original path to ensure llamacpp server can start

Copy link
Contributor

@Smartappli Smartappli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@abetlen abetlen merged commit 9ed6b27 into abetlen:main Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants