-
Notifications
You must be signed in to change notification settings - Fork 473
Add CodeRabbit configuration for automated PR reviews #2578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
dsikka
wants to merge
10
commits into
main
Choose a base branch
from
add_coderabbit_config
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+51
−0
Open
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
b498d1d
adjust settings
dsikka b746c80
Merge branch 'main' into add_coderabbit_config
dsikka 252bad6
fix
dsikka 65c3073
update
dsikka 65ce15d
add lableing for PRs
dsikka 6f087ac
update
dsikka 933e535
update
dsikka c3568fc
remove labeling instrutions for now
dsikka 239bfa5
Merge branch 'main' into add_coderabbit_config
dsikka fc46c3a
Disable auto_incremental_review in configuration
dsikka File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json | ||
| language: "en" | ||
| early_access: false | ||
| enable_free_tier: true | ||
| reviews: | ||
| request_changes_workflow: true | ||
| high_level_summary: true | ||
| high_level_summary_in_walkthrough: true # Only show high-level summary in walkthrough, not the PR description | ||
| poem: false | ||
| review_status: true | ||
| collapse_walkthrough: false | ||
| auto_apply_labels: true | ||
| path_filters: | ||
| - "!**/*.pyc" | ||
| - "!**/build/**" | ||
| - "!**/.pytest_cache/**" | ||
| - "!**/.ruff_cache/**" | ||
| - "!**/__pycache__/**" | ||
| - "!**/.lmeval_cache/**" | ||
| path_instructions: | ||
| - path: "**/*.py" | ||
| instructions: "Focus on code correctness, quantization algorithm implementation, numerical stability, and tensor operations. Check for major PEP 8 violations and Python best practices. Pay attention to GPU memory management and model loading patterns. Ignore trivial formatting issues." | ||
| - path: "tests/**/*.py" | ||
| instructions: "Ensure PyTest tests are clear, comprehensive, and cover edge cases for quantization scenarios. Verify proper mocking and test isolation. Don't focus on minor stylistic details." | ||
| - path: "examples/**/*.py" | ||
dsikka marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| instructions: "Review for clarity, correctness, and educational value. Ensure examples follow best practices and are runnable. Verify that comments and documentation are helpful for users learning the library." | ||
| - path: "src/llmcompressor/modifiers/**/*.py" | ||
dsikka marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| instructions: "Pay special attention to quantization modifier implementations. Verify algorithm correctness, proper handling of different quantization schemes (FP8, INT4, etc.), and compatibility with various model architectures." | ||
| - path: "docs/**/*.md" | ||
| instructions: "Check for clarity, accuracy, and completeness of documentation. Ensure code examples in docs are correct and align with current API." | ||
| - path: "**/README.md" | ||
| instructions: "Review for clarity, accuracy, and up-to-date information. Ensure installation instructions and examples are correct." | ||
| auto_review: | ||
| enabled: true | ||
| ignore_title_keywords: | ||
| - "WIP" | ||
| - "DO NOT MERGE" | ||
| - "DRAFT" | ||
| drafts: false | ||
| auto_incremental_review: false | ||
| base_branches: | ||
| - "main" | ||
| knowledge_base: | ||
| linked_repositories: | ||
| - repository: "vllm-project/compressed-tensors" | ||
| instructions: "Contains compressed model checkpoint format and offloading utilities. Useful for understanding model loading, memory management strategies, available compression formats, the lifecycle for managing compression, and compressed checkpoint." | ||
| chat: | ||
| auto_reply: true | ||
| issue_enrichment: | ||
| auto_enrich: | ||
| enabled: true | ||
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.