:root {
--ascend-blue: #0066cc; /* 与导航栏颜色严格一致 */
--text-main: #0066cc;
--text-sub: #6e6e73;
--border-color: #e1e4e8;
}
/* :颜色对齐 */
.hero-banner {
background-color: var(--ascend-blue);
color: white; padding: 50px 30px; border-radius: 12px;
text-align: center; margin-bottom: 40px;
}
.hero-banner h1 { color: white !important; border: none !important; margin: 0 !important; font-size: 2.6rem !important; font-weight: 700 !important; }
.hero-btn {
display: inline-block; background: white; color: var(--ascend-blue);
padding: 12px 35px; border-radius: 6px; text-decoration: none;
font-weight: bold; margin-top: 25px; transition: 0.3s ease;
}
.hero-btn:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
/* 分类标题样式 */
.scene-header {
border-left: 5px solid var(--ascend-blue); padding-left: 15px;
margin: 40px 0 25px 0; font-size: 1.6rem; font-weight: bold; color: var(--text-main);
}
/* 项目网格布局 */
.grid-container {
display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
gap: 20px; margin-bottom: 50px;
}
/* 卡片美化 */
.project-card {
border: 1px solid var(--border-color); border-radius: 12px; padding: 24px;
background: #fff; transition: all 0.3s ease; display: flex; flex-direction: column;
height: 100%;
}
.project-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,102,204,0.12); border-color: var(--ascend-blue); }
/* 卡片顶部:logo和标题在卡片中居中显示 */
.card-top {
display: grid;
grid-template-columns: 56px minmax(0, 1fr);
align-items: center;
justify-content: center;
margin-bottom: 15px;
gap: 16px;
width: min(100%, 360px);
margin-left: auto;
margin-right: auto;
}
/* Logo容器:固定尺寸,完美居中 */
.card-icon {
width: 56px;
height: 56px;
min-width: 56px;
min-height: 56px;
flex-shrink: 0;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
background-color: #f8f9fa;
border-radius: 8px;
padding: 8px;
display: flex;
align-items: center;
justify-content: center;
}
/* 标题:移除所有默认边距,确保垂直居中 */
.card-title {
font-size: 1.25rem;
font-weight: 600;
color: var(--text-main);
margin: 0 !important;
padding: 0 !important;
line-height: 1.3;
display: flex;
align-items: center;
min-height: 56px;
justify-content: flex-start;
text-align: left;
}
.card-desc { font-size: 0.92rem; color: var(--text-sub); line-height: 1.6; margin-bottom: 20px; flex-grow: 1; height: 3.2em; overflow: hidden; }
/* 三要素分散等距居中显示 */
.card-footer {
border-top: 1px solid #f2f2f7;
padding-top: 15px;
display: flex;
justify-content: space-evenly;
align-items: center;
font-size: 0.88rem;
}
.card-footer a {
text-decoration: none;
color: var(--ascend-blue);
font-weight: 500;
}
.card-footer a:hover { text-decoration: underline; }
.split { display: none; }
适用于 Pytorch 的多 GPUs/NPUs 训练工具链。
分布式训练优化库,V0.10.1 版本起支持昇腾。
从 Hugging Face Hub 加载高性能计算算子内核。
PyTorch AI 框架,2.1 版本起官方原生支持昇腾 NPU。
适用于 Pytorch、TensorFlow 和 JAX 先进的机器学习库。
Unified Efficient Fine-Tuning of 100+ LLMs & VLMs。
高效微调框架,支持 600+ LLM 和 300+ MLLM 适配昇腾。
Transformer Reinforcement Learning
适用于 SFT、PPO、DPO 等方法的模型后训练库。
Scaling Any Modality Model Training with Model-Centric Distributed Recipe Zoo。
用于 LLM 的强化学习训练库,适配昇腾并行计算方案。
C/C++ 实现的 Meta LLaMa 架构,深度适配昇腾后端。
跨平台高性能推理加速器,v1.13.1 起支持昇腾。
用于 LLM 和 VLM 的高速服务框架,极致提升昇腾吞吐量。
面向昇腾 NPU 的 vLLM 社区插件,支持主流大模型高性能推理加速。
.. toctree::
:maxdepth: 2
:hidden:
:caption: 🏁 开始使用
sources/ascend/quick_install.rst
.. toctree::
:maxdepth: 1
:hidden:
:caption: 🏗️ 基础设施与框架
sources/accelerate/index.rst
sources/deepspeed/index.rst
sources/kernels/index.rst
sources/pytorch/index.rst
sources/transformers/index.rst
.. toctree::
:maxdepth: 1
:hidden:
:caption: 🧠 训练与微调框架
sources/LLaMA-Factory/index.rst
sources/ms-swift/index.rst
sources/roll/index.rst
sources/torchtitan/index.rst
sources/trl/index.rst
sources/VeOmni/index.rst
sources/verl/index.rst
.. toctree::
:maxdepth: 1
:hidden:
:caption: 🚀 推理与服务
sources/llama_cpp/index.rst
sources/lm_deploy/index.rst
sources/onnxruntime/index.rst
sources/sentence_transformers/index.rst
sources/sglang/index.rst
sources/torchchat/index.rst
sources/vllm-ascend/index.rst
.. toctree::
:maxdepth: 1
:hidden:
:caption: 🎨 多模态、应用与评测
sources/Diffusers/index.rst
sources/lm_evaluation/index.rst
sources/open_clip/index.rst
sources/opencompass/index.rst
sources/opencv/index.rst
sources/sd_webui/index.rst
sources/timm/index.rst
sources/wenet/index.rst
sources/whisper_cpp/index.rst