Skip to content

Adding more tests and I find the compression settings are broken in the Golang API - #1472

Merged
rapids-bot[bot] merged 1 commit into
NVIDIA:mainfrom
maxwbuckley:compress-go-fix
Oct 28, 2025
Merged

rapids-bot[bot] merged 1 commit into
NVIDIA:mainfrom
maxwbuckley:compress-go-fix

Conversation

@maxwbuckley

Copy link
Copy Markdown
Contributor

CreateCompressionParams in index_params.go currently does not work. It always throws an error ""memory allocation failed". This PR fixes that issue and adds a bunch more tests, both to some of the specific files and to cagra_test.go.

I noted that enabling the compression params in cagra_test.go makes the test values not deterministic even if I set the seed. Is this intentional? I looked around online and did not spot a way to set the seed in cuVS. At first I thought it was some C++ variable being not initalized, but added tests verifying all the settings in the compression params...

Thanks

@copy-pr-bot

copy-pr-bot Bot commented Oct 28, 2025

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@cjnolet cjnolet added bug Something isn't working non-breaking Introduces a non-breaking change labels Oct 28, 2025
@cjnolet cjnolet moved this from Todo to In Progress in Unstructured Data Processing Oct 28, 2025
@cjnolet

cjnolet commented Oct 28, 2025

Copy link
Copy Markdown
Contributor

/ok to test 2453b85

@benfred benfred left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changes look good to me! Thanks for fixing the compression params and adding the tests

@benfred

benfred commented Oct 28, 2025

Copy link
Copy Markdown
Contributor

/merge

@rapids-bot
rapids-bot Bot merged commit 1a066b3 into NVIDIA:main Oct 28, 2025
71 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Unstructured Data Processing Oct 28, 2025
landrumb pushed a commit to landrumb/cuvs that referenced this pull request Jul 8, 2026
…he Golang API (NVIDIA#1472)

CreateCompressionParams in index_params.go currently does not work. It always throws an error ""memory allocation failed". This PR fixes that issue and adds a bunch more tests, both to some of the specific files and to cagra_test.go.

I noted that enabling the compression params in cagra_test.go makes the test values not deterministic even if I set the seed. Is this intentional? I looked around online and did not spot a way to set the seed in cuVS. At first I thought it was some C++ variable being not initalized, but added tests verifying all the settings in the compression params...

Thanks

Authors:
  - Max Buckley (https://github.com/maxwbuckley)

Approvers:
  - Ben Frederickson (https://github.com/benfred)

URL: NVIDIA#1472
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working non-breaking Introduces a non-breaking change

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants