@cannbot-ai/install-helper 0.0.2-beta.7 → 0.0.2-beta.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +60 -123
- package/bin/install-helper.js +59 -0
- package/bin/package.json +3 -0
- package/dist/config/repository.yaml +28 -0
- package/dist/index.js +2358 -1026
- package/dist/index.js.map +1 -1
- package/dist/install.ps1 +232 -0
- package/dist/locales/en_US.json +187 -0
- package/dist/locales/zh_CN.json +187 -0
- package/dist/plugins.d/_defaults.yml +4 -0
- package/dist/plugins.d/catlass-op-generator.yml +18 -0
- package/dist/plugins.d/model-infer-optimize.yml +19 -0
- package/dist/plugins.d/ops-code-reviewer.yml +14 -0
- package/dist/plugins.d/ops-direct-invoke-flash.yml +18 -0
- package/dist/plugins.d/ops-direct-invoke.yml +20 -0
- package/dist/plugins.d/ops-registry-invoke.yml +24 -0
- package/dist/plugins.d/pypto-op-orchestrator.yml +18 -0
- package/dist/plugins.d/tilelang-op-orchestrator.yml +20 -0
- package/dist/plugins.d/torch-compile.yml +14 -0
- package/dist/plugins.d/triton-op-generator.yml +14 -0
- package/package.json +17 -6
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
id: ops-code-reviewer
|
|
2
|
+
dir: plugins-official/ops-code-reviewer
|
|
3
|
+
displayName: 代码检视
|
|
4
|
+
aliases: [code-review, reviewer, review]
|
|
5
|
+
skills: 5
|
|
6
|
+
agents: 1
|
|
7
|
+
description: Ascend C 算子代码 4 阶段全量检视(主 Agent 编排 + 子 Agent 并行检视)
|
|
8
|
+
version: "1.2.2"
|
|
9
|
+
configFile: AGENTS.md
|
|
10
|
+
configRootConfigLink: false
|
|
11
|
+
installSkills:
|
|
12
|
+
- dir: ops
|
|
13
|
+
skills: [ascendc-code-review, ascendc-docs-search, ascendc-task-focus, ascendc-api-best-practices, npu-arch]
|
|
14
|
+
installAgents: [ascendc-code-summarizer, ascendc-ops-reviewer]
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
id: ops-direct-invoke-flash
|
|
2
|
+
dir: plugins-official/ops-direct-invoke-flash
|
|
3
|
+
displayName: AscendC Kernel 直调(快速版)
|
|
4
|
+
aliases: [flash, kernel-flash]
|
|
5
|
+
skills: 1
|
|
6
|
+
agents: 1
|
|
7
|
+
description: 从数学公式或代码片段快速构建并验证 Ascend NPU 核函数
|
|
8
|
+
version: "1.2.2"
|
|
9
|
+
configFile: AGENTS.md
|
|
10
|
+
configRootConfigLink: true
|
|
11
|
+
installSkills:
|
|
12
|
+
- dir: plugins-official/ops-direct-invoke-flash/skills
|
|
13
|
+
skills: [ops-direct-invoke-flash]
|
|
14
|
+
- dir: ops
|
|
15
|
+
skills: [ascendc-st-design, ascendc-whitebox-design]
|
|
16
|
+
- dir: infra
|
|
17
|
+
skills: [gitcode-toolkit, gitcode-pr-handler, gitcode-issue-gen, gitcode-issue-handler]
|
|
18
|
+
installAgents: [ops-direct-invoke-flash-reviewer]
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
id: ops-direct-invoke
|
|
2
|
+
dir: plugins-official/ops-direct-invoke
|
|
3
|
+
displayName: AscendC Kernel 直调
|
|
4
|
+
aliases: [ops-direct, ascendc-direct, direct, kernel]
|
|
5
|
+
skills: 16
|
|
6
|
+
agents: 3
|
|
7
|
+
description: Ascend C 直调全流程:环境→设计→开发→审查→性能验收
|
|
8
|
+
version: "1.2.2"
|
|
9
|
+
configFile: AGENTS.md
|
|
10
|
+
configRootConfigLink: false
|
|
11
|
+
installSkills:
|
|
12
|
+
- dir: ops
|
|
13
|
+
skills: [ascendc-tiling-design, npu-arch, ascendc-api-best-practices, ascendc-regbase-best-practice, ascendc-blaze-best-practice, ops-precision-standard, ascendc-docs-search, ascendc-env-check, ascendc-precision-debug, ops-profiling, ascendc-direct-invoke-template, torch-ascendc-op-extension, ascendc-runtime-debug, ascendc-crash-debug, ascendc-code-review]
|
|
14
|
+
- dir: infra
|
|
15
|
+
skills: [gitcode-toolkit, gitcode-pr-handler, gitcode-issue-gen, gitcode-issue-handler]
|
|
16
|
+
installAgents: [ascendc-kernel-architect, ascendc-kernel-design-reviewer, ascendc-kernel-developer, ascendc-kernel-reviewer]
|
|
17
|
+
externalRepos:
|
|
18
|
+
- url: https://gitcode.com/cann/asc-devkit.git
|
|
19
|
+
dir: plugins-official/ops-direct-invoke/asc-devkit
|
|
20
|
+
configRootLink: false
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
id: ops-registry-invoke
|
|
2
|
+
dir: plugins-official/ops-registry-invoke
|
|
3
|
+
displayName: AscendC 算子注册调用
|
|
4
|
+
aliases: [ops-registry, ascendc-registry, registry]
|
|
5
|
+
skills: 12
|
|
6
|
+
agents: 4
|
|
7
|
+
description: 生产级 ACLNN 注册算子全流程:代码→UT/ST→上库
|
|
8
|
+
version: "1.2.2"
|
|
9
|
+
configFile: AGENTS.md
|
|
10
|
+
configRootConfigLink: false
|
|
11
|
+
installSkills:
|
|
12
|
+
- dir: ops
|
|
13
|
+
skills: [ascendc-blaze-best-practice, ascendc-api-best-practices, ascendc-code-review, ascendc-crash-debug, ascendc-direct-invoke-template, ascendc-docs-gen, ascendc-docs-search, ascendc-env-check, npu-arch, ascendc-performance-best-practices, ascendc-precision-debug, ascendc-regbase-best-practice, ascendc-registry-invoke-template, ascendc-runtime-debug, ascendc-st-design, ascendc-tiling-design, ascendc-ut-develop, ascendc-whitebox-design, ops-precision-standard, ops-profiling, ops-spec-gen]
|
|
14
|
+
- dir: infra
|
|
15
|
+
skills: [gitcode-toolkit, gitcode-pr-handler, gitcode-issue-gen, gitcode-issue-handler]
|
|
16
|
+
- dir: plugins-official/ops-registry-invoke
|
|
17
|
+
skills:
|
|
18
|
+
- name: workflow
|
|
19
|
+
as: ops-registry-invoke-workflow
|
|
20
|
+
installAgents: [ascendc-ops-architect, ascendc-ops-developer, ascendc-ops-tester]
|
|
21
|
+
externalRepos:
|
|
22
|
+
- url: https://gitcode.com/cann/asc-devkit.git
|
|
23
|
+
dir: plugins-official/ops-registry-invoke/asc-devkit
|
|
24
|
+
configRootLink: false
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
id: pypto-op-orchestrator
|
|
2
|
+
dir: plugins-official/pypto-op-orchestrator
|
|
3
|
+
displayName: PyPTO 算子开发
|
|
4
|
+
aliases: [pypto, pytorch]
|
|
5
|
+
skills: 8
|
|
6
|
+
agents: 3
|
|
7
|
+
description: PyPTO Python API 算子全流程开发,覆盖需求理解、API 探索、实现与调优
|
|
8
|
+
version: "1.2.2"
|
|
9
|
+
configFile: AGENTS.md
|
|
10
|
+
configRootConfigLink: false
|
|
11
|
+
installSkills:
|
|
12
|
+
- dir: ops
|
|
13
|
+
skills: [pypto-intent-understand, pypto-api-explore, pypto-op-design, pypto-op-develop, pypto-precision-debug, pypto-precision-compare, pypto-op-perf-tune, pypto-golden-generate]
|
|
14
|
+
installAgents: [pypto-op-analyst, pypto-op-developer, pypto-op-perf-tuner]
|
|
15
|
+
externalRepos:
|
|
16
|
+
- url: https://gitcode.com/cann/pypto.git
|
|
17
|
+
dir: plugins-official/pypto-op-orchestrator/pypto
|
|
18
|
+
configRootLink: false
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
id: tilelang-op-orchestrator
|
|
2
|
+
dir: plugins-official/tilelang-op-orchestrator
|
|
3
|
+
displayName: TileLang 算子开发
|
|
4
|
+
aliases: [tilelang]
|
|
5
|
+
skills: 9
|
|
6
|
+
agents: 3
|
|
7
|
+
description: TileLang Python DSL + @tilelang.jit 算子开发(支持 Developer/Expert 双模式)
|
|
8
|
+
version: "1.2.2"
|
|
9
|
+
configFile: AGENTS.md
|
|
10
|
+
configRootConfigLink: false
|
|
11
|
+
installSkills:
|
|
12
|
+
- dir: ops
|
|
13
|
+
skills: [tilelang-api-best-practices, tilelang-env-check, tilelang-op-design, tilelang-op-develop, tilelang-op-test-design, tilelang-perf-optimization, tilelang-programming-model-guide, tilelang-review, tilelang-submodule-pull]
|
|
14
|
+
installAgents: [tilelang-op-analyst, tilelang-op-developer, tilelang-op-perf-tuner]
|
|
15
|
+
externalRepos:
|
|
16
|
+
- url: https://github.com/tile-ai/tilelang-ascend.git
|
|
17
|
+
dir: plugins-official/tilelang-op-orchestrator/tilelang-ascend
|
|
18
|
+
depth: 1
|
|
19
|
+
recursive: true
|
|
20
|
+
configRootLink: false
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
id: torch-compile
|
|
2
|
+
dir: plugins-official/torch-compile
|
|
3
|
+
displayName: torch.compile 图模式
|
|
4
|
+
aliases: [torch, compile, graph]
|
|
5
|
+
skills: 6
|
|
6
|
+
agents: 1
|
|
7
|
+
description: NPU 图模式 npugraph_ex 配置、脚本迁移、编译诊断与自定义算子入图
|
|
8
|
+
version: "1.2.2"
|
|
9
|
+
configFile: AGENTS.md
|
|
10
|
+
configRootConfigLink: true
|
|
11
|
+
installSkills:
|
|
12
|
+
- dir: graph
|
|
13
|
+
skills: [torch-npugraph-ex-knowledge, torch-npugraph-ex-template, torch-npugraph-ex-dfx-triage, torch-npugraph-ex-compile-error-diagnosis, torch-npugraph-ex-runtime-error-diagnosis, torch-custom-ops-guide]
|
|
14
|
+
installAgents: [torch-npugraph-ex]
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
id: triton-op-generator
|
|
2
|
+
dir: plugins-official/triton-op-generator
|
|
3
|
+
displayName: Triton 算子开发
|
|
4
|
+
aliases: [triton]
|
|
5
|
+
skills: 6
|
|
6
|
+
agents: 1
|
|
7
|
+
description: Triton-Ascend 算子 6 阶段自动生成与优化(描述→代码→验证→优化)
|
|
8
|
+
version: "1.2.2"
|
|
9
|
+
configFile: AGENTS.md
|
|
10
|
+
configRootConfigLink: false
|
|
11
|
+
installSkills:
|
|
12
|
+
- dir: ops
|
|
13
|
+
skills: [triton-task-extractor, triton-op-designer, triton-op-coding, triton-op-verifier, triton-latency-optimizer, npu-arch]
|
|
14
|
+
installAgents: []
|
package/package.json
CHANGED
|
@@ -1,23 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cannbot-ai/install-helper",
|
|
3
|
-
"version": "0.0.2-beta.
|
|
3
|
+
"version": "0.0.2-beta.70",
|
|
4
4
|
"description": "Install Helper - Interactive installer for CANN operator development skills",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
|
-
"install-helper": "./
|
|
7
|
+
"install-helper": "./bin/install-helper.js"
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
|
-
"build": "tsup",
|
|
10
|
+
"build": "node scripts/gen-embedded.cjs && tsup",
|
|
11
|
+
"build:bin": "node scripts/gen-embedded.cjs && bash scripts/build-binaries.sh",
|
|
12
|
+
"build:npm": "node scripts/build-npm-packages.cjs",
|
|
13
|
+
"publish:npm": "node scripts/publish-npm.cjs",
|
|
11
14
|
"dev": "tsup --watch",
|
|
12
15
|
"test": "vitest run",
|
|
13
|
-
"
|
|
14
|
-
"
|
|
16
|
+
"pretest": "node scripts/gen-embedded.cjs",
|
|
17
|
+
"test:watch": "vitest"
|
|
15
18
|
},
|
|
16
19
|
"engines": {
|
|
17
20
|
"node": ">=18.0.0"
|
|
18
21
|
},
|
|
19
22
|
"files": [
|
|
20
|
-
"dist/"
|
|
23
|
+
"dist/",
|
|
24
|
+
"bin/"
|
|
21
25
|
],
|
|
22
26
|
"keywords": [
|
|
23
27
|
"cann",
|
|
@@ -37,6 +41,13 @@
|
|
|
37
41
|
"ora": "^8.1.0",
|
|
38
42
|
"yaml": "^2.6.0"
|
|
39
43
|
},
|
|
44
|
+
"optionalDependencies": {
|
|
45
|
+
"@cannbot-ai/install-helper-linux-x64": "0.0.2-beta.70",
|
|
46
|
+
"@cannbot-ai/install-helper-linux-arm64": "0.0.2-beta.70",
|
|
47
|
+
"@cannbot-ai/install-helper-darwin-x64": "0.0.2-beta.70",
|
|
48
|
+
"@cannbot-ai/install-helper-darwin-arm64": "0.0.2-beta.70",
|
|
49
|
+
"@cannbot-ai/install-helper-windows-x64": "0.0.2-beta.70"
|
|
50
|
+
},
|
|
40
51
|
"devDependencies": {
|
|
41
52
|
"@types/node": "^22.0.0",
|
|
42
53
|
"tsup": "^8.3.0",
|