Skip to content

Conversation

@yurekami
Copy link
Contributor

Summary

Add configuration for the typos spell checker to reduce false positives.

Allowed Domain-Specific Terms:

Category Terms
CUDA/GPU smem, gmem, wgmma, tma, mma, ptx, ldmatrix, stmatrix
Math/ML gemm, matmul, relu, gelu, softmax, moe, dequant
Data Types fp8, bf16, fp16, fp32, uint
Abbreviations cfg, repr, ptr, idx, buf, impl, iter
Project deepgemm, deepseek, cublaslt, nvcc, nvrtc

Excluded Paths:

  • third-party/ - vendored dependencies
  • deep_gemm/include/cutlass/ and cute/ - CUTLASS headers
  • Build artifacts (build/, dist/, *.egg-info/)

Usage:

# Install
cargo install typos-cli
# or: pip install typos

# Check for typos
typos .

# Auto-fix typos
typos . --write-changes

Test plan

  • Valid TOML syntax
  • Run typos . and verify no false positives on core code

🤖 Generated with Claude Code

Add configuration for the typos spell checker to reduce false
positives from domain-specific terminology:

Allowed Terms:
- CUDA/GPU: smem, gmem, wgmma, tma, mma, ptx, ldmatrix, stmatrix
- Math/ML: gemm, matmul, relu, gelu, softmax, moe, dequant
- Data types: fp8, bf16, fp16, fp32, uint
- Common abbreviations: cfg, repr, ptr, idx, buf, impl, iter
- Project-specific: deepgemm, deepseek, cublaslt, nvcc, nvrtc

Excluded Paths:
- third-party/
- Generated/vendored code directories
- Build artifacts

Usage:
  typos .                    # Check for typos
  typos . --write-changes    # Auto-fix typos

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@zheanxu zheanxu closed this Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants