forked from vllm-project/vllm-ascend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmkdocs.yml
More file actions
368 lines (357 loc) · 14.6 KB
/
Copy pathmkdocs.yml
File metadata and controls
368 lines (357 loc) · 14.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
# MkDocs configuration for vLLM Ascend documentation
# Used for both English and Chinese builds.
# Language is selected via the DOCS_LANG environment variable (default: en).
# Chinese builds also set DOCS_DIR, DOCS_THEME_LANG, DOCS_SITE_NAME,
# DOCS_SITE_URL, DOCS_PALETTE_*, DOCS_MACROS_DIR, DOCS_IS_RELEASE.
# See .readthedocs.zh.yaml for the env vars used by the Chinese build.
#
# Deployed on Read the Docs with Material for MkDocs theme.
site_name: !ENV [DOCS_SITE_NAME, 'vLLM Ascend']
site_url: !ENV [DOCS_SITE_URL, 'https://docs.vllm.ai/projects/ascend/en/latest/']
site_description: vLLM Ascend plugin - a community-maintained hardware plugin for running vLLM on the Ascend NPU.
site_author: the vllm-ascend team
repo_url: https://github.com/vllm-project/vllm-ascend
repo_name: vllm-project/vllm-ascend
edit_uri: edit/main/docs/source/
docs_dir: !ENV [DOCS_DIR, docs/source]
use_directory_urls: false
# ---- Theme: Material for MkDocs ----
theme:
name: material
language: !ENV [DOCS_THEME_LANG, en]
logo: logos/vllm-ascend-logo-text-light.png
favicon: logos/vllm-ascend-logo-text-light.png
features:
- navigation.tabs
- navigation.tabs.sticky
- navigation.sections
- navigation.expand
- navigation.indexes
- navigation.top
- navigation.tracking
- toc.follow
- search.suggest
- search.highlight
- search.share
- content.code.copy
- content.code.select
- content.tabs.link
- content.action.edit
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
primary: !ENV [DOCS_PALETTE_LIGHT_PRIMARY, white]
accent: indigo
logo: logos/vllm-ascend-logo-text-light.png
toggle:
icon: material/brightness-7
name: !ENV [DOCS_PALETTE_LIGHT_TOGGLE_NAME, 'Switch to dark mode']
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: !ENV [DOCS_PALETTE_DARK_PRIMARY, black]
accent: indigo
logo: logos/vllm-ascend-logo-text-dark.png
toggle:
icon: material/brightness-4
name: !ENV [DOCS_PALETTE_DARK_TOGGLE_NAME, 'Switch to system preference']
icon:
repo: fontawesome/brands/github
custom_dir: docs/overrides
# ---- Plugins ----
plugins:
- search:
separator: '[\s\-,:!=\[\]()"]+'
# Both sites add ja for Lunr; English pages still index fine with ja enabled.
lang:
- en
- ja
- macros:
module_name: docs/hooks/macros_main
include_dir: !ENV [DOCS_MACROS_DIR, docs/source]
on_undefined: keep
- exclude:
glob:
- "_build/*"
- "*.zh.md"
- "_templates/*"
- "**/*.inc.md"
- "release.template.md"
- "zh/*"
- "__pycache__/*"
# ---- Hooks ----
hooks:
- docs/hooks/model_code.py
# Sets per-page and per-section titles for the active language.
# See docs/hooks/nav_titles.py for the title mapping.
- docs/hooks/nav_titles.py
# ---- Markdown extensions ----
markdown_extensions:
# Python Markdown
- abbr
- admonition
- attr_list
- def_list
- footnotes
- md_in_html
- tables
- toc:
permalink: true
toc_depth: 3
# Python Markdown Extensions
- pymdownx.arithmatex:
generic: true
- pymdownx.betterem:
# Chinese text does not use spaces between words, so smart emphasis
# treats valid constructs such as ``中文**加粗**文本`` as intraword
# markup. The Chinese build enables smart handling only for
# underscores, preserving identifiers such as ``foo_bar_baz``.
smart_enable: !ENV [DOCS_BETTEREM_SMART_ENABLE, all]
- pymdownx.caret
- pymdownx.details
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed:
alternate_style: true
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
# ---- Extra CSS/JS ----
extra_css:
- stylesheets/extra.css
extra_javascript:
- javascripts/mathjax.js
- javascripts/tabbed-toc.js
- https://unpkg.com/mathjax@3/es5/tex-mml-chtml.js
extra:
# Toggle via DOCS_IS_RELEASE env var (set by .readthedocs.yaml for tag builds).
is_release: !ENV [DOCS_IS_RELEASE, false]
# Read the Docs build context, exposed to override templates (e.g. the
# floating "report issue" button in docs/overrides/main.html).
rtd_version: !ENV [READTHEDOCS_VERSION, latest]
docs_lang: !ENV [DOCS_LANG, en]
# ================== Released documentation stack ===========================
# These values are used by Quickstart, Installation, release image/tag examples,
# and the pip installation doctest. Update this group only after a vLLM Ascend
# release and its complete compatible stack have been published and verified;
# do not update it for main development. Git and container tags include the
# leading "v" and are used across tutorials.
vllm_version: v0.23.0
vllm_ascend_version: v0.23.0
# Stable documentation target used by the developer-preview banner.
stable_vllm_ascend_version: v0.23.0
# PyPI versions omit the leading "v" and are used by installation commands/tests.
release_vllm_ascend_version: 0.23.0
release_vllm_version: 0.23.0
# The supported Python range and the Python version inside release images differ.
release_python_version: ">= 3.10, < 3.13"
release_image_python_version: "3.12"
release_hdk_version: "26.0.RC1"
release_cann_version: "9.1.0"
release_pytorch_version: "2.10.0"
release_torch_npu_version: "2.10.0.post4"
release_nnal_version: "9.1.0"
release_triton_ascend_version: "3.2.2"
# ================== Current main development stack ==========================
# The compatibility policy and CPU-only build instructions use these values.
# Update this group when repository requirements or the verified main build image changes.
cann_image_tag: 9.1.0-910b-ubuntu22.04-py3.12
main_python_version: ">= 3.10, < 3.13"
main_cann_version: "9.1.0"
main_pytorch_version: "2.10.0"
main_torch_npu_version: "2.10.0.post4"
main_torchvision_version: "0.25.0"
main_torchaudio_version: "2.10.0"
main_triton_ascend_version: "3.2.2"
social:
- icon: fontawesome/brands/github
link: https://github.com/vllm-project/vllm-ascend
generator: false
# ---- Navigation ----
# File paths are listed without labels; titles come from each page's H1
# (or the bilingual mapping in docs/hooks/nav_titles.py). Section titles
# are translated by the same hook based on the section's first child.
nav:
- index.md
- Getting Started:
- getting_started/overview.md
- getting_started/quick_start.md
- getting_started/installation.md
- Model Tutorials:
- tutorials/models/index.md
- tutorials/models/Qwen3-Dense.md
- tutorials/models/Qwen-VL-Dense.md
- tutorials/models/Qwen3-30B-A3B.md
- tutorials/models/Qwen3-235B-A22B.md
- tutorials/models/Qwen3-VL-30B-A3B-Instruct.md
- tutorials/models/Qwen3-VL-235B-A22B-Instruct.md
- tutorials/models/Qwen3-Coder-30B-A3B.md
- tutorials/models/Qwen3-Embedding.md
- tutorials/models/Qwen3-VL-Embedding.md
- tutorials/models/SigLIP2.md
- tutorials/models/Qwen3-Reranker.md
- tutorials/models/Qwen3-VL-Reranker.md
- tutorials/models/Qwen3-Next.md
- tutorials/models/Qwen3-Omni-30B-A3B-Thinking.md
- tutorials/models/Qwen3.5-27B-Qwen3.6-27B.md
- tutorials/models/Qwen3.5-Dense.md
- tutorials/models/Qwen3.5-397B-A17B.md
- tutorials/models/Qwen3.6-35B-A3B.md
- tutorials/models/Qwen3.8-2.4T-A95B.md
- tutorials/models/Qwen3.8-27B.md
- tutorials/models/DeepSeek-V3.1.md
- tutorials/models/DeepSeek-V3.2.md
- tutorials/models/DeepSeek-V4-Flash.md
- tutorials/models/DeepSeek-V4-Flash-Vision.md
- tutorials/models/DeepSeek-V4.1-Flash.md
- tutorials/models/DeepSeek-V4-Pro.md
- tutorials/models/DeepSeek-R1.md
- tutorials/models/DeepSeekOCR2.md
- tutorials/models/Gemma4.md
- tutorials/models/GLM4.x.md
- tutorials/models/GLM5.md
- tutorials/models/GLM5.2.md
- tutorials/models/GLM5.3.md
- tutorials/models/GLM5.3-Flash.md
- tutorials/models/Kimi-K2-Thinking.md
- tutorials/models/Kimi-K2.5.md
- tutorials/models/Kimi-K2.6.md
- tutorials/models/Kimi-K3.md
- tutorials/models/PaddleOCR-VL.md
- tutorials/models/MiniMax-M2.md
- tutorials/models/MiniMax-M3.md
- tutorials/models/Hunyuan-A13B-Instruct.md
- tutorials/models/Hy3-preview.md
- tutorials/models/Hy4-preview.md
- tutorials/models/Minitron-8B-Base.md
- tutorials/models/LLaVA-OneVision-Qwen2-0.5B-OV.md
- tutorials/models/gpt-oss-120b.md
- tutorials/models/Mixtral-8x7B-Instruct-v0.1.md
- tutorials/models/Qwen3-ASR-1.7B.md
- tutorials/models/Cohere-Transcribe.md
- tutorials/models/Qwen2.5-Math-RM-72B.md
- tutorials/models/InternVL3.5.md
- tutorials/models/Dots3-Note.md
- Feature Tutorials:
- tutorials/features/index.md
- tutorials/features/pd_colocated_mooncake_multi_instance.md
- tutorials/features/pd_disaggregation_mooncake_single_node.md
- tutorials/features/pd_disaggregation_mooncake_multi_node.md
- tutorials/features/dynamic_chunked_pipeline_parallel.md
- tutorials/features/suffix_speculative_decoding.md
- tutorials/features/ray.md
- faqs.md
- User Guide:
- user_guide/index.md
- Features and Models:
- user_guide/support_matrix/index.md
- user_guide/support_matrix/supported_models.md
- user_guide/support_matrix/supported_features.md
- user_guide/support_matrix/feature_matrix.md
- Configuration:
- user_guide/configuration/index.md
- user_guide/configuration/env_vars.md
- user_guide/configuration/additional_config.md
- user_guide/configuration/encoder_cache_manager.md
- Feature Guide:
- user_guide/feature_guide/index.md
- user_guide/feature_guide/graph_mode.md
- user_guide/feature_guide/cpu_binding.md
- user_guide/feature_guide/Ai_QoS_introduction_en.md
- user_guide/feature_guide/quantization.md
- user_guide/feature_guide/sleep_mode.md
- user_guide/feature_guide/structured_output.md
- user_guide/feature_guide/lora.md
- user_guide/feature_guide/expert_parallelism_load_balancer.md
- user_guide/feature_guide/netloader.md
- user_guide/feature_guide/rfork.md
- user_guide/feature_guide/epd_disaggregation.md
- user_guide/feature_guide/kv_pool.md
- user_guide/feature_guide/mooncake_layerwise_adaptation_and_optimization.md
- user_guide/feature_guide/layerwise_and_sparse_kv_cache_offloading.md
- user_guide/feature_guide/kv_cache_cpu_offload.md
- user_guide/feature_guide/recompute_cpu_offload.md
- user_guide/feature_guide/large_scale_ep.md
- user_guide/feature_guide/ucm_deployment.md
- user_guide/feature_guide/Fine_grained_TP.md
- user_guide/feature_guide/speculative_decoding.md
- user_guide/feature_guide/context_parallel.md
- user_guide/feature_guide/sequence_parallelism.md
- user_guide/feature_guide/batch_invariance.md
- user_guide/feature_guide/lmcache_ascend_deployment.md
- user_guide/feature_guide/pipeline_parallel.md
- user_guide/feature_guide/dynamic_chunk_pipeline_parallel.md
- user_guide/feature_guide/flash_attention.md
- user_guide/feature_guide/short_request_first.md
- user_guide/feature_guide/batch_job_aware_scheduler.md
- user_guide/feature_guide/rl.md
- Deployment Guide:
- user_guide/deployment_guide/index.md
- user_guide/deployment_guide/using_volcano_kthena.md
- user_guide/deployment_guide/using_mindie_motor.md
- user_guide/release_notes.md
- Developer Guide:
- developer_guide/index.md
- Contribution:
- developer_guide/contribution/index.md
- developer_guide/contribution/testing.md
- developer_guide/contribution/doc_writing.md
- developer_guide/contribution/multi_node_test.md
- developer_guide/contribution/nightly_ci_test.md
- developer_guide/contribution/e2e_ci_test.md
- Design Documents:
- developer_guide/Design_Documents/index.md
- developer_guide/Design_Documents/patch.md
- developer_guide/Design_Documents/cpu_binding.md
- developer_guide/Design_Documents/ModelRunner_prepare_inputs.md
- developer_guide/Design_Documents/disaggregated_prefill.md
- developer_guide/Design_Documents/layerwise_and_sparse_kv_cache_offloading.md
- developer_guide/Design_Documents/model_runner_v1_eplb.md
- developer_guide/Design_Documents/model_runner_v2_eplb.md
- developer_guide/Design_Documents/ACL_Graph.md
- developer_guide/Design_Documents/KV_Cache_Pool_Guide.md
- developer_guide/Design_Documents/add_custom_aclnn_op.md
- developer_guide/Design_Documents/context_parallel.md
- developer_guide/Design_Documents/balance_schedule_refactor.md
- developer_guide/Design_Documents/dynamic_chunked_pipeline_parallel.md
- developer_guide/Design_Documents/quantization.md
- developer_guide/Design_Documents/npugraph_ex.md
- Evaluation:
- developer_guide/evaluation/index.md
- developer_guide/evaluation/using_evalscope.md
- developer_guide/evaluation/using_lm_eval.md
- developer_guide/evaluation/using_ais_bench.md
- developer_guide/evaluation/using_opencompass.md
- Performance and Debug:
- developer_guide/performance_and_debug/index.md
- developer_guide/performance_and_debug/performance_benchmark.md
- developer_guide/performance_and_debug/optimization_and_tuning.md
- developer_guide/performance_and_debug/service_profiling_guide.md
- developer_guide/performance_and_debug/msprobe_guide.md
- Community:
- community/index.md
- community/governance.md
- community/contributors.md
- community/issue-workflow-guidelines.md
- community/slash-commands.md
- community/versioning_policy.md
- User Stories:
- community/user_stories/index.md
- community/user_stories/llamafactory.md
# ---- Watch ----
watch:
- docs/source
- mkdocs.yml