[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 @@