[INFO] Initializing environment for https://gitcode.com/pre-commit/pre-commit-hooks. [WARNING] repo `https://gitcode.com/pre-commit/pre-commit-hooks` uses deprecated stage names (commit, push) which will be removed in a future version. Hint: often `pre-commit autoupdate --repo https://gitcode.com/pre-commit/pre-commit-hooks` will fix this. if it does not -- consider reporting an issue to that repo. [INFO] Initializing environment for https://gitcode.com/pre-commit-clang/mirrors-clang-format. [INFO] Initializing environment for https://gitcode.com/gh_mirrors/ru/ruff-pre-commit. [INFO] Initializing environment for https://gitcode.com/gh_mirrors/co/codespell. [INFO] Installing environment for https://gitcode.com/pre-commit/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://gitcode.com/pre-commit-clang/mirrors-clang-format. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://gitcode.com/gh_mirrors/ru/ruff-pre-commit. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://gitcode.com/gh_mirrors/co/codespell. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... trim trailing whitespace.................................................Failed - hook id: trailing-whitespace - exit code: 1 - files were modified by this hook Fixing gmm/grouped_matmul/docs/GroupedMatmul算子设计介绍.md Fixing ffn/swin_transformer_ln_qkv/README.md Fixing mhc/mhc_sinkhorn/README.md fix end of files.........................................................Passed check yaml...........................................(no files to check)Skipped check for added large files..............................................Passed check for merge conflicts................................................Passed detect private key.......................................................Passed check json...........................................(no files to check)Skipped clang-format.........................................(no files to check)Skipped ruff check...........................................(no files to check)Skipped ruff format..........................................(no files to check)Skipped codespell................................................................Passed OAT Compliance Check.....................................................Passed - hook id: oat-check - duration: 1.33s [OAT] oat-py not found. Installing oat-py>=1.0.1 ... [OAT] oat-py installed successfully. [OAT] Another OAT scan instance is running. Waiting... [OAT] Previous instance did not complete. Proceeding with scan... [OAT] Running OAT scan (Python Edition) ??INCREMENTAL MODE [OAT] Project: j_mRlzTWnh [OAT] Mode: staged files ??scanning only currently staged files [OAT] Checking 16 staged file(s)... [OAT] Running compliance scan... [OAT] [OK] All checks passed (16 file(s) checked). [OAT] Summary: cat /opt/cloud/agent_1766041207325_1xp4p/workspace/j_mRlzTWnh/oat_reports/result.txt [OAT] oat-py not found. Installing oat-py>=1.0.1 ... [OAT] oat-py installed successfully. [OAT] Another OAT scan instance is running. Waiting... [OAT] Previous instance did not complete. Proceeding with scan... [OAT] Running OAT scan (Python Edition) ??INCREMENTAL MODE [OAT] Project: j_mRlzTWnh [OAT] Mode: staged files ??scanning only currently staged files [OAT] Checking 16 staged file(s)... [OAT] Running compliance scan... [OAT] [OK] All checks passed (16 file(s) checked). [OAT] Summary: cat /opt/cloud/agent_1766041207325_1xp4p/workspace/j_mRlzTWnh/oat_reports/result.txt [OAT] oat-py not found. Installing oat-py>=1.0.1 ... [OAT] oat-py installed successfully. [OAT] Another OAT scan instance is running. Waiting... [OAT] Previous instance did not complete. Proceeding with scan... [OAT] Running OAT scan (Python Edition) ??INCREMENTAL MODE [OAT] Project: j_mRlzTWnh [OAT] Mode: staged files ??scanning only currently staged files [OAT] Checking 16 staged file(s)... [OAT] Running compliance scan... [OAT] [OK] All checks passed (16 file(s) checked). [OAT] Summary: cat /opt/cloud/agent_1766041207325_1xp4p/workspace/j_mRlzTWnh/oat_reports/result.txt [OAT] oat-py not found. Installing oat-py>=1.0.1 ... WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning. [OAT] oat-py installed successfully. [OAT] Running OAT scan (Python Edition) ??INCREMENTAL MODE [OAT] Project: j_mRlzTWnh [OAT] Mode: staged files ??scanning only currently staged files [OAT] Checking 16 staged file(s)... [OAT] Running compliance scan... [OAT] [OK] All checks passed (16 file(s) checked). [OAT] Summary: cat /opt/cloud/agent_1766041207325_1xp4p/workspace/j_mRlzTWnh/oat_reports/result.txt [OAT] oat-py not found. Installing oat-py>=1.0.1 ... [OAT] oat-py installed successfully. [OAT] Another OAT scan instance is running. Waiting... [OAT] Previous instance did not complete. Proceeding with scan... [OAT] Running OAT scan (Python Edition) ??INCREMENTAL MODE [OAT] Project: j_mRlzTWnh [OAT] Mode: staged files ??scanning only currently staged files [OAT] Checking 16 staged file(s)... [OAT] Running compliance scan... [OAT] [OK] All checks passed (16 file(s) checked). [OAT] Summary: cat /opt/cloud/agent_1766041207325_1xp4p/workspace/j_mRlzTWnh/oat_reports/result.txt [OAT] oat-py not found. Installing oat-py>=1.0.1 ... [OAT] oat-py installed successfully. [OAT] Another OAT scan instance is running. Waiting... [OAT] Previous instance did not complete. Proceeding with scan... [OAT] Running OAT scan (Python Edition) ??INCREMENTAL MODE [OAT] Project: j_mRlzTWnh [OAT] Mode: staged files ??scanning only currently staged files [OAT] Checking 16 staged file(s)... [OAT] Running compliance scan... [OAT] [OK] All checks passed (16 file(s) checked). [OAT] Summary: cat /opt/cloud/agent_1766041207325_1xp4p/workspace/j_mRlzTWnh/oat_reports/result.txt [OAT] oat-py not found. Installing oat-py>=1.0.1 ... [OAT] oat-py installed successfully. [OAT] Another OAT scan instance is running. Waiting... [OAT] Previous instance did not complete. Proceeding with scan... [OAT] Running OAT scan (Python Edition) ??INCREMENTAL MODE [OAT] Project: j_mRlzTWnh [OAT] Mode: staged files ??scanning only currently staged files [OAT] Checking 16 staged file(s)... [OAT] Running compliance scan... [OAT] [OK] All checks passed (16 file(s) checked). [OAT] Summary: cat /opt/cloud/agent_1766041207325_1xp4p/workspace/j_mRlzTWnh/oat_reports/result.txt [OAT] oat-py not found. Installing oat-py>=1.0.1 ... [OAT] oat-py installed successfully. [OAT] Another OAT scan instance is running. Waiting... [OAT] Previous instance did not complete. Proceeding with scan... [OAT] Running OAT scan (Python Edition) ??INCREMENTAL MODE [OAT] Project: j_mRlzTWnh [OAT] Mode: staged files ??scanning only currently staged files [OAT] Checking 12 staged file(s)... [OAT] Running compliance scan... [OAT] [OK] All checks passed (12 file(s) checked). [OAT] Summary: cat /opt/cloud/agent_1766041207325_1xp4p/workspace/j_mRlzTWnh/oat_reports/result.txt All changes made by hooks: diff --git a/ffn/swin_transformer_ln_qkv/README.md b/ffn/swin_transformer_ln_qkv/README.md index d37ba3f..698c2b6 100644 --- a/ffn/swin_transformer_ln_qkv/README.md +++ b/ffn/swin_transformer_ln_qkv/README.md @@ -21,7 +21,7 @@ $$ (Q,K,V)=((Layernorm(inputX)).transpose() * weight).transpose().split() - $$ + $$ 其中,weight是Q、K、V三个矩阵权重的拼接。 @@ -77,7 +77,7 @@ 表示目标张量转换使用的偏移矩阵,维度只支持1维且维度为[3 * H],Device侧的aclTensor。不支持非连续的Tensor。 FLOAT16 ND - + query_output 输出 @@ -98,7 +98,7 @@ 表示转换之后的张量,公式中的V,Device侧的aclTensor。不支持非连续的Tensor。 FLOAT16 ND - + diff --git "a/gmm/grouped_matmul/docs/GroupedMatmul\347\256\227\345\255\220\350\256\276\350\256\241\344\273\213\347\273\215.md" "b/gmm/grouped_matmul/docs/GroupedMatmul\347\256\227\345\255\220\350\256\276\350\256\241\344\273\213\347\273\215.md" index da4049c..023f587 100644 --- "a/gmm/grouped_matmul/docs/GroupedMatmul\347\256\227\345\255\220\350\256\276\350\256\241\344\273\213\347\273\215.md" +++ "b/gmm/grouped_matmul/docs/GroupedMatmul\347\256\227\345\255\220\350\256\276\350\256\241\344\273\213\347\273\215.md" @@ -70,7 +70,7 @@ GroupedMatmul算子支持输入输出为多tensor、单tensor。 | 0 | 单多单 | [(M,K)] | [(K,N),(K,N),...] | [(M,N)] | [(N),(N),...] | (G) | not support | | 0 | 多多单 | [(M1,K1),(M2,K2),...] | [(K1,N),(K2,N),...] | [(M,N)] | [(N),(N),...] | (G) | not support | -例如在多多多场景,x shape={{4,16}, {12,16}, {16,16}},weight shape={{16,8},{16,8},{16,8}},y shape={{4,8},{12,8},{16,8}},如果想在单单单场景进行相同的计算,则x shape={32,16},weight shape= {3,16,8},y shape={32,8},groupList={4,12,16}。 +例如在多多多场景,x shape={{4,16}, {12,16}, {16,16}},weight shape={{16,8},{16,8},{16,8}},y shape={{4,8},{12,8},{16,8}},如果想在单单单场景进行相同的计算,则x shape={32,16},weight shape= {3,16,8},y shape={32,8},groupList={4,12,16}。 # 3 tiling设计 diff --git a/mhc/mhc_sinkhorn/README.md b/mhc/mhc_sinkhorn/README.md index 08f629f..10cf72a 100644 --- a/mhc/mhc_sinkhorn/README.md +++ b/mhc/mhc_sinkhorn/README.md @@ -87,4 +87,3 @@ | 调用方式 | 调用样例 | 说明 | |--------------|-------------------------|--------------------------------------------------------------| | aclnn调用 | [test_aclnn_mhc_sinkhorn](examples/test_aclnn_mhc_sinkhorn.cpp) | 通过[aclnnMhcSinkhorn](docs/aclnnMhcSinkhorn.md)方式调用算子。| - \ No newline at end of file =================================== OAT Scan Result Summary =================================== Scan Time: 2026-07-31 16:03:45 Project: j_mRlzTWnh Files Checked: 16 ----------------------------------- Invalid File Type Total Count: 0 ----------------------------------- License Header Invalid Total Count: 0 ===================================