microsoft / microsoft/SPTAG

It seems that the current version of SPTAG only supports np.float32.

Open
#11 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

new feature
Dominant language
C++
Stars
5k
Forks
622
Avg merge
8h 37m
Merged PRs (30d)
5

Description

When i use the np.float64, I turned the SPTAG.Annindex() datatype parameter from 'Float' (used in the test demo) to 'Double', 'Float64','float64', 'double', but all failed.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by reproducing the reported failure through the SPTAG.Annindex() datatype parameter with np.float64, comparing it with the working 'Float' and the attempted 'Double', 'Float64', 'float64', and 'double' values. Trace how that parameter is handled and define done as successful float64 support or a clear documented limitation, backed by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, numpy
Domain
search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.