Skip to content

[8.4] RED-176382 Fix FT.CREATE failure with LeanVec parameters on non-Intel architectures#7351

Closed
redisearch-backport-pull-request[bot] wants to merge 1 commit into8.4from
backport-7344-to-8.4
Closed

[8.4] RED-176382 Fix FT.CREATE failure with LeanVec parameters on non-Intel architectures#7351
redisearch-backport-pull-request[bot] wants to merge 1 commit into8.4from
backport-7344-to-8.4

Conversation

@redisearch-backport-pull-request
Copy link
Contributor

@redisearch-backport-pull-request redisearch-backport-pull-request bot commented Nov 12, 2025

Description

Backport of #7344 to 8.4.


Note

Expose LVQ support detection and use it to conditionally report LeanVec reduced_dim in FT.INFO; decouple type check from platform and update SVS tests to include LeanVec4x8 with REDUCE and expected outputs.

  • SVS/VecSim internals:
    • Make isLVQSupported() public (vector_index.c/h).
    • VecSim_IsLeanVecCompressionType now only detects LeanVec types (no platform check).
  • FT.INFO output:
    • Report reduced_dim only when isLVQSupported() and VecSim_IsLeanVecCompressionType(...) are both true.
  • Tests:
    • Extend SVS VAMANA info test to include LeanVec4x8 (with REDUCE), and expect reduced_dim when runtime compression is LeanVec.

Written by Cursor Bugbot for commit 00e91a3. This will update automatically on new commits. Configure here.

… architectures (#7344)

* move  isLVQSupported() to info
remove isLVQSupportedfrom VecSim_IsLeanVecCompressionType
expose isLVQSupported

add , 'LeanVec4x8' to test_vecsim_svs:test_svs_vamana_info

* add reduce

(cherry picked from commit 2c35686)
@codecov
Copy link

codecov bot commented Nov 12, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.79%. Comparing base (c6130aa) to head (00e91a3).
⚠️ Report is 1 commits behind head on 8.4.

Additional details and impacted files
@@            Coverage Diff             @@
##              8.4    #7351      +/-   ##
==========================================
- Coverage   85.81%   85.79%   -0.03%     
==========================================
  Files         330      330              
  Lines       52297    52297              
  Branches    12001    12001              
==========================================
- Hits        44878    44866      -12     
- Misses       7252     7264      +12     
  Partials      167      167              
Flag Coverage Δ
flow 84.34% <100.00%> (-0.13%) ⬇️
unit 52.50% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@meiravgri
Copy link
Collaborator

merged manually by #7346

@meiravgri meiravgri closed this Nov 13, 2025
auto-merge was automatically disabled November 13, 2025 04:50

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant