Skip to main content

CANNBotDSL

1. 项目简介 (Introduction)


2. 目录结构 (Directory Structure)

CANNBotIR Transforms 文件导览:逐文件说明编译变换、自动同步分析、资源分配与目标 lowering,并列出默认流水线及测试入口。

Pass 软件架构重设计:统一同步计划上的规划与优化、集中物化及独立验证;已完成共享事实与统一同步计划的迁移,已适配当前主线;文档区分重基前的全量对照与主线集成回归,并列出支持契约和验证边界。

跨核软同步设计方案:定义用户指定每轮计数、手写数据同步的 GroupSync 接口,以及 CANNBotIR 类型、计数操作和最小框架增强。

A5 设备任务导出:通用设备函数源码、参数 ABI、资源与完成契约,以及 AIV/AIC/MIX 示例和验证方式。


3. 构建指南 (Build Instructions)

首次修改框架源码按构建指南完成 editable 开发安装;交付、部署及性能验收使用 Release wheel。 C++ 可以独立打开根 CMake 工程,在 Linux、WSL 或 SSH 远端使用命令行、CLion、VS Code。

在仓库根目录执行两条标准开发安装命令:

"$PYTHON_BIN" -m pip install --no-build-isolation --no-deps -e .
"$PYTHON_BIN" -m pip install --no-build-isolation --no-deps -e ./opkit

默认 Debug。普通 Python 修改直接运行;C++/资源修改后重装对应包,再启动新进程。 IDE 使用独立 build/dev,editable 使用分包缓存。导入和测试启动不编译框架。

目标 文档入口
获取源码、从源码准备 LLVM SDK、首次构建与日常开发 从源码构建与日常开发
参数、单包构建、自定义目录、排错及完整验证 构建参考
PEP 517 wheel、验证和交付(发行) Wheel 构建与交付指南
Toolkit RUN 组件构建、安装与卸载 RUN 包接入

4. Host / Kernel / JIT 调用约定

AIC异常诊断:使用方法、产物说明和限制。

入口使用 @host,设备函数使用 @kernel,内联辅助函数使用 @jit。 迁移与调用矩阵见 Host/kernel/JIT 调用约定。

AscendC源码归档:使用方法、产物说明和限制。

Metadata

Release files for cannbot-dsl 0.8.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for cannbot-dsl 0.8.3
File Actions
cannbot_dsl-0.8.3-cp313-cp313-manylinux_2_17_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details for cannbot_dsl-0.8.3-cp313-cp313-manylinux_2_17_x86_64.whl
cannbot_dsl-0.8.3-cp313-cp313-manylinux_2_17_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ ARM64 Details for cannbot_dsl-0.8.3-cp313-cp313-manylinux_2_17_aarch64.whl
cannbot_dsl-0.8.3-cp312-cp312-manylinux_2_17_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details for cannbot_dsl-0.8.3-cp312-cp312-manylinux_2_17_x86_64.whl
cannbot_dsl-0.8.3-cp312-cp312-manylinux_2_17_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ ARM64 Details for cannbot_dsl-0.8.3-cp312-cp312-manylinux_2_17_aarch64.whl
cannbot_dsl-0.8.3-cp311-cp311-manylinux_2_17_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details for cannbot_dsl-0.8.3-cp311-cp311-manylinux_2_17_x86_64.whl
cannbot_dsl-0.8.3-cp311-cp311-manylinux_2_17_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ ARM64 Details for cannbot_dsl-0.8.3-cp311-cp311-manylinux_2_17_aarch64.whl
cannbot_dsl-0.8.3-cp310-cp310-manylinux_2_17_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details for cannbot_dsl-0.8.3-cp310-cp310-manylinux_2_17_x86_64.whl
cannbot_dsl-0.8.3-cp310-cp310-manylinux_2_17_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ ARM64 Details for cannbot_dsl-0.8.3-cp310-cp310-manylinux_2_17_aarch64.whl

Total release size: 70.9 MB

Release files / cannbot_dsl-0.8.3-cp313-cp313-manylinux_2_17_x86_64.whl

