新闻详情

新闻详情

首页 / 资讯中心 / 详情

CANN/GE ES图构建文档

发布时间:2026/9/10 19:38:57来源:尧图网络
CANN/GE ES图构建文档
ES (Eager Style) Documentation【免费下载链接】geGEGraph Engine是面向昇腾的图编译器和执行器提供了计算图优化、多流并行、内存复用和模型下沉等技术手段加速模型执行效率减少模型内存占用。 GE 提供对 PyTorch、TensorFlow 前端的友好接入能力并同时支持 onnx、pb 等主流模型格式的解析与编译。项目地址: https://gitcode.com/cann/geOverviewES (Eager Style) is a functional interface module in GraphEngine for building computation graphs, providing convenient graph building functionality. The ES module supports multiple programming languages (C, C, Python), offering flexible and easy-to-use graph building methods.Core Characteristics of ES Series API:Auto-generation: API is not handwritten but auto-generated based on operator prototype definitions, reducing operator developer burden, especially for custom operators that also need to use ES API for graph building scenarios.Multi-language support: Native support for C, C, and extensible support for Python, meeting different development habits.Full-dimension compatibility: Through good API design and code generation mechanism, combined with IR semantic compatibility handling, achieves forward/backward API and ABI compatibility guarantee from the source.Three Key Components of ES:ES Basic Data Structures(GE Repository/GE Package): Provides core infrastructure likeEsGraphBuilder(graph builder),EsTensorHolder(tensor holder), which are the foundation for graph building.ES Code Generator(GE Repository/GE Package): Core toolgen_esb, responsible for reading operator prototype definitions and auto-generating graph building API code for each operator.Generated ES API(OPP Package): The final artifact built by generator, included in operator package, is the function interface that users directly call.Quick NavigationAPI Reference DocumentationPython API- Eager Style Graph Builder Python Interface DocumentationMain interfaces of GraphBuilder, TensorHolder and other basic classesC/C API- Eager Style Graph Builder C/C Interface DocumentationMain interfaces of EsGraphBuilder, EsTensorHolder and other basic classesDesign DocumentationOverall Architecture Design- ES module overall architecture design explanationOwnership Relationship Analysis- ES module Python layer and C layer resource management mechanism explanationTool Documentationgen_esb Code Generation Tool- ES code generation tool usage instructionsTool functionality explanationUsage method and parameter explanationgenerate_es_package.cmake- ES code generation, build, install one-stop cmake functionFunctionality explanationUsage method and parameter explanationRFC DocumentationRFC Directory- Design proposal documentsNew feature proposalsArchitecture improvement plansAPI change suggestionsDocument Structuredocs/es/ ├── README.md # This file, document navigation entry ├── api/ # API reference documentation ├── design/ # Design and technical analysis documentation ├── tools/ # Tool usage documentation └── rfc/ # RFC proposal documentsSampleMulti-language samples using ES for graph buildingMulti-language samples for custom ES API graph buildingDevelopment RoadmapWe first introduced ES functionality in 2025, aiming to provide convenient multi-language graph building capability, support full operator auto API generation, and achieve good forward/backward compatibility. In Q1 2026, we will focus on completing API integration and C graph building backward compatibility capability, allowing users to directly install ops package and use ES graph building capability, without manually generating code. Specific development roadmap is as follows:Core Architecture[December 2025]ES core architecture design completed and implemented, supporting full prototype code generation and multi-language (C, C, Python) graph building.API Integration[December 2025]math sub-package completed ES API integration.[February 2026]nn, cv, transformer completed ES API integration.[June 2026]hcom sub-package to complete ES API integration.Note: Before full prototype ES API is packaged into various operator sub-packages, if you need to use ES API, you can refer to generate_es_package.cmake in tool documentation for code generation and integration.Samples and Documentation[December 2025]Multi-language samples provided, covering common use cases.[December 2025]Detailed documentation provided, i.e., this directory.[January 2026]Collective communication samples delivered.Backward Compatibility[December 2025]Python API backward compatibility design completed and implemented.[January 2026]C API backward compatibility design completed; C API backward compatibility depends on completingHistorical Prototype Librarydesign plan.[March 2026]C API backward compatibility code development completed; achieve complete backward compatibility capability for C graph building scenarios.Custom Operator Project Integration[TBD]ascendc custom operator project integration of ES code generation capability, no plan yet.【免费下载链接】geGEGraph Engine是面向昇腾的图编译器和执行器提供了计算图优化、多流并行、内存复用和模型下沉等技术手段加速模型执行效率减少模型内存占用。 GE 提供对 PyTorch、TensorFlow 前端的友好接入能力并同时支持 onnx、pb 等主流模型格式的解析与编译。项目地址: https://gitcode.com/cann/ge创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考
网站建设高端定制企业官网
RELATED

相关资讯

更多精彩内容,欢迎继续阅读

较早相关资讯

最新相关资讯

bmp格式如何转换成jpg?5种实用方法实测 2026/9/10 20:06:01

bmp格式如何转换成jpg?5种实用方法实测

在日常办公和图片处理中,我们经常会遇到一个不大不小的问题:手头有一堆BMP格式的图片,体积大得吓人,上传网页加载慢,发给别人传输也费劲。这时候,把BMP格式转换成JPG格式就成了一个很实际的需求。 BMP格式…

阅读更多 →
数据分析:提问比工具更重要的核心价值 2026/9/10 20:06:01

数据分析:提问比工具更重要的核心价值

1. 为什么数据分析中提问比工具更重要刚入行数据分析时,我和大多数人一样沉迷于工具技巧的钻研。直到有次用pandas处理销售数据时,虽然完美实现了领导要求的"按区域统计销售额",却完全没发现数据中隐藏的华南区异常波动。这个教训让…

阅读更多 →
Mastra 文档 Mermaid 图表规范:从形状语义、状态着色到 ELK 主题渲染的完整指南 2026/9/10 20:06:01

Mastra 文档 Mermaid 图表规范:从形状语义、状态着色到 ELK 主题渲染的完整指南

Mastra 文档 Mermaid 图表规范:从形状语义、状态着色到 ELK 主题渲染的完整指南 【免费下载链接】mastra Mastra is the modern TypeScript framework for AI-powered applications and agents. 项目地址: https://gitcode.com/GitHub_Trending/ma/mastra Ma…

阅读更多 →
sglang 仓库机械重构证明验证指南:从信任 PR 到亲自重跑证据链 2026/9/10 20:06:01

sglang 仓库机械重构证明验证指南:从信任 PR 到亲自重跑证据链

sglang 仓库机械重构证明验证指南:从信任 PR 到亲自重跑证据链 【免费下载链接】sglang SGLang is a high-performance serving framework for large language models and multimodal models. 项目地址: https://gitcode.com/GitHub_Trending/sg/sglang 本指…

阅读更多 →
二阶系统性能指标解析与Python实现 2026/9/10 20:06:01

二阶系统性能指标解析与Python实现

1. 二阶系统性能指标概述在控制工程和信号处理领域,二阶系统是最基础也是最重要的研究对象之一。这类系统可以用二阶微分方程来描述,其动态特性主要由两个关键参数决定:自然振荡频率(ωₙ)和阻尼比(ζ&…

阅读更多 →
深入解析 Karakeep(原 Hoarder)系统架构:Next.js 前端、SQLite 任务队列与三类 Worker 流水线 2026/9/10 20:03:01

深入解析 Karakeep(原 Hoarder)系统架构:Next.js 前端、SQLite 任务队列与三类 Worker 流水线

深入解析 Karakeep(原 Hoarder)系统架构:Next.js 前端、SQLite 任务队列与三类 Worker 流水线 【免费下载链接】hoarder A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text…

阅读更多 →

今日资讯

本周资讯

本月资讯

看完文章仍有疑问?

联系尧图顾问,获取一对一建站咨询

立即免费咨询 📞 400-888-8888
📞