Repository navigation
Conversation
- Add .pre-commit-config.yaml with hooks for: - YAML/TOML validation - Trailing whitespace and line ending fixes - Large file prevention - Ruff for Python linting and formatting - clang-format for C++/CUDA code - shellcheck for shell scripts - Add ruff.toml with Python linting configuration To use: pip install pre-commit && pre-commit install 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
yurekami
added a commit
to yurekami/DeepGEMM
that referenced
this pull request
Dec 25, 2025
Add clang-format configuration that matches the existing code style: - 4-space indentation - 120 character line limit - Attached braces (same line) - Google style base with project-specific adjustments - C++17 standard - Preserve include order (no auto-sorting) - Support for CUTLASS macros Also update .gitignore to be more specific about clangd files, allowing .clang-format to be tracked. This works with the pre-commit hooks (PR deepseek-ai#252) to automatically format C++/CUDA code on commit. Usage: clang-format -i csrc/**/*.{hpp,cpp,cu,cuh} 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
2 of 3 tasks
LyricZhao
added a commit
that referenced
this pull request
Apr 16, 2026
* Optimize `elect_one_sync` * Less registers * Free tensor memory more proper * Remove all `blockIdx.x` * Optimize FP4 Paged MQA Logits * Fix reg * Minor fix * Optimize * Revert tests * Minor fix * Minor fix --------- Co-authored-by: Chenggang Zhao <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.pre-commit-config.yamlwith hooks for automated code quality checksruff.tomlwith Python linting and formatting configurationPre-commit Hooks Included:
Usage
pip install pre-commit pre-commit install # Run manually on all files pre-commit run --all-filesTest plan
pre-commit run --all-fileson a fresh clone🤖 Generated with Claude Code