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.4

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.4
File Actions
cannbot_dsl-0.8.4-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.4-cp313-cp313-manylinux_2_17_x86_64.whl
cannbot_dsl-0.8.4-cp313-cp313-manylinux_2_17_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ ARM64 Details for cannbot_dsl-0.8.4-cp313-cp313-manylinux_2_17_aarch64.whl
cannbot_dsl-0.8.4-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.4-cp312-cp312-manylinux_2_17_x86_64.whl
cannbot_dsl-0.8.4-cp312-cp312-manylinux_2_17_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ ARM64 Details for cannbot_dsl-0.8.4-cp312-cp312-manylinux_2_17_aarch64.whl
cannbot_dsl-0.8.4-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.4-cp311-cp311-manylinux_2_17_x86_64.whl
cannbot_dsl-0.8.4-cp311-cp311-manylinux_2_17_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ ARM64 Details for cannbot_dsl-0.8.4-cp311-cp311-manylinux_2_17_aarch64.whl
cannbot_dsl-0.8.4-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.4-cp310-cp310-manylinux_2_17_x86_64.whl
cannbot_dsl-0.8.4-cp310-cp310-manylinux_2_17_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ ARM64 Details for cannbot_dsl-0.8.4-cp310-cp310-manylinux_2_17_aarch64.whl

Total release size: 73.4 MB

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

Download URL cannbot_dsl-0.8.4-cp313-cp313-manylinux_2_17_x86_64.whl
Size 9.3 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
a8c23f9134c4531d3850debde3e5d04485d88e0ff3a61ca277af52635df8b3a2
BLAKE2b-256 checksum
How to use checksums
57159ba4203f117091d41138e7cc94d7ff3e488e9ea14a700bafa563cbf7312e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

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

Download URL cannbot_dsl-0.8.4-cp313-cp313-manylinux_2_17_aarch64.whl
Size 9.0 MB
Tags CPython 3.13 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
3b125109802b2242e40bad4c8396cbb5c429991060293d078e5759fa2a413692
BLAKE2b-256 checksum
How to use checksums
021fa4adb00f0c012bdc7c0512f8d09f8f18becaf5ffea86db15e44280629f1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

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

Download URL cannbot_dsl-0.8.4-cp312-cp312-manylinux_2_17_x86_64.whl
Size 9.3 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
12be2589c1f7f767b676a10946838b8b106dce065be78ce2609d03d2a03ad82a
BLAKE2b-256 checksum
How to use checksums
8b52dbfcf999d787780a58836b7273a15aff021538c33d70b29377e89436a9f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

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

Download URL cannbot_dsl-0.8.4-cp312-cp312-manylinux_2_17_aarch64.whl
Size 9.0 MB
Tags CPython 3.12 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
5c91b6e4184c558fb17c7542f8f49ef2118a1f558dcf60b8a9a5c0f491965fce
BLAKE2b-256 checksum
How to use checksums
76b30f74caef20de7913c593163a2fad85f79d399e9eb09e70417b971e066b46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

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

Download URL cannbot_dsl-0.8.4-cp311-cp311-manylinux_2_17_x86_64.whl
Size 9.3 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
ef82f3708291a337753d0949f81993490c5fa04b9d11dc1e13e7d4ac14c15108
BLAKE2b-256 checksum
How to use checksums
53c7c1f72cc9d0b409eb8e89757d7be753d7c57c6cf07551417e55661f69d91f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

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

Download URL cannbot_dsl-0.8.4-cp311-cp311-manylinux_2_17_aarch64.whl
Size 9.0 MB
Tags CPython 3.11 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
fdef209889290e55903aff642198e9f5ed0fc4ce3bdee8f96059e24da97d50ac
BLAKE2b-256 checksum
How to use checksums
ca4ab6a0069c660a2ef72970278c0a9f3abba68811ddc816bbde895e4c47de2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

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

Download URL cannbot_dsl-0.8.4-cp310-cp310-manylinux_2_17_x86_64.whl
Size 9.3 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
647ddce16cb4e89afbe378494de22cce97a749724b84af9cc2dde977db9f606e
BLAKE2b-256 checksum
How to use checksums
579a14263c0b9a12859016728eb240ce39ce4041b6733235893d013d63f22f8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

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

Download URL cannbot_dsl-0.8.4-cp310-cp310-manylinux_2_17_aarch64.whl
Size 9.0 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
63e1805faa35e78333e6f49b75c2ab29eb51a6fc1bb2bcfb59547822297714df
BLAKE2b-256 checksum
How to use checksums
4cdc786e8e92597802ff604567065d6ef0a13af19cf4ca5a8c791dc4834385eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for cannbot-dsl 0.8.4

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