Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions .coderabbit.yaml
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"
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"
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
Loading