solve fp4 -> bf16 layout - #1473
Closed
Likai-19 wants to merge 5 commits into
Closed
Conversation
Likai-19
force-pushed
the
fix_vcvt_fp4_layout
branch
from
September 7, 2026 01:18
45da7c9 to
0b5b164
Compare
Port of 0903pr46 e100a95: - gate the VMILoadOp natural-layout seed on packed-carrier/8-bit rules, leave other loads unconstrained so consumer deinterleaved requests (e.g. channel_split) still propagate back to the load - restrict {8->32 ls(4) c()} preferred cast row and {8->32 ls(2) d(2)} legal cast row to packed carriers / integer casts - restore dense 8-bit extf factor-4 requirement in VMIToVPTO - update e2b group-broadcast lit expectations to contiguous fallback
Zhendong404
pushed a commit
that referenced
this pull request
Sep 7, 2026
Co-authored-by: zoujiangjiang<zoujiangjiang@h-partners.com> # message auto-generated for no-merge-commit merge: !53 merge fix/vmi-patch-context-new into master fix: update VMI patch context for requires-python change Created-by: zoujiangjiang Commit-by: zoujiangjiang Merged-by: cann-robot Description: ## 问题 master 上代码同步提交(394bb77a)将根目录 pyproject.toml 的 requires-python 从 >=3.10 改为 >=3.7,导致 packaging/ptoas-vmi/pyproject.toml.patch 的 hunk 1 上下文失配,git apply 失败: ``` error: patch failed: pyproject.toml:18 error: pyproject.toml: patch does not apply ``` vmi-source-patch-check(Validate VMI source patch)随之失败,阻塞所有 PR 的 CI。GitHub 侧 hw-native-sys/PTOAS 同样受影响(见 PR #1473 的 vmi-source-patch-check job)。 ## 修复 仅修改 patch 文件中一行上下文:requires-python = ">=3.10" → ">=3.7",与当前 master 的 pyproject.toml 对齐。 ## 验证 本地以 CI 同款方式验证通过: ``` python packaging/ptoas-vmi/prepare_source.py --output-dir .work/ptoas-vmi-source-check --revision HEAD # EXIT=0,打补丁后 pyproject.toml 含 ptoas-vmi / 0.1.6 / >=3.7 / sdist.inclusion-mode / PTOAS_CLI_VERSION_LABEL ``` See merge request: cann/pto-as!53
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.
看看门禁