Skip to content

Commit a315b05

Browse files
committed
Add README.md for UT scripts.
Signed-off-by: ZePan110 <ze.pan@intel.com>
1 parent 4adf686 commit a315b05

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

Translation/tests/README.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Translation UT test scripts
2+
3+
1. Set the required environment variables
4+
5+
```bash
6+
# Example: host_ip="192.168.1.1"
7+
export host_ip="External_Public_IP"
8+
# Example: no_proxy="localhost, 127.0.0.1, 192.168.1.1"
9+
export no_proxy="Your_No_Proxy"
10+
export HUGGINGFACEHUB_API_TOKEN="Your_Huggingface_API_Token"
11+
```
12+
13+
2. Run UT test
14+
15+
On Xeon:
16+
17+
```bash
18+
bash test_compose_on_xeon.sh
19+
```
20+
21+
On Gaudi:
22+
23+
```bash
24+
bash test_compose_on_gaudi.sh
25+
```
26+
27+
On AMD GPU base on TGI:
28+
29+
```bash
30+
bash test_compose_on_rocm.sh
31+
```
32+
33+
On AMD GPU base on vllm:
34+
35+
```bash
36+
bash test_compose_vllm_on_rocm.sh
37+
```

0 commit comments

Comments
 (0)