Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR addresses linting issues by reformatting C++ code across multiple files in the turbomind codebase. The changes are purely cosmetic, improving code alignment, breaking long lines, and ensuring consistent formatting without altering any functionality.
Changes:
- Reformatted line breaks and alignment in parameter lists, function calls, and variable declarations
- Aligned inline comments for better readability
- Ensured compliance with line length limits in configuration and kernel files
Reviewed changes
Copilot reviewed 7 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/turbomind/turbomind.cc | Reformatted long line assignment to fit line length limits |
| src/turbomind/models/llama/moe_ffn_layer.cc | Aligned function call parameters for invokeMoeGate_V2 |
| src/turbomind/models/llama/llama_params.h | Aligned inline comments for weight type variables |
| src/turbomind/models/llama/LlamaDecoderLayerWeight.cc | Aligned variable declarations for is_moe_layer and ffn_wtype |
| src/turbomind/kernels/gemm/moe_utils_v2.cu | Aligned function parameters, kernel parameters, and variable declarations throughout the file |
| src/turbomind/kernels/attention/codegen/decoding_sm80_576_bf16_u8.cu | Reformatted template instantiations to single lines |
| src/turbomind/kernels/attention/codegen/decoding_sm80_576_bf16_u4.cu | Reformatted template instantiations to single lines |
| src/turbomind/kernels/attention/codegen/decoding_sm80_576_bf16_bf16.cu | Reformatted template instantiations with return type on separate line |
| src/turbomind/kernels/attention/codegen/attention_sm80_576_bf16.cu | Reformatted template instantiation to single line |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
lvhan028
approved these changes
Feb 27, 2026
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.
No description provided.