This repository was archived by the owner on May 10, 2024. It is now read-only.
Update hugging-face-embedding-server.md#232
Open
mohdwasim wants to merge 1 commit intochroma-core:mainfrom
Open
Update hugging-face-embedding-server.md#232mohdwasim wants to merge 1 commit intochroma-core:mainfrom
mohdwasim wants to merge 1 commit intochroma-core:mainfrom
Conversation
Fix typo in Docker run command Corrected the Docker run command to remove the typo in the --rm flag placement. The corrected command now properly starts the huggingface-embedding-server container with the specified image and parameters.
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
tazarov
reviewed
Apr 6, 2024
|
|
||
| ```bash | ||
| docker run -p 8001:80 -d -rm --name huggingface-embedding-server ghcr.io/huggingface/text-embeddings-inference:cpu-0.3.0 --model-id BAAI/bge-small-en-v1.5 --revision -main | ||
| docker run -p 8001:80 -d --rm --name huggingface-embedding-server ghcr.io/huggingface/text-embeddings-inference:cpu-0.3.0 --model-id BAAI/bge-small-en-v1.5 --revision -main |
Contributor
There was a problem hiding this comment.
@mohdwasim, thanks for this. Can we instead use the following (from the latest version of hf repo)
docker run --platform linux/amd64 -d --rm -p 8080:80 -v ./data:/data --pull always ghcr.io/huggingface/text-embeddings-inference:cpu-1.2 --model-id "BAAI/bge-large-en-v1.5" --revision "refs/pr/5"The reason we add --platform is so that it works on MacOS. Also we add a mount to store the model so we don't have to redownload.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix typo in Docker run command
Corrected the Docker run command to remove the typo in the --rm flag placement. The corrected command now properly starts the huggingface-embedding-server container with the specified image and parameters.