docs: refresh PTO micro instruction spec and runtime cases - #20
Draft
mouliangyu wants to merge 1 commit into
Draft
mouliangyu wants to merge 1 commit into
mouliangyu wants to merge 1 commit into
Conversation
mouliangyu
force-pushed
the
codex/update-micro-instruction-spec-v0.6
branch
from
August 5, 2026 04:57
128643e to
0a35278
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
以 PTOAS
d5072e79为来源刷新 PTO-Gym 的 PTO micro Instruction 发布资产,包括规范手册、静态 VPTO runtime case 和验证 runner。旧 Gym 测试集合已被主仓后续重构淘汰,本 PR 将其替换为当前主仓发布快照,而不是继续在旧集合上增量叠加。规范更新
docs/vpto-spec.md与 18 个 micro-ISA 章节重新生成 v0.6 手册pto.ld_dev/pto.st_dev的 AICore GM L1-bypass 语义、元素 offset、类型和版本约束测试快照更新
kernel.ptoruntime case,并保留从主仓 FlashAttention sample 适配的 FA casemte_l1_l0a/b接口kernel.pycaseRunner 更新
--pto-backend=vpto --pto-arch a5ptoas.flagsonboard-only/,但保留 NPU 与 compile-only 入口/tmp目录,所有示例输出使用仓库内.work验证
py_compile、runnerbash -n、git diff --checkld-st-dev:CANN 9.0.0 official SIM runtime + golden compare PASS;9.0.0-beta.2 按版本门禁预期拒绝验证统一显式使用
PTOAS_FLAGS='--pto-backend=vpto --pto-arch a5'。未运行 NPU hardware runtime。