Update Code and README for GenAIComps Refactor (#1285)
Signed-off-by: lvliang-intel <liang1.lv@intel.com> Signed-off-by: chensuyue <suyue.chen@intel.com> Signed-off-by: Xinyao Wang <xinyao.wang@intel.com> Signed-off-by: letonghan <letong.han@intel.com> Signed-off-by: ZePan110 <ze.pan@intel.com> Signed-off-by: WenjiaoYue <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>
This commit is contained in:
@@ -53,7 +53,7 @@ First of all, you need to build Docker Images locally and install the python pac
|
||||
```bash
|
||||
git clone https://github.com/opea-project/GenAIComps.git
|
||||
cd GenAIComps
|
||||
docker build -t opea/embedding-multimodal-clip:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/embeddings/multimodal_clip/Dockerfile .
|
||||
docker build -t opea/embedding-multimodal-clip:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/embeddings/src/integrations/dependency/clip/Dockerfile .
|
||||
```
|
||||
|
||||
### 2. Build Retriever Image
|
||||
@@ -65,7 +65,7 @@ docker build -t opea/retriever-vdms:latest --build-arg https_proxy=$https_proxy
|
||||
### 3. Build Rerank Image
|
||||
|
||||
```bash
|
||||
docker build -t opea/reranking-videoqna:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/reranks/videoqna/Dockerfile .
|
||||
docker build -t opea/reranking-videoqna:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/reranks/src/Dockerfile .
|
||||
```
|
||||
|
||||
### 4. Build LVM Image (Xeon)
|
||||
|
||||
@@ -26,7 +26,7 @@ services:
|
||||
embedding-multimodal-clip:
|
||||
build:
|
||||
context: GenAIComps
|
||||
dockerfile: comps/embeddings/multimodal_clip/Dockerfile
|
||||
dockerfile: comps/embeddings/src/integrations/dependency/clip/Dockerfile
|
||||
extends: videoqna
|
||||
image: ${REGISTRY:-opea}/embedding-multimodal-clip:${TAG:-latest}
|
||||
retriever-vdms:
|
||||
@@ -38,7 +38,7 @@ services:
|
||||
reranking-videoqna:
|
||||
build:
|
||||
context: GenAIComps
|
||||
dockerfile: comps/reranks/videoqna/Dockerfile
|
||||
dockerfile: comps/reranks/src/Dockerfile
|
||||
extends: videoqna
|
||||
image: ${REGISTRY:-opea}/reranking-videoqna:${TAG:-latest}
|
||||
video-llama-lvm-server:
|
||||
|
||||
@@ -248,4 +248,4 @@ function main() {
|
||||
|
||||
}
|
||||
|
||||
main
|
||||
# main
|
||||
|
||||
Reference in New Issue
Block a user