Skip to content

tq remove data fit option - #8943

Merged
IvanPleshkov merged 2 commits into
devfrom
tq-disable-data-fit-option
May 7, 2026
Merged

IvanPleshkov merged 2 commits into
devfrom
tq-disable-data-fit-option

Conversation

@IvanPleshkov

Copy link
Copy Markdown
Contributor

This PR removes data fit option since it's not necessary.

@IvanPleshkov IvanPleshkov added this to the TurboQuant milestone May 7, 2026
@IvanPleshkov IvanPleshkov mentioned this pull request May 7, 2026
63 of 69 tasks
@IvanPleshkov
IvanPleshkov force-pushed the tq-disable-data-fit-option branch from 4aa918c to 3cb720c Compare May 7, 2026 12:51
coderabbitai[bot]

This comment was marked as resolved.

@IvanPleshkov
IvanPleshkov requested a review from JojiiOfficial May 7, 2026 12:56
) -> OperationResult<QuantizedVectorStorage> {
let bits = Self::convert_tq_bits(turbo_config.bits.unwrap_or_default());
let mode = Self::convert_tq_mode(turbo_config.data_fit);
let mode = TQMode::Plus;

@JojiiOfficial JojiiOfficial May 7, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can even remove this enum entirely. The only place I could find TqMode::Normal being used is in tests.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I find it important to keep because in tests it allows us to test separately appendable and non-appendable cases where the scoring is different

@IvanPleshkov
IvanPleshkov requested a review from JojiiOfficial May 7, 2026 13:10
@qdrant qdrant deleted a comment from coderabbitai Bot May 7, 2026
@IvanPleshkov
IvanPleshkov merged commit 4917124 into dev May 7, 2026
15 checks passed
@IvanPleshkov
IvanPleshkov deleted the tq-disable-data-fit-option branch May 7, 2026 13:17
timvisee pushed a commit that referenced this pull request May 8, 2026
* tq disable data fit option

* remove any mention in grpc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants