ai-for-science-ascend-tf-community
Installation
SKILL.md
昇腾 TensorFlow Community 迁移适配 Skill
项目概述
本 Skill 记录在昇腾 NPU 上使用 TensorFlow Community 方式(非 TF→PyTorch 转换)
部署 TF 2.x 模型的完整流程。核心思路是:保持原始 TF 代码基本不变,通过
npu_device 插件将算子调度到 Ascend NPU 上执行。
适用场景:
- 已有 TF 2.x 训练/推理代码,希望直接运行在昇腾 NPU 上
- 不希望或不适合做 TF→PyTorch 框架转换
- 参考文档:https://www.hiascend.com/document/detail/zh/TensorFlowCommunity/850/migration/tfmigr2/