File tree Expand file tree Collapse file tree 10 files changed +21
-13
lines changed
.github/workflows/docker/compose
llms/summarization/tgi/langchain
reranks/mosec/langchain/dependency
retrievers/pgvector/langchain Expand file tree Collapse file tree 10 files changed +21
-13
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,11 @@ services:
19
19
build :
20
20
dockerfile : comps/dataprep/pinecone/langchain/Dockerfile
21
21
image : ${REGISTRY:-opea}/dataprep-pinecone:${TAG:-latest}
22
- dataprep-redis : # need to rename
22
+ dataprep-multimodal- redis :
23
23
build :
24
24
dockerfile : comps/dataprep/multimodal/redis/langchain/Dockerfile
25
- image : ${REGISTRY:-opea}/dataprep-redis:${TAG:-latest}
26
- dataprep-vdmsxx : # need to rename
25
+ image : ${REGISTRY:-opea}/dataprep-multimodal- redis:${TAG:-latest}
26
+ dataprep-vdms :
27
27
build :
28
28
dockerfile : comps/dataprep/vdms/langchain/Dockerfile
29
29
image : ${REGISTRY:-opea}/dataprep-vdms:${TAG:-latest}
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ services:
17
17
build :
18
18
dockerfile : comps/dataprep/redis/langchain_ray/Dockerfile
19
19
image : ${REGISTRY:-opea}/dataprep-on-ray-redis:${TAG:-latest}
20
- dataprep-vdms :
20
+ dataprep-multimodal- vdms :
21
21
build :
22
22
dockerfile : comps/dataprep/vdms/multimodal_langchain/Dockerfile
23
- image : ${REGISTRY:-opea}/dataprep-vdms:${TAG:-latest}
23
+ image : ${REGISTRY:-opea}/dataprep-multimodal- vdms:${TAG:-latest}
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ services:
22
22
build :
23
23
dockerfile : comps/embeddings/multimodal/bridgetower/Dockerfile.intel_hpu
24
24
image : ${REGISTRY:-opea}/bridgetower-embedder-gaudi:${TAG:-latest}
25
- embedding-multimodalxx : # need to rename
25
+ embedding-multimodal :
26
26
build :
27
27
dockerfile : comps/embeddings/multimodal/multimodal_langchain/Dockerfile
28
28
image : ${REGISTRY:-opea}/embedding-multimodal:${TAG:-latest}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ services:
8
8
build :
9
9
dockerfile : comps/embeddings/tei/langchain/Dockerfile
10
10
image : ${REGISTRY:-opea}/embedding-tei:${TAG:-latest}
11
- embedding-multimodal :
11
+ embedding-multimodal-clip :
12
12
build :
13
13
dockerfile : comps/embeddings/multimodal_clip/Dockerfile
14
- image : ${REGISTRY:-opea}/embedding-multimodal:${TAG:-latest}
14
+ image : ${REGISTRY:-opea}/embedding-multimodal-clip :${TAG:-latest}
Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ services:
11
11
context : vllm-openvino
12
12
dockerfile : Dockerfile.openvino
13
13
image : ${REGISTRY:-opea}/vllm-openvino:${TAG:-latest}
14
- llm-nativexx : # need to rename
14
+ llm-eval :
15
15
build :
16
16
dockerfile : comps/llms/utils/lm-eval/Dockerfile
17
- image : ${REGISTRY:-opea}/llm-native :${TAG:-latest}
17
+ image : ${REGISTRY:-opea}/llm-eval :${TAG:-latest}
18
18
llm-vllm-llamaindex :
19
19
build :
20
20
dockerfile : comps/llms/text-generation/vllm/llama_index/Dockerfile
Original file line number Diff line number Diff line change 3
3
4
4
FROM python:3.11-slim
5
5
6
+ ARG ARCH="cpu"
7
+
6
8
RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \
7
9
libgl1-mesa-glx \
8
10
libjemalloc-dev
@@ -16,6 +18,7 @@ USER user
16
18
COPY comps /home/user/comps
17
19
18
20
RUN pip install --no-cache-dir --upgrade pip && \
21
+ if [ ${ARCH} = "cpu" ]; then pip install --no-cache-dir torch torchvision --index-url https://download.pytorch.org/whl/cpu; fi && \
19
22
pip install --no-cache-dir -r /home/user/comps/llms/summarization/tgi/langchain/requirements.txt
20
23
21
24
ENV PYTHONPATH=$PYTHONPATH:/home/user
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ RUN apt update && apt install -y python3 python3-pip
15
15
16
16
RUN pip3 install torch==2.2.2 torchvision --trusted-host download.pytorch.org --index-url https://download.pytorch.org/whl/cpu
17
17
RUN pip3 install intel-extension-for-pytorch==2.2.0
18
- RUN pip3 install transformers sentence-transformers
18
+ RUN pip3 install transformers sentence-transformers==3.0.1
19
19
RUN pip3 install llmspec mosec
20
20
21
21
RUN cd /home/user/ && export HF_ENDPOINT=https://hf-mirror.com && huggingface-cli download --resume-download BAAI/bge-reranker-base --local-dir /home/user/bge-reranker-large
Original file line number Diff line number Diff line change 3
3
4
4
FROM python:3.11-slim
5
5
6
+ ARG ARCH="cpu"
7
+
6
8
RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \
7
9
libgl1-mesa-glx \
8
10
libjemalloc-dev
@@ -16,6 +18,7 @@ COPY comps /home/user/comps
16
18
USER user
17
19
18
20
RUN pip install --no-cache-dir --upgrade pip && \
21
+ if [ ${ARCH} = "cpu" ]; then pip install --no-cache-dir torch torchvision --index-url https://download.pytorch.org/whl/cpu; fi && \
19
22
pip install --no-cache-dir -r /home/user/comps/retrievers/pgvector/langchain/requirements.txt
20
23
21
24
ENV PYTHONPATH=$PYTHONPATH:/home/user
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ FROM pathwaycom/pathway:0.13.2-slim
5
5
6
6
ENV DOCKER_BUILDKIT=1
7
7
ENV PYTHONUNBUFFERED=1
8
+ ARG ARCH="cpu"
8
9
9
10
RUN apt-get update && apt-get install -y \
10
11
poppler-utils \
@@ -16,7 +17,8 @@ WORKDIR /app
16
17
17
18
COPY requirements.txt /app/
18
19
19
- RUN pip install --no-cache-dir -r requirements.txt
20
+ RUN if [ ${ARCH} = "cpu" ]; then pip install --no-cache-dir torch torchvision --index-url https://download.pytorch.org/whl/cpu; fi && \
21
+ pip install --no-cache-dir -r requirements.txt
20
22
21
23
COPY vectorstore_pathway.py /app/
22
24
Original file line number Diff line number Diff line change 1
1
langchain_openai
2
2
pathway [xpack-llm ] >= 0.14.1
3
- sentence_transformers
3
+ sentence-transformers
4
4
unstructured [all-docs ] >= 0.10.28 ,< 0.15
You can’t perform that action at this time.
0 commit comments