Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[pre-commit.ci] pre-commit autoupdate#1966

Merged
crcrpar merged 2 commits into
masterfrom
pre-commit-ci-update-config
Dec 2, 2025
Merged

[pre-commit.ci] pre-commit autoupdate#1966
crcrpar merged 2 commits into
masterfrom
pre-commit-ci-update-config

Conversation

@pre-commit-ci
Copy link
Copy Markdown
Contributor

@pre-commit-ci pre-commit-ci Bot commented Dec 1, 2025

updates:
- [github.com/pre-commit/mirrors-clang-format: v17.0.6 → v21.1.6](pre-commit/mirrors-clang-format@v17.0.6...v21.1.6)
- [github.com/astral-sh/ruff-pre-commit: v0.14.0 → v0.14.7](astral-sh/ruff-pre-commit@v0.14.0...v0.14.7)
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR is a pre-commit autoupdate that updates two tools:

  • clang-format from v17.0.6 to v21.1.6
  • ruff from v0.14.0 to v0.14.7

The changes are purely stylistic code formatting updates applied automatically by the updated clang-format tool. All modifications are cosmetic C/C++ pointer and reference syntax changes with no functional impact.

Key Changes:

  • Pointer syntax: T *xT* x (asterisk attached to type)
  • Reference syntax: T &xT& x (ampersand attached to type)
  • Cast syntax: (void *)(void*) (no space before closing parenthesis)
  • Operator spacing: numSM* numBlocksPerSmnumSM * numBlocksPerSm (proper spacing around multiplication)
  • Macro formatting: multi-line macros properly aligned

Reviewed changes

Copilot reviewed 19 out of 89 changed files in this pull request and generated no comments.

Show a summary per file
File Description
csrc/type_shim.h Pointer syntax updates in function signatures and comments
csrc/multi_tensor_adagrad.cu Pointer and cast syntax formatting
csrc/megatron/*.h Extensive pointer/reference syntax updates in CUDA kernels
csrc/megatron/*.cpp Const reference parameter formatting
csrc/megatron/*.cu Pointer/cast syntax and operator spacing fixes
csrc/fused_dense*.cu/.cpp Pointer and cast formatting in function declarations
apex/contrib/sparsity/*.cu Macro formatting and operator spacing
apex/contrib/csrc/xentropy/*.cu/.cpp Pointer/reference syntax in templates and functions
apex/contrib/csrc/transducer/*.cu Pointer syntax in device functions
apex/contrib/csrc/peer_memory/*.cu Operator spacing fix
apex/contrib/csrc/nccl_allocator/*.cpp Pointer syntax in function signatures
apex/contrib/csrc/multihead_attn/.cuh/.cu/*.cpp Extensive pointer/reference/cast formatting
apex/contrib/csrc/layer_norm/.h/.cuh/*.cu Pointer/reference syntax and operator spacing
apex/contrib/csrc/group_norm_v2/*.hpp Const reference syntax

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@crcrpar crcrpar merged commit 5c3b61d into master Dec 2, 2025
7 checks passed
@crcrpar crcrpar deleted the pre-commit-ci-update-config branch December 2, 2025 06:08
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