Skip to main content

CANNBotDSL

1. 项目简介 (Introduction)


2. 目录结构 (Directory Structure)

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

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

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

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 调用约定

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

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

Metadata

Release files for cannbot-dsl 0.8.2

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

Total release size: 67.1 MB

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

Download URL cannbot_dsl-0.8.2-cp313-cp313-manylinux_2_17_x86_64.whl
Size 8.5 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
e2fc500b1c75a0010a894df4b7b82eabffcbf67f255d0a607a87c4c64de23565
BLAKE2b-256 checksum
How to use checksums
0db0d9499d32fe05dfc42dd445ff841f4385b17218772f6336c79d2f3268dae2
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.2-cp313-cp313-manylinux_2_17_aarch64.whl

Download URL cannbot_dsl-0.8.2-cp313-cp313-manylinux_2_17_aarch64.whl
Size 8.3 MB
Tags CPython 3.13 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
46166d3cb596174efa7f3bbd52adf1221b23f356573e1ca9c2378caff8bba2a5
BLAKE2b-256 checksum
How to use checksums
432a787b88cf5697db456471d3785d2349e902cd55820daf6fb69a35931e8910
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.2-cp312-cp312-manylinux_2_17_x86_64.whl

Download URL cannbot_dsl-0.8.2-cp312-cp312-manylinux_2_17_x86_64.whl
Size 8.5 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
092e7479223f1e89a95efe12e36a78461b8f037e54830bd69c96c366861c32b4
BLAKE2b-256 checksum
How to use checksums
fa1eb074ddc37f694e1704570ee88078372b523b2ba2f82c93333517bd4e3eee
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.2-cp312-cp312-manylinux_2_17_aarch64.whl

Download URL cannbot_dsl-0.8.2-cp312-cp312-manylinux_2_17_aarch64.whl
Size 8.3 MB
Tags CPython 3.12 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
d5c8e20185f0697e5e75b76a8f9617496611548995800f3f3d72cc0a613064df
BLAKE2b-256 checksum
How to use checksums
34a0b88cc7523cdc6638c96fa3f4a176918bc6e04e5400accae6bd9619ab2a7b
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.2-cp311-cp311-manylinux_2_17_x86_64.whl

Download URL cannbot_dsl-0.8.2-cp311-cp311-manylinux_2_17_x86_64.whl
Size 8.5 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
5f5f03e49e5bdc5cc32d16b81cc66e99a1a1c3cf5253b898c4a1e3606d6d660e
BLAKE2b-256 checksum
How to use checksums
285c9f0fc960c0dc561cd1d336d38ffd02bd4968e0b1df2ad7a7c1a4f9a332b0
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.2-cp311-cp311-manylinux_2_17_aarch64.whl

Download URL cannbot_dsl-0.8.2-cp311-cp311-manylinux_2_17_aarch64.whl
Size 8.3 MB
Tags CPython 3.11 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
b2a8e0046d7e95bd17e24eddc9c5262d853ba1e1d23091ceb1c8f36c7608c12a
BLAKE2b-256 checksum
How to use checksums
fe68d420788e5f6e95d86e3e60656ae90af7e791e2f21139fb72096807f22437
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.2-cp310-cp310-manylinux_2_17_x86_64.whl

Download URL cannbot_dsl-0.8.2-cp310-cp310-manylinux_2_17_x86_64.whl
Size 8.5 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
0e2570454722741d26209e04804ecd4a45b05be8f18e0575c0177755c9486f1d
BLAKE2b-256 checksum
How to use checksums
da68d76019e2a468863dcec92618df9e8247b4128abdb019b445749c637611b7
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.2-cp310-cp310-manylinux_2_17_aarch64.whl

Download URL cannbot_dsl-0.8.2-cp310-cp310-manylinux_2_17_aarch64.whl
Size 8.3 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
6fa1512c8886ff3d52beb325c595c27f1f107997809375914a474f2b286706b5
BLAKE2b-256 checksum
How to use checksums
742ad0d6344afd9f538020c929e4d1b70b9ee6484faabc057893cd6d6ff2f9cc
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.2

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