NVIDIA / NVIDIA/cuvs

[FEA] pairwise_distance API to allow integer type inputs

Open
#1,119 0 comments 0 reactions 1 assignee View on GitHub

@tarang-jain is already working on this.

Since Jul 16, 2025.

feature request
Dominant language
Cuda
Stars
854
Forks
236
Avg merge
3d 3h
Merged PRs (30d)
62

Description

Currently these APIs only allows float and double inputs. Some distance metrics can operate at the byte level (this issue propagates into Raft too, requiring Contraction kernel policies to be defined for int types). Required support is for uint8, int8, uint32, int32, int64_t, uint64_t.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.