Skip to content

Support computations using float16 #48

@mtbarta

Description

@mtbarta

We use sgemm to run matmuls for every query.

We can cut this in half by supporting float16, which MKL/OpenBLAS support.

Requirements:

  • We need to be able to toggle this behavior. We should expect some perf loss from the loss in precision.
  • We need to decide when float16 computation is allowed. e.g. Are we casting our stored embeddings to float16 instead of float32? Where does that happen?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions