Removing granite embedding dependency temporaily for EC fix.#2969
Removing granite embedding dependency temporaily for EC fix.#2969sriroopar wants to merge 1 commit into
Conversation
|
Warning Review limit reached
Next review available in: 24 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThe PR disables Granite embedding model handling. It comments out the Granite artifact and constant, removes the OKP embedding Makefile target, and narrows the container runtime to ChangesDisable Granite embedding model path
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: raptorsun The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
231fdee to
d921e4d
Compare
There was a problem hiding this comment.
🧹 Nitpick comments (1)
ols/constants.py (1)
33-33: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick winRemove the commented-out OKP constant.
Keeping the granite path here leaves a stale embedding reference in the config module even though the repo now provisions only
all-mpnet-base-v2, and the comment itself violates the repo's no-comments rule.Suggested cleanup
EMBEDDINGS_MODEL_BYOK_SUBDIR = "all-mpnet-base-v2" -# EMBEDDINGS_MODEL_OKP_SUBDIR = "granite-embedding-30m-english"As per coding guidelines, "Code should be self-documenting; no comments unless explicitly requested."
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@ols/constants.py` at line 33, Remove the commented-out EMBEDDINGS_MODEL_OKP_SUBDIR constant from constants.py; it is stale, references the old granite embedding path, and violates the no-comments guideline. Clean up the constants module so only the active embeddings configuration remains, and verify any references rely on the current all-mpnet-base-v2 setup rather than the removed OKP symbol.Source: Coding guidelines
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@ols/constants.py`:
- Line 33: Remove the commented-out EMBEDDINGS_MODEL_OKP_SUBDIR constant from
constants.py; it is stale, references the old granite embedding path, and
violates the no-comments guideline. Clean up the constants module so only the
active embeddings configuration remains, and verify any references rely on the
current all-mpnet-base-v2 setup rather than the removed OKP symbol.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 12fdb111-6cfd-4c50-a128-24c84f0e0840
📒 Files selected for processing (11)
ContainerfileMakefileartifacts.lock.yamlembeddings_model/granite-embedding-30m-english/1_Pooling/config.jsonembeddings_model/granite-embedding-30m-english/config.jsonembeddings_model/granite-embedding-30m-english/modules.jsonembeddings_model/granite-embedding-30m-english/sentence_bert_config.jsonembeddings_model/granite-embedding-30m-english/special_tokens_map.jsonembeddings_model/granite-embedding-30m-english/tokenizer.jsonembeddings_model/granite-embedding-30m-english/tokenizer_config.jsonols/constants.py
💤 Files with no reviewable changes (7)
- embeddings_model/granite-embedding-30m-english/sentence_bert_config.json
- embeddings_model/granite-embedding-30m-english/special_tokens_map.json
- embeddings_model/granite-embedding-30m-english/config.json
- embeddings_model/granite-embedding-30m-english/modules.json
- embeddings_model/granite-embedding-30m-english/1_Pooling/config.json
- embeddings_model/granite-embedding-30m-english/tokenizer_config.json
- Makefile
🚧 Files skipped from review as they are similar to previous changes (2)
- artifacts.lock.yaml
- Containerfile
d921e4d to
083910c
Compare
|
/retest |
1 similar comment
|
/retest |
|
/retest |
6ed1b34 to
cf3853e
Compare
|
New changes are detected. LGTM label has been removed. |
7e991a1 to
ce843fb
Compare
Comment out granite-embedding-30m-english references to avoid disallowed source EC violation. The model files are removed and URL references are commented out for future re-enablement. Co-authored-by: Cursor <cursoragent@cursor.com>
ce843fb to
8495520
Compare
a332981 to
a2b75fc
Compare
1d7e243 to
8495520
Compare
|
PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
@sriroopar: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Description
Type of change
Related Tickets & Documents
Checklist before requesting a review
Testing
Summary by CodeRabbit
sentence-transformers/all-mpnet-base-v2.granite-embedding-30m-englishmodel in the default artifact list and embedding setup.