Download URL cannbot_dsl-0.8.3-cp313-cp313-manylinux_2_17_x86_64.whl
Size 9.0 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
0af9e667cd97b29d6d88c0c19cdc4dcb43b3b259ff5e219045e2fc0e762a737d
BLAKE2b-256 checksum
How to use checksums
b9a1e4979f273ea1669c9bfc1206d386311a8039afe943288f000ae981f1bbf6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / cannbot_dsl-0.8.3-cp313-cp313-manylinux_2_17_aarch64.whl

Download URL cannbot_dsl-0.8.3-cp313-cp313-manylinux_2_17_aarch64.whl
Size 8.7 MB
Tags CPython 3.13 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
d0667b417c908d358f824962a08f8925248f6628fad346045d0ef00314188d95
BLAKE2b-256 checksum
How to use checksums
26855471b0daea69a58b0b10fda3b50aa4b1db6885c89cfc95470b59c21525ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / cannbot_dsl-0.8.3-cp312-cp312-manylinux_2_17_x86_64.whl

Download URL cannbot_dsl-0.8.3-cp312-cp312-manylinux_2_17_x86_64.whl
Size 9.0 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
e8efd5b95073ee8f2c34fa7844f2bb3e792f24471b8dc0424025645940c40b03
BLAKE2b-256 checksum
How to use checksums
597dbed3bcf5a325efc87ae76401fedefd9a8920a1aae737b6808870439c237c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / cannbot_dsl-0.8.3-cp312-cp312-manylinux_2_17_aarch64.whl

Download URL cannbot_dsl-0.8.3-cp312-cp312-manylinux_2_17_aarch64.whl
Size 8.7 MB
Tags CPython 3.12 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
22a853ff2b92111c7a6a61ea03d41ac82745ee5306ea3e3b1d9e2bcc0f23f7ac
BLAKE2b-256 checksum
How to use checksums
7ed994d5c65eeb2d5c1bab668f6160a14b797aefb9dd66ddafec08db0fe4b181
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / cannbot_dsl-0.8.3-cp311-cp311-manylinux_2_17_x86_64.whl

Download URL cannbot_dsl-0.8.3-cp311-cp311-manylinux_2_17_x86_64.whl
Size 9.0 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
eac81a709c00818370533bacffff052c4412300d91652045d5140fe3bd602b5e
BLAKE2b-256 checksum
How to use checksums
5d0b17bc4fd5fafe9726beb9de606f13969e4bfd5752a0c06322ca5ca30b160c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / cannbot_dsl-0.8.3-cp311-cp311-manylinux_2_17_aarch64.whl

Download URL cannbot_dsl-0.8.3-cp311-cp311-manylinux_2_17_aarch64.whl
Size 8.7 MB
Tags CPython 3.11 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
8c45b35995b018ea4c14fb86ac8869fb02efa846a7df5bf580c1a556ee4a65e9
BLAKE2b-256 checksum
How to use checksums
7a2a374562443246a02f50c18d48c05b70c6785ec24bfbfa2f3203cd03ba24a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / cannbot_dsl-0.8.3-cp310-cp310-manylinux_2_17_x86_64.whl

Download URL cannbot_dsl-0.8.3-cp310-cp310-manylinux_2_17_x86_64.whl
Size 9.0 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
7ac92261e50280dff3637b549336765015edf94224a96370578843479b823d1d
BLAKE2b-256 checksum
How to use checksums
6ec9b8776209bb0b7eac729ac6338fc2c68f86c522f9351cf6e3d1fc1ee5d10e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / cannbot_dsl-0.8.3-cp310-cp310-manylinux_2_17_aarch64.whl

Download URL cannbot_dsl-0.8.3-cp310-cp310-manylinux_2_17_aarch64.whl
Size 8.7 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
41c976fc24e459c9db5c3705c9705a17679d7cd6f4eecedd679cacd6debd7687
BLAKE2b-256 checksum
How to use checksums
2f6b5da88e6abbfbebb9f66090074388e303fceb921a32ce050166d90034bade
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for cannbot-dsl 0.8.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page