[BUG]Run error for nvidia v100 on branch-24.04

Open
#2,599 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

Research direction

Reproduce cpp/build/gtests/NEIGHBORS_ANN_CAGRA_TEST on the reported NVIDIA V100 with CUDA 11.8 and inspect the assertion at cpp/include/raft/neighbors/detail/ivf_flat_interleaved_scan-inl.cuh:756. Trace the reported sample offset and list-length failure, then rerun the test to verify it completes without the device-side assertion.

Written by the indexing model from the issue text.

Description

bug

Describe the bug
when building and runing raft test case "cpp/build/gtests/NEIGHBORS_ANN_CAGRA_TEST", reported this error report, as below list:
I run test case on nvidia v100 and cuda 11.8 , nvidia deriver 535.54

/code/raft-24.04-2/cpp/include/raft/neighbors/detail/ivf_flat_interleaved_scan-inl.cuh:756: void raft::neighbors::ivf_flat::detail::interleaved_scan_kernel(Lambda, PostLambda, unsigned int, const T *, const unsigned int *, const T *const *, const unsigned int *, unsigned int, unsigned int, unsigned int, unsigned int, const unsigned int *, unsigned int, IvfSampleFilterT, unsigned int *, float *) [with int Capacity = 256; int Veclen = 1; nv_bool Ascending = true; T = float; AccT = float; IdxT = signed long; IvfSampleFilterT = raft::neighbors::filtering::ivf_to_sample_filter<signed long, raft::neighbors::filtering::none_ivf_sample_filter>; Lambda = raft::neighbors::ivf_flat::detail::euclidean_dist<1, float, float>; PostLambda = raft::identity_op]: block: [0,131,0], thread: [126,0,0] Assertion sample_offset + list_length <= max_samples failed.
/code/raft-24.04-2/cpp/include/raft/neighbors/detail/ivf_flat_interleaved_scan-inl.cuh:756: void raft::neighbors::ivf_flat::detail::interleaved_scan_kernel(Lambda, PostLambda, unsigned int, const T *, const unsigned int *, const T *const *, const unsigned int *, unsigned int, unsigned int, unsigned int, unsigned int, const unsigned int *, unsigned int, IvfSampleFilterT, unsigned int *, float ) [with int Capacity = 256; int Veclen = 1; __nv_bool Ascending = true; T = float; AccT = float; IdxT = signed long; IvfSampleFilterT = raft::neighbors::filtering::ivf_to_sample_filter<signed long, raft::neighbors::filtering::none_ivf_sample_filter>; Lambda = raft::neighbors::ivf_flat::detail::euclidean_dist<1, float, float>; PostLambda = raft::identity_op]: block: [0,131,0], thread: [127,0,0] Assertion sample_offset + list_length <= max_samples failed.
CUDA Error detected. cudaErrorAssert device-side assert triggered
NEIGHBORS_ANN_CAGRA_TEST: /code/raft-24.04-2/cpp/build/_deps/rmm-src/include/rmm/mr/device/cuda_memory_resource.hpp:78: virtual void rmm::mr::cuda_memory_resource::do_deallocate(void
, std::size_t, rmm::cuda_stream_view): Assertion `status
== cudaSuccess' failed.

Dominant language
Cuda
Stars
1.1k
Forks
260
Avg merge
1d 18h
Merged PRs (30d)
21

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No 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.

More from NVIDIA/raft

All issues in NVIDIA/raft

Similar issues

More Machine Learning issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.