Skip to content

Commit 0958c6e

Browse files
authored
[MISC] Clean up uesless babel tip in po (vllm-project#11654)
Clean up uesless babel tip in po - vLLM version: v0.23.0 - vLLM main: vllm-project/vllm@1f486d9 Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com>
1 parent ae85cf7 commit 0958c6e

24 files changed

Lines changed: 0 additions & 822 deletions

docs/source/locale/zh_CN/LC_MESSAGES/developer_guide/Design_Documents/cpu_binding.po

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,76 +19,59 @@ msgstr ""
1919
"Plural-Forms: nplurals=1; plural=0;\n"
2020
"Generated-By: Babel 2.18.0\n"
2121

22-
#: ../../source/developer_guide/Design_Documents/cpu_binding.md:24
2322
msgid "This is also why upstream NUMA flags are adapted on Ascend:"
2423
msgstr "这也是上游 NUMA 标志在 Ascend 上被适配的原因:"
2524

26-
#: ../../source/developer_guide/Design_Documents/cpu_binding.md:31
2725
msgid "The allocator derives its plan from runtime host state:"
2826
msgstr "分配器根据运行时主机状态推导其计划:"
2927

30-
#: ../../source/developer_guide/Design_Documents/cpu_binding.md:43
3128
msgid "The binding strategy is selected by Ascend device type:"
3229
msgstr "绑定策略根据 Ascend 设备类型选择:"
3330

34-
#: ../../source/developer_guide/Design_Documents/cpu_binding.md:51
3531
msgid ""
3632
"If `topo_affinity` is selected but topo affinity is unavailable, the "
3733
"allocator falls back to `global_slice`."
3834
msgstr "如果选择了 `topo_affinity` 但拓扑亲和性不可用,分配器将回退到 `global_slice`。"
3935

40-
#: ../../source/developer_guide/Design_Documents/cpu_binding.md:82
4136
msgid ""
4237
"`global_slice` requires enough CPUs for the selected device's role split:"
4338
msgstr "`global_slice` 需要足够的 CPU 来满足所选设备的角色拆分:"
4439

45-
#: ../../source/developer_guide/Design_Documents/cpu_binding.md:114
4640
msgid "After a CPU pool is built, the allocator splits it by role:"
4741
msgstr "构建CPU池后,分配器按角色进行拆分:"
4842

49-
#: ../../source/developer_guide/Design_Documents/cpu_binding.md:116
5043
msgid "For devices with IRQ binding:"
5144
msgstr "对于支持IRQ绑定的设备:"
5245

53-
#: ../../source/developer_guide/Design_Documents/cpu_binding.md:125
5446
msgid "For Ascend 950:"
5547
msgstr "对于Ascend 950:"
5648

57-
#: ../../source/developer_guide/Design_Documents/cpu_binding.md:159
5849
msgid "Inputs:"
5950
msgstr "输入:"
6051

61-
#: ../../source/developer_guide/Design_Documents/cpu_binding.md:165
6252
msgid "Computation:"
6353
msgstr "计算:"
6454

65-
#: ../../source/developer_guide/Design_Documents/cpu_binding.md:172
6655
msgid "Global slice view:"
6756
msgstr "全局切片视图:"
6857

69-
#: ../../source/developer_guide/Design_Documents/cpu_binding.md:180
7058
msgid "Role split inside each worker slice:"
7159
msgstr "每个工作进程切片内的角色拆分:"
7260

73-
#: ../../source/developer_guide/Design_Documents/cpu_binding.md:188
7461
msgid "Concrete examples:"
7562
msgstr "具体示例:"
7663

77-
#: ../../source/developer_guide/Design_Documents/cpu_binding.md:202
7864
msgid "Inputs from an A2 topology:"
7965
msgstr "来自A2拓扑的输入:"
8066

81-
#: ../../source/developer_guide/Design_Documents/cpu_binding.md:214
8267
msgid "Final pools:"
8368
msgstr "最终池:"
8469

85-
#: ../../source/developer_guide/Design_Documents/cpu_binding.md:221
8670
msgid ""
8771
"This avoids overlapping CPU pools even when the two workers are launched as "
8872
"independent single-card services."
8973
msgstr "即使两个工作进程作为独立的单卡服务启动,这也能避免CPU池重叠。"
9074

91-
#: ../../source/developer_guide/Design_Documents/cpu_binding.md:225
9275
msgid "The allocator logs the selected mode and allocation plan:"
9376
msgstr "分配器记录所选模式和分配计划:"
9477

docs/source/locale/zh_CN/LC_MESSAGES/developer_guide/Design_Documents/quantization.po

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,16 @@ msgstr ""
1919
"Plural-Forms: nplurals=1; plural=0;\n"
2020
"Generated-By: Babel 2.18.0\n"
2121

22-
#: ../../source/developer_guide/Design_Documents/quantization.md:3
2322
msgid ""
2423
"This document provides guidance for adapting quantization algorithms and "
2524
"models related to **ModelSlim**."
2625
msgstr "本文档为适配与 **ModelSlim** 相关的量化算法和模型提供指导。"
2726

28-
#: ../../source/developer_guide/Design_Documents/quantization.md:9
2927
msgid ""
3028
"The current process for registering and obtaining quantization methods in "
3129
"vLLM Ascend is as follows:"
3230
msgstr "vLLM Ascend 中注册和获取量化方法的当前流程如下:"
3331

34-
#: ../../source/developer_guide/Design_Documents/quantization.md:13
3532
msgid ""
3633
"vLLM Ascend registers a custom Ascend quantization method. By configuring "
3734
"the `--quantization ascend` parameter (or `quantization=\"ascend\"` for "
@@ -45,7 +42,6 @@ msgstr ""
4542
"`AscendModelSlimConfig`,并调用 `get_quant_method` 来获取每个权重部分对应的量化方法,存储在 "
4643
"`quant_method` 属性中。"
4744

48-
#: ../../source/developer_guide/Design_Documents/quantization.md:15
4945
msgid ""
5046
"Currently supported quantization methods include `AscendLinearMethod`, "
5147
"`AscendFusedMoEMethod`, `AscendEmbeddingMethod`, and their corresponding "
@@ -55,19 +51,16 @@ msgstr ""
5551
"`AscendLinearMethod`、`AscendFusedMoEMethod`、`AscendEmbeddingMethod` "
5652
"及其对应的非量化方法:"
5753

58-
#: ../../source/developer_guide/Design_Documents/quantization.md:19
5954
msgid ""
6055
"The quantization method base class defined by vLLM and the overall call "
6156
"flow of quantization methods are as follows:"
6257
msgstr "vLLM 定义的量化方法基类以及量化方法的整体调用流程如下:"
6358

64-
#: ../../source/developer_guide/Design_Documents/quantization.md:23
6559
msgid ""
6660
"The `embedding` method is generally not implemented for quantization, "
6761
"focusing only on the other three methods."
6862
msgstr "量化通常不实现 `embedding` 方法,只关注其他三种方法。"
6963

70-
#: ../../source/developer_guide/Design_Documents/quantization.md:25
7164
msgid ""
7265
"The `create_weights` method is used for weight initialization; the "
7366
"`process_weights_after_loading` method is used for weight post-processing, "
@@ -78,7 +71,6 @@ msgstr ""
7871
"`create_weights` 方法用于权重初始化;`process_weights_after_loading` "
7972
"方法用于权重的后处理,例如转置、格式转换、数据类型转换等;`apply` 方法用于在前向过程中执行激活量化和量化矩阵乘法计算。"
8073

81-
#: ../../source/developer_guide/Design_Documents/quantization.md:27
8274
msgid ""
8375
"We need to implement the `create_weights`, `process_weights_after_loading`, "
8476
"and `apply` methods for different **layers** (**attention**, **mlp**, **MoE "
@@ -87,7 +79,6 @@ msgstr ""
8779
"我们需要针对不同的**层**(**attention**、**mlp**、**MoE (Mixture of Experts)**)实现 "
8880
"`create_weights`、`process_weights_after_loading` 和 `apply` 方法。"
8981

90-
#: ../../source/developer_guide/Design_Documents/quantization.md:29
9182
msgid ""
9283
"**Supplement**: When loading the model, the quantized model's description "
9384
"file **quant_model_description.json** needs to be read. This file describes "
@@ -97,33 +88,28 @@ msgstr ""
9788
"**补充**:加载模型时,需要读取量化模型的描述文件 "
9889
"**quant_model_description.json**。该文件描述了模型权重各部分的量化配置和参数,例如:"
9990

100-
#: ../../source/developer_guide/Design_Documents/quantization.md:49
10191
msgid ""
10292
"Based on the above content, we present a brief description of the adaptation"
10393
" process for quantization algorithms and quantized models."
10494
msgstr "基于以上内容,我们简要介绍量化算法和量化模型的适配流程。"
10595

106-
#: ../../source/developer_guide/Design_Documents/quantization.md:73
10796
msgid ""
10897
"Adapting a new quantized model requires ensuring the following three points:"
10998
msgstr "适配新的量化模型需要确保以下三点:"
11099

111-
#: ../../source/developer_guide/Design_Documents/quantization.md:100
112100
msgid ""
113101
"vLLM Ascend supports multiple quantization algorithms. The following table "
114102
"provides an overview of each quantization algorithm based on the "
115103
"implementation in the `vllm_ascend.quantization` module:"
116104
msgstr ""
117105
"vLLM Ascend 支持多种量化算法。下表基于 `vllm_ascend.quantization` 模块中的实现,概述了每种量化算法:"
118106

119-
#: ../../source/developer_guide/Design_Documents/quantization.md:112
120107
msgid ""
121108
"**Static vs Dynamic:** Static quantization uses pre-computed scaling factors"
122109
" with better performance, while dynamic quantization computes scaling "
123110
"factors on-the-fly for each token/activation tensor with higher precision."
124111
msgstr "**静态 vs 动态:** 静态量化使用预计算的缩放因子,性能更好;动态量化为每个 token/激活张量实时计算缩放因子,精度更高。"
125112

126-
#: ../../source/developer_guide/Design_Documents/quantization.md:114
127113
msgid ""
128114
"**Granularity:** Refers to the scope of scaling factor computation (e.g., "
129115
"per-tensor, per-channel, per-group)."

docs/source/locale/zh_CN/LC_MESSAGES/developer_guide/evaluation/accuracy_report/index.po

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,5 @@ msgstr ""
1919
"Plural-Forms: nplurals=1; plural=0;\n"
2020
"Generated-By: Babel 2.17.0\n"
2121

22-
#: ../../developer_guide/evaluation/accuracy_report/index.md:1
23-
#: ../../developer_guide/evaluation/accuracy_report/index.md:3
2422
msgid "Accuracy Report"
2523
msgstr "准确性报告"

0 commit comments

Comments
 (0)