Skip to content

Commit

Permalink
[Feature](mluAdamW): update adam_w_lite
Browse files Browse the repository at this point in the history
  • Loading branch information
chqy99 committed Jan 23, 2025
1 parent 72db95b commit b716cb6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions scripts/bangc_kernels_path_config/bangc_kernels_path_extend.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"common": [

],

"operators": [
{
"name": "mluMoeUnpermute",
"header": "kernels/moe_unpermute/moe_unpermute.h",
"sources": ["kernels/moe_unpermute"]
}
]
}
4 changes: 2 additions & 2 deletions tools/commitlint.py
Original file line number Diff line number Diff line change
Expand Up @@ -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): <subject> }\033[0m")
return False
return True
Expand Down

0 comments on commit b716cb6

Please sign in to comment.