Skip to content

Compute distances in NN Descent kernels in native types #1901

Description

@divyegala

Currently, NN Descent copies input data to a fp16 for the distance computation kernel. This increases memory pressure severely, either adds an extra 0.5x for fp32 or 2x for int8/uint8 which is very restrictive to scaling.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions