You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ Deployment are based on released docker images by default, check [docker image l
45
45
| DocSum |[Xeon Instructions](DocSum/docker_compose/intel/cpu/xeon/README.md)|[Gaudi Instructions](DocSum/docker_compose/intel/hpu/gaudi/README.md)|[DocSum with Manifests](DocSum/kubernetes/intel/README.md)|[DocSum with Helm Charts](https://github.com/opea-project/GenAIInfra/tree/main/helm-charts/docsum/README.md)|[DocSum with GMC](DocSum/kubernetes/intel/README_gmc.md)|
46
46
| SearchQnA |[Xeon Instructions](SearchQnA/docker_compose/intel/cpu/xeon/README.md)|[Gaudi Instructions](SearchQnA/docker_compose/intel/hpu/gaudi/README.md)| Not Supported | Not Supported |[SearchQnA with GMC](SearchQnA/kubernetes/intel/README_gmc.md)|
47
47
| FaqGen |[Xeon Instructions](FaqGen/docker_compose/intel/cpu/xeon/README.md)|[Gaudi Instructions](FaqGen/docker_compose/intel/hpu/gaudi/README.md)|[FaqGen with Manifests](FaqGen/kubernetes/intel/README.md)| Not Supported |[FaqGen with GMC](FaqGen/kubernetes/intel/README_gmc.md)|
48
-
| Translation |[Xeon Instructions](Translation/docker_compose/intel/cpu/xeon/README.md)|[Gaudi Instructions](Translation/docker_compose/intel/hpu/gaudi/README.md)|Not Supported | Not Supported |[Translation with GMC](Translation/kubernetes/intel/README_gmc.md)|
48
+
| Translation |[Xeon Instructions](Translation/docker_compose/intel/cpu/xeon/README.md)|[Gaudi Instructions](Translation/docker_compose/intel/hpu/gaudi/README.md)|[Translation with Manifests](Translation/kubernetes/intel/README.md)| Not Supported |[Translation with GMC](Translation/kubernetes/intel/README_gmc.md)|
49
49
| AudioQnA |[Xeon Instructions](AudioQnA/docker_compose/intel/cpu/xeon/README.md)|[Gaudi Instructions](AudioQnA/docker_compose/intel/hpu/gaudi/README.md)|[AudioQnA with Manifests](AudioQnA/kubernetes/intel/README.md)| Not Supported |[AudioQnA with GMC](AudioQnA/kubernetes/intel/README_gmc.md)|
50
50
| VisualQnA |[Xeon Instructions](VisualQnA/docker_compose/intel/cpu/xeon/README.md)|[Gaudi Instructions](VisualQnA/docker_compose/intel/hpu/gaudi/README.md)|[VisualQnA with Manifests](VisualQnA/kubernetes/intel/README.md)| Not Supported |[VisualQnA with GMC](VisualQnA/kubernetes/intel/README_gmc.md)|
51
51
| ProductivitySuite |[Xeon Instructions](ProductivitySuite/docker_compose/intel/cpu/xeon/README.md)| Not Supported |[ProductivitySuite with Manifests](ProductivitySuite/kubernetes/intel/README.md)| Not Supported | Not Supported |
> The following values must be set before you can deploy:
5
+
> HUGGINGFACEHUB_API_TOKEN
6
+
>
7
+
> You can also customize the "MODEL_ID" if needed.
8
+
>
9
+
> You need to make sure you have created the directory `/mnt/opea-models` to save the cached model on the node where the Translation workload is running. Otherwise, you need to modify the `translation.yaml` file to change the `model-volume` to a directory that exists on the node.
10
+
11
+
## Deploy On Xeon
12
+
13
+
```
14
+
cd GenAIExamples/Translation/kubernetes/intel/cpu/xeon/manifests
15
+
export HUGGINGFACEHUB_API_TOKEN="YourOwnToken"
16
+
sed -i "s/insert-your-huggingface-token-here/${HUGGINGFACEHUB_API_TOKEN}/g" translation.yaml
17
+
kubectl apply -f translation.yaml
18
+
```
19
+
20
+
## Deploy On Gaudi
21
+
22
+
```
23
+
cd GenAIExamples/Translation/kubernetes/intel/hpu/gaudi/manifests
24
+
export HUGGINGFACEHUB_API_TOKEN="YourOwnToken"
25
+
sed -i "s/insert-your-huggingface-token-here/${HUGGINGFACEHUB_API_TOKEN}/g" translation.yaml
26
+
kubectl apply -f translation.yaml
27
+
```
28
+
29
+
## Verify Services
30
+
31
+
To verify the installation, run the command `kubectl get pod` to make sure all pods are running.
32
+
33
+
Then run the command `kubectl port-forward svc/translation 8888:8888` to expose the Translation service for access.
34
+
35
+
Open another terminal and run the following command to verify the service if working:
0 commit comments