Skip to content

Commit df36566

Browse files
committed
Fix indentations in benchmark.md
Signed-off-by: windsonsea <haifeng.yao@daocloud.io>
1 parent 50fb1a1 commit df36566

3 files changed

Lines changed: 56 additions & 56 deletions

File tree

docs/userguide/benchmark.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ Three instances from the vLLM benchmark were used to evaluate vGPU-device-plugin
1111
| Parameter | Value |
1212
| ------------------ | :------------: |
1313
| Kubernetes version | v1.35.4 |
14-
| Docker version | 29.4.0 |
14+
| Docker version | v29.4.0 |
1515
| GPU Type | A100-SXM4-40GB |
1616
| GPU Count | 2 |
1717

1818
## Test Instances
1919

2020
| Instance | Description |
2121
| --------------- | :---------------------------------------------------: |
22-
| Native | k8s + nvidia k8s-device-plugin |
23-
| Opensource_v280 | k8s + vGPU k8s-device-plugin, opensource version v280 |
24-
| Opensource_v290 | k8s + vGPU k8s-device-plugin, opensource version v290 |
22+
| Native | Kubernetes + NVIDIA k8s-device-plugin |
23+
| Opensource_v280 | Kubernetes + vGPU k8s-device-plugin, opensource version v280 |
24+
| Opensource_v290 | Kubernetes + vGPU k8s-device-plugin, opensource version v290 |
2525

2626
## Test Cases
2727

@@ -44,23 +44,23 @@ Three instances from the vLLM benchmark were used to evaluate vGPU-device-plugin
4444

4545
1. Build the benchmark images:
4646

47-
```bash
48-
cd benchmarks/ai-benchmark
49-
sh build.sh
50-
```
47+
```bash
48+
cd benchmarks/ai-benchmark
49+
sh build.sh
50+
```
5151

5252
1. Run the benchmark job:
5353

54-
```bash
55-
kubectl apply -f benchmarks/deployments/job-on-nvidia-device-plugin.yml
56-
kubectl apply -f benchmarks/deployments/job-on-hami.yml
57-
```
54+
```bash
55+
kubectl apply -f benchmarks/deployments/job-on-nvidia-device-plugin.yml
56+
kubectl apply -f benchmarks/deployments/job-on-hami.yml
57+
```
5858

5959
1. View the results:
6060

61-
```bash
62-
kubectl cp <pod-name>:/results ./results
63-
python3 benchmarks/ai-benchmark/gen_report.py \
64-
--dataset native ./results/bench_native.jsonl \
65-
--dataset hami ./results/bench_hami.jsonl
66-
```
61+
```bash
62+
kubectl cp <pod-name>:/results ./results
63+
python3 benchmarks/ai-benchmark/gen_report.py \
64+
--dataset native ./results/bench_native.jsonl \
65+
--dataset hami ./results/bench_hami.jsonl
66+
```

i18n/zh/docusaurus-plugin-content-docs/current/userguide/benchmark.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ sidebar_label: 性能测试
1111
| 参数 ||
1212
| ------------------ | :------------: |
1313
| Kubernetes version | v1.35.4 |
14-
| Docker version | 29.4.0 |
14+
| Docker version | v29.4.0 |
1515
| GPU Type | A100-SXM4-40GB |
1616
| GPU 数量 | 2 |
1717

1818
## 测试实例
1919

2020
| 测试名称 | 测试用例 |
2121
| --------------- | :-----------------------------------------: |
22-
| Native | k8s + nvidia 官方 k8s-device-plugin |
23-
| Opensource_v280 | k8s + vGPU k8s-device-plugin,开源版本 v280 |
24-
| Opensource_v290 | k8s + vGPU k8s-device-plugin,开源版本 v290 |
22+
| Native | Kubernetes + NVIDIA 官方 k8s-device-plugin |
23+
| Opensource_v280 | Kubernetes + vGPU k8s-device-plugin,开源版本 v280 |
24+
| Opensource_v290 | Kubernetes + vGPU k8s-device-plugin,开源版本 v290 |
2525

2626
## 测试内容
2727

@@ -42,25 +42,25 @@ sidebar_label: 性能测试
4242

4343
1. 安装 k8s-vGPU-scheduler,并配置相应的参数。
4444

