diff --git a/scripts/bangc_kernels_path_config/bangc_kernels_path_extend.json b/scripts/bangc_kernels_path_config/bangc_kernels_path_extend.json new file mode 100644 index 000000000..c84555856 --- /dev/null +++ b/scripts/bangc_kernels_path_config/bangc_kernels_path_extend.json @@ -0,0 +1,13 @@ +{ + "common": [ + + ], + + "operators": [ + { + "name": "mluMoeUnpermute", + "header": "kernels/moe_unpermute/moe_unpermute.h", + "sources": ["kernels/moe_unpermute"] + } + ] +} diff --git a/tools/commitlint.py b/tools/commitlint.py index 9d9fd6233..6a6a50ef4 100755 --- a/tools/commitlint.py +++ b/tools/commitlint.py @@ -94,8 +94,8 @@ def valid_commit_msg(commit_msg, scopes): msg_scope = res.groupdict()['scope'].lstrip('(').rstrip(')') if msg_scope not in scopes: - print("\033[0;35m-- msg_scope not match, the msg_scope should be one of api name 'mluOp*' in mlu_op.h\n " - " or one of lite api name 'mlu(?!Op)*' in ./scripts/bangc_kernels_path_config/*.json or 'mlu-ops' \033[0m") + print("\033[0;35m-- msg_scope not match, the msg_scope should be one of api name 'mluOpXXX' in mlu_op.h\n " + " or one of lite api name 'mluXXX' in ./scripts/bangc_kernels_path_config/*.json\n or 'mlu-ops' \033[0m") print("\033[0;35m-- please input standard format for commit: {[type](scope): }\033[0m") return False return True