You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
style(pr66): sweep assert-message periods + comment backticks
Addresses inline review comments on #66 (reviewer: Ziminli) across all
PR-touched files:
- C4: strip trailing periods from assert messages; lowercase the
sentence-starting word when it is bare English (e.g. "Ascend ..." →
"ascend ..."), leave backticked identifiers untouched.
- G4: backtick `RmsNorm` in kernel_custom.h header comment; backtick
`aclnn` / `cos_sin_cache` / `infini.ops.add_rms_norm(...)` in kernel
comments that were still running raw text.
- C2: rename `aclrtlaunch_add_rms_norm` / `aclrtlaunch_rms_norm`
forward-decl parameter names from AscendC internals (`x1, x2, y,
x_out`) to the base-header semantic names (`input, residual, weight,
out, residual_out`). The extern "C" symbol is name-blind so the
AscendC kernel .cpp can keep its local names — the wrapper .h just
presents the public contract.
- Pre-gathered rotary test: drop the hardcoded
`implementation_index=(0, 1)` parametrize, let conftest auto-inject
and skip impl 2 inline (the impl 2 kernel asserts
`!pre_gathered_`).
Verified locally (`--gpu-id 3/4/5 --local`):
test_add_rms_norm.py: 108 passed
test_rms_norm.py: 72 passed
test_rotary_embedding.py: 88 passed, 16 skipped (expected:
impl 2 + pre_gathered,
impl 0 + non-neox)
0 commit comments