forked from rapidsai/raft
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Serializer for mdspans (rapidsai#1173)
Closes rapidsai#1017 Implement a serializer for mdspan using the NumPy format. Row- and column-major layouts are supported. TODOs - [x] Revise IVF to use the new mdspan serializer - [x] Add gtest to cover serializing device mdspans - [x] Implement serializer for scalars - [x] Rename header to `raft/core/serialize.hpp` - [x] Use `device_resources` instead of `handle_t` - [x] Use 64-byte alignment - [x] Serialize scalars as 0D NumPy array - [x] Add version field to ANN serialization - [x] Test mdspan serializer in the Python layer Authors: - Philip Hyunsu Cho (https://github.com/hcho3) - Corey J. Nolet (https://github.com/cjnolet) Approvers: - Tamas Bela Feher (https://github.com/tfeher) - Artem M. Chirkin (https://github.com/achirkin) - Corey J. Nolet (https://github.com/cjnolet) - Divye Gala (https://github.com/divyegala) - Ray Douglass (https://github.com/raydouglass) URL: rapidsai#1173
- Loading branch information
1 parent
af93c05
commit 5219a9e
Showing
24 changed files
with
1,276 additions
and
258 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env bash | ||
# Copyright (c) 2022, NVIDIA CORPORATION. | ||
# Copyright (c) 2022-2023, NVIDIA CORPORATION. | ||
|
||
./build.sh libraft -v --allgpuarch --compile-dist --no-nvtx | ||
PARALLEL_LEVEL=8 ./build.sh libraft -v --allgpuarch --compile-dist --no-nvtx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env bash | ||
# Copyright (c) 2022, NVIDIA CORPORATION. | ||
# Copyright (c) 2022-2023, NVIDIA CORPORATION. | ||
|
||
./build.sh libraft -v --allgpuarch --compile-nn --no-nvtx | ||
PARALLEL_LEVEL=8 ./build.sh libraft -v --allgpuarch --compile-nn --no-nvtx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/usr/bin/env bash | ||
# Copyright (c) 2022, NVIDIA CORPORATION. | ||
# Copyright (c) 2022-2023, NVIDIA CORPORATION. | ||
|
||
./build.sh tests bench -v --allgpuarch --no-nvtx | ||
PARALLEL_LEVEL=8 ./build.sh tests bench -v --allgpuarch --no-nvtx | ||
cmake --install cpp/build --component testing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.