@cannbot-ai/install-helper 0.0.2-beta.6 → 0.0.2-beta.60
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 +134 -35
- package/bin/install-helper.js +59 -0
- package/bin/package.json +3 -0
- package/dist/config/repository.yaml +28 -0
- package/dist/index.js +2522 -896
- package/dist/index.js.map +1 -1
- package/dist/install.ps1 +155 -0
- package/dist/locales/en_US.json +181 -0
- package/dist/locales/zh_CN.json +181 -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,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.60",
|
|
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.60",
|
|
46
|
+
"@cannbot-ai/install-helper-linux-arm64": "0.0.2-beta.60",
|
|
47
|
+
"@cannbot-ai/install-helper-darwin-x64": "0.0.2-beta.60",
|
|
48
|
+
"@cannbot-ai/install-helper-darwin-arm64": "0.0.2-beta.60",
|
|
49
|
+
"@cannbot-ai/install-helper-windows-x64": "0.0.2-beta.60"
|
|
50
|
+
},
|
|
40
51
|
"devDependencies": {
|
|
41
52
|
"@types/node": "^22.0.0",
|
|
42
53
|
"tsup": "^8.3.0",
|