Skip to content

Commit

Permalink
fix dockerfile path for rerank (#135)
Browse files Browse the repository at this point in the history
Signed-off-by: chensuyue <[email protected]>
  • Loading branch information
chensuyue authored May 14, 2024
1 parent c6b6a32 commit aecfc92
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ChatQnA_gaudi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
types: [opened, reopened, ready_for_review, synchronize] # added `ready_for_review` since draft is skipped
paths:
- ChatQnA/microservice/gaudi/**
- ChatQnA/tests/test_chatqna_on_gaudi.sh
- "!**.md"
- "!**/ui/**"
- .github/workflows/ChatQnA_gaudi.yml
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ChatQnA_xeon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
types: [opened, reopened, ready_for_review, synchronize] # added `ready_for_review` since draft is skipped
paths:
- ChatQnA/microservice/xeon/**
- ChatQnA/tests/test_chatqna_on_xeon.sh
- "!**.md"
- "!**/ui/**"
- .github/workflows/ChatQnA_xeon.yml
Expand Down
2 changes: 1 addition & 1 deletion ChatQnA/microservice/gaudi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ docker build -t opea/gen-ai-comps:retriever-redis-server --build-arg https_proxy
### 4. Build Rerank Image

```bash
docker build -t opea/gen-ai-comps:reranking-tei-server --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/reranks/docker/Dockerfile .
docker build -t opea/gen-ai-comps:reranking-tei-server --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/reranks/langchain/docker/Dockerfile .
```

### 5. Build LLM Image
Expand Down
2 changes: 1 addition & 1 deletion ChatQnA/microservice/xeon/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ docker build -t opea/gen-ai-comps:retriever-redis-server --build-arg https_proxy
### 3. Build Rerank Image

```bash
docker build -t opea/gen-ai-comps:reranking-tei-xeon-server --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/reranks/docker/Dockerfile .
docker build -t opea/gen-ai-comps:reranking-tei-xeon-server --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/reranks/langchain/docker/Dockerfile .
```

### 4. Build LLM Image
Expand Down
2 changes: 1 addition & 1 deletion ChatQnA/tests/test_chatqna_on_gaudi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function build_docker_image() {

docker build -t opea/gen-ai-comps:embedding-tei-server -f comps/embeddings/langchain/docker/Dockerfile .
docker build -t opea/gen-ai-comps:retriever-redis-server -f comps/retrievers/langchain/docker/Dockerfile .
docker build -t opea/gen-ai-comps:reranking-tei-server -f comps/reranks/docker/Dockerfile .
docker build -t opea/gen-ai-comps:reranking-tei-server -f comps/reranks/langchain/docker/Dockerfile .
docker build -t opea/gen-ai-comps:llm-tgi-gaudi-server -f comps/llms/langchain/docker/Dockerfile .

cd ..
Expand Down
2 changes: 1 addition & 1 deletion ChatQnA/tests/test_chatqna_on_xeon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function build_docker_image() {

docker build -t opea/gen-ai-comps:embedding-tei-server -f comps/embeddings/langchain/docker/Dockerfile .
docker build -t opea/gen-ai-comps:retriever-redis-server -f comps/retrievers/langchain/docker/Dockerfile .
docker build -t opea/gen-ai-comps:reranking-tei-xeon-server -f comps/reranks/docker/Dockerfile .
docker build -t opea/gen-ai-comps:reranking-tei-xeon-server -f comps/reranks/langchain/docker/Dockerfile .
docker build -t opea/gen-ai-comps:llm-tgi-server -f comps/llms/langchain/docker/Dockerfile .

docker images
Expand Down

0 comments on commit aecfc92

Please sign in to comment.