fix: [cp2.6] support CPU adaptation for GPU CAGRA loading (#50096)#50385
fix: [cp2.6] support CPU adaptation for GPU CAGRA loading (#50096)#50385marcelo-cjl wants to merge 1 commit into
Conversation
Signed-off-by: marcelo-cjl <marcelo.chen@zilliz.com> (cherry picked from commit 22f5f9b) Signed-off-by: marcelo-cjl <marcelo.chen@zilliz.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: marcelo-cjl The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
[ci-v2-notice] To rerun ci-v2 checks, comment with:
If you have any questions or requests, please contact @zhikunyao. |
|
[INFO] PR Label Summary by Default
Use /refresh-label to update related check and label manually |
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## 2.6 #50385 +/- ##
===========================================
- Coverage 76.99% 42.57% -34.42%
===========================================
Files 1700 12 -1688
Lines 262533 1893 -260640
===========================================
- Hits 202142 806 -201336
+ Misses 53550 1035 -52515
+ Partials 6841 52 -6789
🚀 New features to boost your workflow:
|
Cherry-pick from master
pr: #50096
issue: #49836
Summary
adapt_for_cpuenabled as CPU-adapted in QueryNode resource checks.Test plan
git diff --check upstream/2.6..HEADGO_DIFF_FILES="internal/datanode/index_services_test.go internal/querynodev2/segments/collection.go internal/querynodev2/segments/collection_test.go internal/querynodev2/segments/segment_loader.go internal/querynodev2/segments/segment_loader_test.go" make fmtgo test -count=1 -tags test ./internal/querynodev2/segments -run 'TestGpuIndexRequiresGpu|TestCollectionManagerSuite/TestGpuIndexFlagWithCagraAdaptForCPU'blocked locally because this clean 2.6 workspace has not builtinternal/core/output/lib/libmilvus_core.so.