Skip to content

fix: resolve compiler warnings in quantizer implementations#4957

Open
maxwbuckley wants to merge 2 commits intofacebookresearch:mainfrom
maxwbuckley:fix/warnings-quantizers
Open

fix: resolve compiler warnings in quantizer implementations#4957
maxwbuckley wants to merge 2 commits intofacebookresearch:mainfrom
maxwbuckley:fix/warnings-quantizers

Conversation

@maxwbuckley
Copy link
Copy Markdown
Contributor

Summary

  • Fix compiler warnings in AdditiveQuantizer, ProductQuantizer, ResidualQuantizer, LocalSearchQuantizer, ScalarQuantizer, and related files
  • Includes scalar_quantizer subdirectory (distance_computers, quantizers, similarities, training)
  • Fixes include -Wshadow, -Wunused-parameter, -Wformat, and signed/unsigned comparisons

All changes are mechanical. No functional changes.

Part 4/13 of the compiler warnings cleanup (split from #4810 per maintainer request).

Test plan

  • No functional changes — all fixes are mechanical renames and annotations

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@meta-codesync
Copy link
Copy Markdown
Contributor

meta-codesync bot commented Mar 19, 2026

@alibeklfc has imported this pull request. If you are a Meta employee, you can view this in D97359316.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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