microsoft / microsoft/SPTAG

Segmentation fault (core dumped) while running quantizer

Open
#353 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Describe the bug
I am new to SPTAG and trying to run the "Tutorial" notebook but ran into below segmentation error while running quantizer. Appreciate your help on this.

Environment - Docker on Ubuntu

To Reproduce
Steps to reproduce the behavior:

  1. Create docker image with docker file. Had to use forked branch https://github.com/pabs3/SPTAG/tree/install-to-python-modules-dir from @pabs3 due to build errors on this repo
  2. Bring up docker container and start the notebook and sptag
  3. Run the Tutorial notebook on docs folder of this repo
  4. See error

Error

CompletedProcess(args='/usr/local/bin/quantizer -d 100 -v Float -f DEFAULT -i /mnt/sptag_index/vectors.bin -o quan_doc_vectors.bin -oq quantizer.bin -qt PQQuantizer -qd 50 -ts 1000 -norm false', returncode=139)
Segmentation fault (core dumped)

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 failure from the Tutorial notebook in the docs folder using the reported Docker-on-Ubuntu setup and the shown quantizer command. Check the command's inputs and output paths while narrowing down the segmentation fault; done means the notebook's quantizer step completes without return code 139.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, docker
Domain
cli, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.