45-
2. 构建 benchmark 镜像:
45+
1. 构建 benchmark 镜像:
4646

47-
```bash
48-
cd benchmarks/ai-benchmark
49-
sh build.sh
50-
```
47+
```bash
48+
cd benchmarks/ai-benchmark
49+
sh build.sh
50+
```
5151

5252
1. 运行 benchmark 任务:
5353

54-
```bash
55-
kubectl apply -f benchmarks/deployments/job-on-nvidia-device-plugin.yml
56-
kubectl apply -f benchmarks/deployments/job-on-hami.yml
57-
```
54+
```bash
55+
kubectl apply -f benchmarks/deployments/job-on-nvidia-device-plugin.yml
56+
kubectl apply -f benchmarks/deployments/job-on-hami.yml
57+
```
5858

5959
1. 查看结果:
6060

61-
```bash
62-
kubectl cp <pod-name>:/results ./results
63-
python3 benchmarks/ai-benchmark/gen_report.py \
64-
--dataset native ./results/bench_native.jsonl \
65-
--dataset hami ./results/bench_hami.jsonl
66-
```
61+
```bash
62+
kubectl cp <pod-name>:/results ./results
63+
python3 benchmarks/ai-benchmark/gen_report.py \
64+
--dataset native ./results/bench_native.jsonl \
65+
--dataset hami ./results/bench_hami.jsonl
66+
```

i18n/zh/docusaurus-plugin-content-docs/version-v2.9.0/userguide/benchmark.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ sidebar_label: 性能测试
1111
| 参数 ||
1212
| ------------------ | :------------: |
1313
| Kubernetes version | v1.35.4 |
14-
| Docker version | 29.4.0 |
14+
| Docker version | v29.4.0 |
1515
| GPU Type | A100-SXM4-40GB |
1616
| GPU 数量 | 2 |
1717

1818
## 测试实例
1919

2020
| 测试名称 | 测试用例 |
2121
| --------------- | :-----------------------------------------: |
22-
| Native | k8s + nvidia 官方 k8s-device-plugin |
23-
| Opensource_v280 | k8s + VGPU k8s-device-plugin,开源版本 v280 |
24-
| Opensource_v290 | k8s + VGPU k8s-device-plugin,开源版本 v290 |
22+
| Native | Kubernetes + NVIDIA 官方 k8s-device-plugin |
23+
| Opensource_v280 | Kubernetes + VGPU k8s-device-plugin,开源版本 v280 |
24+
| Opensource_v290 | Kubernetes + VGPU k8s-device-plugin,开源版本 v290 |
2525

2626
## 测试内容
2727

@@ -42,25 +42,25 @@ sidebar_label: 性能测试
4242

4343
1. 安装 k8s-vGPU-scheduler,并配置相应的参数。
4444

45-
2. 构建 benchmark 镜像:
45+
1. 构建 benchmark 镜像:
4646

47-
```bash
48-
cd benchmarks/ai-benchmark
49-
sh build.sh
50-
```
47+
```bash
48+
cd benchmarks/ai-benchmark
49+
sh build.sh
50+
```
5151

5252
1. 运行 benchmark 任务:
5353

54-
```bash
55-
kubectl apply -f benchmarks/deployments/job-on-nvidia-device-plugin.yml
56-
kubectl apply -f benchmarks/deployments/job-on-hami.yml
57-
```
54+
```bash
55+
kubectl apply -f benchmarks/deployments/job-on-nvidia-device-plugin.yml
56+
kubectl apply -f benchmarks/deployments/job-on-hami.yml
57+
```
5858

5959
1. 查看结果:
6060

61-
```bash
62-
kubectl cp <pod-name>:/results ./results
63-
python3 benchmarks/ai-benchmark/gen_report.py \
64-
--dataset native ./results/bench_native.jsonl \
65-
--dataset hami ./results/bench_hami.jsonl
66-
```
61+
```bash
62+
kubectl cp <pod-name>:/results ./results
63+
python3 benchmarks/ai-benchmark/gen_report.py \
64+
--dataset native ./results/bench_native.jsonl \
65+
--dataset hami ./results/bench_hami.jsonl
66+
```

0 commit comments

Comments
 (0)