Skip to content
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

Add docs-text-embeddings-inference service to deploy/docker-compose.yml #339

Merged
merged 3 commits into from
May 27, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion deploy/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,28 @@ services:
env_file:
- .env

docs-text-embeddings-inference:
container_name: docs-text-embeddings-inference
environment:
- DTYPE=float16
- MODEL_ID=BAAI/bge-m3

image: ghcr.io/huggingface/text-embeddings-inference:1.0
ports:
- "8083:80"
volumes:
- ~/.cache/huggingface/hub:/data
shm_size: "2gb"
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
env_file:
- .env

temporal:
image: julepai/temporal:dev
container_name: julep-temporal
Expand All @@ -79,4 +101,4 @@ services:

volumes:
temporal_data:
cozo_data:
cozo_data:
Loading