Skip to content

Latest commit

 

History

History
399 lines (340 loc) · 23 KB

File metadata and controls

399 lines (340 loc) · 23 KB

昇腾开源文档中心

: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; }

昇腾开源生态全景图

赋能全球开发者,构建极致性能的昇腾 AI 算力底座

🚀 快速安装昇腾环境

🏗️ 底层 AI 框架与基础设施

accelerate

适用于 Pytorch 的多 GPUs/NPUs 训练工具链。

DeepSpeed

分布式训练优化库,V0.10.1 版本起支持昇腾。

kernels

从 Hugging Face Hub 加载高性能计算算子内核。

pytorch

PyTorch AI 框架,2.1 版本起官方原生支持昇腾 NPU。

transformers

适用于 Pytorch、TensorFlow 和 JAX 先进的机器学习库。

🧠 大模型/多模态训练与微调

LLaMA-Factory

Unified Efficient Fine-Tuning of 100+ LLMs & VLMs。

ms-swift

高效微调框架,支持 600+ LLM 和 300+ MLLM 适配昇腾。

ROLL

大规模强化学习优化,针对昇腾算力平衡进行了调优。

torchtitan

用于语言大模型训练的 PyTorch 原生库。

Transformer Reinforcement Learning

适用于 SFT、PPO、DPO 等方法的模型后训练库。

VeOmni

Scaling Any Modality Model Training with Model-Centric Distributed Recipe Zoo。

verl

用于 LLM 的强化学习训练库,适配昇腾并行计算方案。

🚀 高性能推理与服务

llama.cpp

C/C++ 实现的 Meta LLaMa 架构,深度适配昇腾后端。

lmdeploy

用于压缩、部署和服务 LLM 的工具包。

onnxruntime

跨平台高性能推理加速器,v1.13.1 起支持昇腾。

sentence-transformers

高性能文本和图像 Embedding 库。

sglang

用于 LLM 和 VLM 的高速服务框架,极致提升昇腾吞吐量。

torchchat

基于 PyTorch 的对话推理交互库。

vLLM-Ascend

面向昇腾 NPU 的 vLLM 社区插件,支持主流大模型高性能推理加速。

🎨 多模态应用、评测与工具

diffusers

扩散模型工具链,支持昇腾 NPU 加速图像生成。

lm-evaluation-harness

语言模型评测工具,支持昇腾基准。

open_clip

开源 CLIP 模型实现,支持多模态语义对齐。

opencompass

大模型标准测试工具。

opencv

开源计算机视觉库,支持昇腾平台处理。

stable-diffusion-webui

Stable Diffusion 可视化工具链。

pytorch-image-models

PyTorch 图像模型库适配版本。

wenet

端到端的语音识别工具包。

whisper.cpp

Whisper 模型高性能推理语音识别框架。

.. 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