repo_id stringlengths 21 96 | file_path stringlengths 31 155 | content stringlengths 1 92.9M | __index_level_0__ int64 0 0 |
|---|---|---|---|
rapidsai_public_repos/raft/cpp/test | rapidsai_public_repos/raft/cpp/test/cluster/linkage.cu | /*
* Copyright (c) 2021-2023, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 0 |
rapidsai_public_repos/raft/cpp/test | rapidsai_public_repos/raft/cpp/test/cluster/cluster_solvers_deprecated.cu | /*
* Copyright (c) 2020-2023, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 0 |
rapidsai_public_repos/raft/cpp/test | rapidsai_public_repos/raft/cpp/test/cluster/kmeans.cu | /*
* Copyright (c) 2022-2023, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 0 |
rapidsai_public_repos/raft/cpp/test | rapidsai_public_repos/raft/cpp/test/cluster/cluster_solvers.cu | /*
* Copyright (c) 2020-2023, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 0 |
rapidsai_public_repos/raft/cpp/test | rapidsai_public_repos/raft/cpp/test/cluster/kmeans_balanced.cu | /*
* Copyright (c) 2022-2023, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 0 |
rapidsai_public_repos/raft/cpp/test | rapidsai_public_repos/raft/cpp/test/label/label.cu | /*
* Copyright (c) 2019-2022, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 0 |
rapidsai_public_repos/raft/cpp/test | rapidsai_public_repos/raft/cpp/test/label/merge_labels.cu | /*
* Copyright (c) 2020-2023, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 0 |
rapidsai_public_repos/raft/cpp | rapidsai_public_repos/raft/cpp/internal/CMakeLists.txt | # =============================================================================
# Copyright (c) 2023, NVIDIA CORPORATION.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
# in compliance with the License. You may obtain a copy of the License at
#
# http://www.apache.o... | 0 |
rapidsai_public_repos/raft/cpp/internal/raft_internal | rapidsai_public_repos/raft/cpp/internal/raft_internal/neighbors/naive_knn.cuh | /*
* Copyright (c) 2023, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 0 |
rapidsai_public_repos/raft/cpp/internal/raft_internal | rapidsai_public_repos/raft/cpp/internal/raft_internal/neighbors/refine_helper.cuh | /*
* Copyright (c) 2022-2023, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 0 |
rapidsai_public_repos/raft/cpp/internal/raft_internal | rapidsai_public_repos/raft/cpp/internal/raft_internal/matrix/select_k.cuh | /*
* Copyright (c) 2022-2023, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 0 |
rapidsai_public_repos/raft | rapidsai_public_repos/raft/notebooks/tutorial_ivf_pq.ipynb | import os
import tempfile
import cupy as cp
import numpy as np
import matplotlib.pyplot as plt
import rmm
import urllib.request
import h5py
from rmm.allocators.cupy import rmm_cupy_allocator
from pylibraft.common import DeviceResources
from pylibraft.neighbors import ivf_pq, refine
from adjustText import adjust_text
f... | 0 |
rapidsai_public_repos/raft | rapidsai_public_repos/raft/notebooks/VectorSearch_QuestionRetrieval.ipynb | import json
from sentence_transformers import SentenceTransformer, CrossEncoder, util
import time
import gzip
import os
import torch
import pylibraft
from pylibraft.neighbors import ivf_flat, ivf_pq
pylibraft.config.set_output_as(lambda device_ndarray: device_ndarray.copy_to_host())
if not torch.cuda.is_available():
... | 0 |
rapidsai_public_repos/raft | rapidsai_public_repos/raft/notebooks/ivf_flat_example.ipynb | import os
import cupy as cp
import numpy as np
from pylibraft.common import DeviceResources
from pylibraft.neighbors import ivf_flat
import matplotlib.pyplot as plt
import tempfile
from utils import BenchmarkTimer, calc_recall, load_datasetimport rmm
from rmm.allocators.cupy import rmm_cupy_allocator
mr = rmm.mr.PoolMe... | 0 |
rapidsai_public_repos/raft | rapidsai_public_repos/raft/notebooks/utils.py | #
# Copyright (c) 2023, NVIDIA CORPORATION.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... | 0 |
rapidsai_public_repos/raft | rapidsai_public_repos/raft/.devcontainer/README.md | # RAFT Development Containers
This directory contains [devcontainer configurations](https://containers.dev/implementors/json_reference/) for using VSCode to [develop in a container](https://code.visualstudio.com/docs/devcontainers/containers) via the `Remote Containers` [extension](https://marketplace.visualstudio.com... | 0 |
rapidsai_public_repos/raft | rapidsai_public_repos/raft/.devcontainer/Dockerfile | # syntax=docker/dockerfile:1.5
ARG BASE
ARG PYTHON_PACKAGE_MANAGER=conda
FROM ${BASE} as pip-base
ENV DEFAULT_VIRTUAL_ENV=rapids
FROM ${BASE} as conda-base
ENV DEFAULT_CONDA_ENV=rapids
FROM ${PYTHON_PACKAGE_MANAGER}-base
ARG CUDA
ENV CUDAARCHS="RAPIDS"
ENV CUDA_VERSION="${CUDA_VERSION:-${CUDA}}"
ARG PYTHON_PACK... | 0 |
rapidsai_public_repos/raft/.devcontainer | rapidsai_public_repos/raft/.devcontainer/cuda11.8-pip/devcontainer.json | {
"build": {
"context": "${localWorkspaceFolder}/.devcontainer",
"dockerfile": "${localWorkspaceFolder}/.devcontainer/Dockerfile",
"args": {
"CUDA": "11.8",
"PYTHON_PACKAGE_MANAGER": "pip",
"BASE": "rapidsai/devcontainers:24.02-cpp-llvm16-cuda11.8-ubuntu22.04"
}
},
"hostRequireme... | 0 |
rapidsai_public_repos/raft/.devcontainer | rapidsai_public_repos/raft/.devcontainer/cuda12.0-pip/devcontainer.json | {
"build": {
"context": "${localWorkspaceFolder}/.devcontainer",
"dockerfile": "${localWorkspaceFolder}/.devcontainer/Dockerfile",
"args": {
"CUDA": "12.0",
"PYTHON_PACKAGE_MANAGER": "pip",
"BASE": "rapidsai/devcontainers:24.02-cpp-llvm16-cuda12.0-ubuntu22.04"
}
},
"hostRequireme... | 0 |
rapidsai_public_repos/raft/.devcontainer | rapidsai_public_repos/raft/.devcontainer/cuda12.0-conda/devcontainer.json | {
"build": {
"context": "${localWorkspaceFolder}/.devcontainer",
"dockerfile": "${localWorkspaceFolder}/.devcontainer/Dockerfile",
"args": {
"CUDA": "12.0",
"PYTHON_PACKAGE_MANAGER": "conda",
"BASE": "rapidsai/devcontainers:24.02-cpp-mambaforge-ubuntu22.04"
}
},
"hostRequirements... | 0 |
rapidsai_public_repos/raft/.devcontainer | rapidsai_public_repos/raft/.devcontainer/cuda11.8-conda/devcontainer.json | {
"build": {
"context": "${localWorkspaceFolder}/.devcontainer",
"dockerfile": "${localWorkspaceFolder}/.devcontainer/Dockerfile",
"args": {
"CUDA": "11.8",
"PYTHON_PACKAGE_MANAGER": "conda",
"BASE": "rapidsai/devcontainers:24.02-cpp-llvm16-cuda11.8-mambaforge-ubuntu22.04"
}
},
"... | 0 |
rapidsai_public_repos/raft | rapidsai_public_repos/raft/docs/README.md | # Building Documentation
## Building locally:
#### [Build and install RAFT](source/build.md)
#### Generate the docs
```shell script
bash build.sh docs
```
#### Once the process finishes, documentation can be found in build/html
```shell script
xdg-open build/html/index.html`
``` | 0 |
rapidsai_public_repos/raft | rapidsai_public_repos/raft/docs/make.bat | @ECHO OFF
pushd %~dp0
REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=source
set BUILDDIR=build
set SPHINXPROJ=cuML
if "%1" == "" goto help
%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The 'sphinx-build' command was not found. Make su... | 0 |
rapidsai_public_repos/raft | rapidsai_public_repos/raft/docs/Makefile | # Minimal makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SPHINXPROJ = RAFT
SOURCEDIR = source
BUILDDIR = build
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help -v "$(SOU... | 0 |
rapidsai_public_repos/raft/docs | rapidsai_public_repos/raft/docs/source/pylibraft_api.rst | ~~~~~~~~~~
Python API
~~~~~~~~~~
.. _api:
.. toctree::
:maxdepth: 4
pylibraft_api/cluster.rst
pylibraft_api/common.rst
pylibraft_api/distance.rst
pylibraft_api/matrix.rst
pylibraft_api/neighbors.rst
pylibraft_api/random.rst
| 0 |
rapidsai_public_repos/raft/docs | rapidsai_public_repos/raft/docs/source/cpp_api.rst | ~~~~~~~
C++ API
~~~~~~~
.. _api:
.. toctree::
:maxdepth: 4
cpp_api/core.rst
cpp_api/cluster.rst
cpp_api/distance.rst
cpp_api/linalg.rst
cpp_api/matrix.rst
cpp_api/mdspan.rst
cpp_api/mnmg.rst
cpp_api/neighbors.rst
cpp_api/random.rst
cpp_api/solver.rst
cpp_api/sparse.rst
cpp_api/... | 0 |
rapidsai_public_repos/raft/docs | rapidsai_public_repos/raft/docs/source/vector_search_tutorial.md | # Vector Search in C++ Tutorial
RAFT has several important algorithms for performing vector search on the GPU and this tutorial walks through the primary vector search APIs from start to finish to provide a reference for quick setup and C++ API usage.
This tutorial assumes RAFT has been installed and/or added to your... | 0 |
rapidsai_public_repos/raft/docs | rapidsai_public_repos/raft/docs/source/ann_benchmarks_build.md | ### Dependencies
CUDA 11 and a GPU with Pascal architecture or later are required to run the benchmarks.
Please refer to the [installation docs](https://docs.rapids.ai/api/raft/stable/build.html#cuda-gpu-requirements) for the base requirements to build RAFT.
In addition to the base requirements for building RAFT,... | 0 |
rapidsai_public_repos/raft/docs | rapidsai_public_repos/raft/docs/source/wiki_all_dataset.md | # Wiki-all Dataset
The `wiki-all` dataset was created to stress vector search algorithms at scale with both a large number of vectors and dimensions. The entire dataset contains 88M vectors with 768 dimensions and is meant for testing the types of vectors one would typically encounter in retrieval augmented generation... | 0 |
rapidsai_public_repos/raft/docs | rapidsai_public_repos/raft/docs/source/ann_benchmarks_dataset.md | # ANN Benchmarks Datasets
A dataset usually has 4 binary files containing database vectors, query vectors, ground truth neighbors and their corresponding distances. For example, Glove-100 dataset has files `base.fbin` (database vectors), `query.fbin` (query vectors), `groundtruth.neighbors.ibin` (ground truth neighbor... | 0 |
rapidsai_public_repos/raft/docs | rapidsai_public_repos/raft/docs/source/contributing.md | # Contributing
If you are interested in contributing to RAFT, your contributions will fall
into three categories:
1. You want to report a bug, feature request, or documentation issue
- File an [issue](https://github.com/rapidsai/RAFT/issues/new/choose)
describing what you encountered or what you want to see ch... | 0 |
rapidsai_public_repos/raft/docs | rapidsai_public_repos/raft/docs/source/ann_benchmarks_param_tuning.md | # ANN Benchmarks Parameter Tuning Guide
This guide outlines the various parameter settings that can be specified in [RAFT ANN Benchmark](raft_ann_benchmarks.md) json configuration files and explains the impact they have on corresponding algorithms to help inform their settings for benchmarking across desired levels of... | 0 |
rapidsai_public_repos/raft/docs | rapidsai_public_repos/raft/docs/source/ann_benchmarks_low_level.md | ### Low-level Scripts and Executables
#### End-to-end Example
An end-to-end example (run from the RAFT source code root directory):
```bash
# (0) get raft sources
git clone https://github.com/rapidsai/raft.git
cd raft
# (1) prepare a dataset
export PYTHONPATH=python/raft-ann-bench/src:$PYTHONPATH
python -m raft-ann-be... | 0 |
rapidsai_public_repos/raft/docs | rapidsai_public_repos/raft/docs/source/raft_dask_api.rst | ~~~~~~~~~~~~~
RAFT Dask API
~~~~~~~~~~~~~
.. role:: py(code)
:language: python
:class: highlight
Dask-based Multi-Node Multi-GPU Communicator
--------------------------------------------
.. autoclass:: raft_dask.common.Comms
:members:
| 0 |
rapidsai_public_repos/raft/docs | rapidsai_public_repos/raft/docs/source/quick_start.md | # Quick Start
This guide is meant to provide a quick-start tutorial for interacting with RAFT's C++ & Python APIs.
## RAPIDS Memory Manager (RMM)
RAFT relies heavily on the [RMM](https://github.com/rapidsai/rmm) library which eases the burden of configuring different allocation strategies globally across the librari... | 0 |
rapidsai_public_repos/raft/docs | rapidsai_public_repos/raft/docs/source/using_libraft.md | # Using The Pre-Compiled Binary
At its core, RAFT is a header-only template library, which makes it very powerful in that APIs can be called with various different combinations of data types and only the templates which are actually used will be compiled into your binaries. This increased flexibility comes with a draw... | 0 |
rapidsai_public_repos/raft/docs | rapidsai_public_repos/raft/docs/source/raft_ann_benchmarks.md | # RAFT ANN Benchmarks
This project provides a benchmark program for various ANN search implementations. It's especially suitable for comparing GPU implementations as well as comparing GPU against CPU.
## Table of Contents
- [Installing the benchmarks](#installing-the-benchmarks)
- [Conda](#conda)
- [Docker](... | 0 |
rapidsai_public_repos/raft/docs | rapidsai_public_repos/raft/docs/source/conf.py | # Copyright (c) 2018-2023, NVIDIA CORPORATION.
import os
import sys
# If extensions (or modules to document with autodoc) are in another
# directory, add these directories to sys.path here. If the directory
# is relative to the documentation root, use os.path.abspath to make it
# absolute, like shown here.
sys.path.i... | 0 |
rapidsai_public_repos/raft/docs | rapidsai_public_repos/raft/docs/source/build.md | # Installation
RAFT currently provides libraries for C++ and Python. The C++ libraries, including the header-only and optional shared library, can be installed with Conda.
Both the C++ and Python APIs require CMake to build from source.
## Table of Contents
- [Install C++ and Python through Conda](#installing-c-an... | 0 |
rapidsai_public_repos/raft/docs | rapidsai_public_repos/raft/docs/source/using_raft_comms.rst | Using RAFT Comms
================
RAFT provides a communications abstraction for writing distributed algorithms which can scale up to multiple GPUs and scale out to multiple nodes. The communications abstraction is largely based on MPI and NCCL, and allows the user to decouple the design of algorithms from the environ... | 0 |
rapidsai_public_repos/raft/docs | rapidsai_public_repos/raft/docs/source/index.rst | RAPIDS RAFT: Reusable Accelerated Functions and Tools for Vector Search and More
================================================================================
.. image:: ../../img/raft-tech-stack-vss.png
:width: 800
:alt: RAFT Tech Stack
Useful Resources
################
.. _raft_reference: https://docs.rapid... | 0 |
rapidsai_public_repos/raft/docs | rapidsai_public_repos/raft/docs/source/developer_guide.md | # Developer Guide
## General
Please start by reading the [Contributor Guide](contributing.md).
## Performance
1. In performance critical sections of the code, favor `cudaDeviceGetAttribute` over `cudaDeviceGetProperties`. See corresponding CUDA devblog [here](https://devblogs.nvidia.com/cuda-pro-tip-the-fast-way-to-q... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/_static/references.css |
/* Fix references to not look like parameters */
dl.citation > dt.label {
display: unset !important;
float: left !important;
border: unset !important;
background: unset !important;
padding: unset !important;
margin: unset !important;
font-size: unset !important;
line-height: unset !important;
padding... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/pylibraft_api/distance.rst | Distance
========
This page provides `pylibraft` class references for the publicly-exposed elements of the `pylibraft.distance` package. RAFT's
distances have been highly optimized and support a wide assortment of different distance measures.
.. role:: py(code)
:language: python
:class: highlight
.. autofunct... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/pylibraft_api/neighbors.rst | Neighbors
=========
This page provides pylibraft class references for the publicly-exposed elements of the neighbors package.
.. role:: py(code)
:language: python
:class: highlight
Brute Force
###########
.. autofunction:: pylibraft.neighbors.brute_force.knn
CAGRA
#####
.. autoclass:: pylibraft.neighbors.... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/pylibraft_api/matrix.rst | Matrix
======
This page provides `pylibraft` class references for the publicly-exposed elements of the `pylibraft.matrix` package.
.. role:: py(code)
:language: python
:class: highlight
.. autofunction:: pylibraft.matrix.select_k
| 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/pylibraft_api/cluster.rst | Cluster
=======
This page provides pylibraft class references for the publicly-exposed elements of the `pylibraft.cluster` package.
.. role:: py(code)
:language: python
:class: highlight
KMeans
######
.. autoclass:: pylibraft.cluster.kmeans.KMeansParams
:members:
.. autofunction:: pylibraft.cluster.kmean... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/pylibraft_api/common.rst | Common
======
This page provides `pylibraft` class references for the publicly-exposed elements of the `pylibraft.common` package.
.. role:: py(code)
:language: python
:class: highlight
Basic Vocabulary
################
.. autoclass:: pylibraft.common.DeviceResources
:members:
.. autoclass:: pylibraft.... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/pylibraft_api/random.rst | Random
======
This page provides pylibraft class references for the publicly-exposed elements of the `pylibraft.random` package.
.. role:: py(code)
:language: python
:class: highlight
.. autofunction:: pylibraft.random.rmat | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/sphinxext/github_link.py | # This contains code with copyright by the scikit-learn project, subject to the
# license in /thirdparty/LICENSES/LICENSE.scikit_learn
import inspect
import os
import re
import subprocess
import sys
from functools import partial
from operator import attrgetter
orig = inspect.isfunction
# See https://opendreamkit.or... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/cluster_kmeans.rst | K-Means
=======
.. role:: py(code)
:language: c++
:class: highlight
``#include <raft/cluster/kmeans.cuh>``
.. doxygennamespace:: raft::cluster::kmeans
:project: RAFT
:members:
:content-only:
| 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/random_sampling_multivariable.rst | Multi-Variable Random Sampling
==============================
.. role:: py(code)
:language: c++
:class: highlight
Multi-Variable Gaussian
-----------------------
``#include <raft/random/multi_variable_gaussian.hpp>``
namespace *raft::random*
.. doxygengroup:: multi_variable_gaussian
:project: RAFT
:... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/neighbors_epsilon_neighborhood.rst | Epsilon Neighborhood
====================
.. role:: py(code)
:language: c++
:class: highlight
``#include <raft/neighbors/epsilon_neighborhood.cuh>``
namespace *raft::neighbors::epsilon_neighborhood*
.. doxygengroup:: epsilon_neighbors
:project: RAFT
:members:
:content-only:
| 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/distance.rst | Distance
========
This page provides C++ class references for the publicly-exposed elements of the `raft/distance` package. RAFT's
distances have been highly optimized and support a wide assortment of different distance measures.
.. role:: py(code)
:language: c++
:class: highlight
Distance Types
--------------... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/mdspan_mdspan.rst | mdspan: Multi-dimensional Non-owning View
==========================================
.. role:: py(code)
:language: c++
:class: highlight
``#include <raft/core/mdspan.hpp>``
.. doxygentypedef:: raft::mdspan
:project: RAFT
.. doxygenfunction:: raft::make_mdspan
:project: RAFT
.. doxygenfunction:: raft:... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/neighbors.rst | Neighbors
=========
This page provides C++ class references for the publicly-exposed elements of the neighbors package.
.. role:: py(code)
:language: c++
:class: highlight
.. toctree::
:maxdepth: 2
:caption: Contents:
neighbors_brute_force.rst
neighbors_ivf_flat.rst
neighbors_ivf_pq.rst
neig... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/neighbors_ivf_pq.rst | IVF-PQ
======
.. role:: py(code)
:language: c++
:class: highlight
``#include <raft/neighbors/ivf_pq.cuh>``
namespace *raft::neighbors::ivf_pq*
.. doxygengroup:: ivf_pq
:project: RAFT
:members:
:content-only:
Serializer Methods
------------------
``#include <raft/neighbors/ivf_pq_serialize.cuh>``
... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/core_interruptible.rst | Interruptible
=============
.. role:: py(code)
:language: c++
:class: highlight
``#include <raft/core/interruptible.hpp>``
namespace *raft::core*
.. doxygengroup:: interruptible
:project: RAFT
:members:
:content-only:
| 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/sparse_linalg.rst | Sparse Linear Algebra
=====================
.. doxygennamespace:: raft::sparse::linalg
:project: RAFT
:members:
:content-only:
| 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/matrix_ordering.rst | Matrix Ordering
===============
.. role:: py(code)
:language: c++
:class: highlight
Argmax
------
``#include <raft/matrix/argmax.cuh>``
namespace *raft::matrix*
.. doxygengroup:: argmax
:project: RAFT
:members:
:content-only:
Argmin
------
``#include <raft/matrix/argmin.cuh>``
namespace *raft:... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/stats_clustering.rst | Clustering Model Scoring
========================
.. role:: py(code)
:language: c++
:class: highlight
Adjusted Rand Index
-------------------
``#include <raft/stats/adjusted_rand_index.cuh>``
namespace *raft::stats*
.. doxygengroup:: stats_adj_rand_index
:project: RAFT
:members:
:content-only:
... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/random_sampling_without_replacement.rst | Sampling Without Replacement
============================
.. role:: py(code)
:language: c++
:class: highlight
``#include <raft/random/sample_without_replacement.cuh>``
namespace *raft::random*
.. doxygengroup:: sample_without_replacement
:project: RAFT
:members:
:content-only:
``#include <raft/ra... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/linalg_matrix_vector.rst | Matrix-Vector Operations
========================
.. role:: py(code)
:language: c++
:class: highlight
Arithmetic
----------
``#include <raft/linalg/matrix_vector.cuh>``
namespace *raft::linalg*
.. doxygengroup:: matrix_vector
:project: RAFT
:members:
:content-only:
Operations
----------
``#inc... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/mnmg.rst | Multi-node Multi-GPU
====================
RAFT contains C++ infrastructure for abstracting the communications layer when writing applications that scale on multiple nodes and across multiple GPUs. This infrastructure assumes OPG (one-process per GPU) architectures where multiple physical parallel units (processes, ran... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/linalg_map_reduce.rst | Mapping and Reduction
=====================
.. role:: py(code)
:language: c++
:class: highlight
Coalesced Reduction
-------------------
``#include <raft/linalg/coalesced_reduction.cuh>``
namespace *raft::linalg*
.. doxygengroup:: coalesced_reduction
:project: RAFT
:members:
:content-only:
Map
--... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/sparse_types_csr_matrix.rst | CSR Matrix
==========
.. role:: py(code)
:language: c++
:class: highlight
Basic Vocabulary
----------------
``#include <raft/core/csr_matrix.hpp>``
.. doxygengroup:: csr_matrix
:project: RAFT
:members:
:content-only:
Device CSR Matrix
-----------------
``#include <raft/core/device_csr_matrix.h... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/mdspan_representation.rst | Multi-dimensional Representation
================================
.. role:: py(code)
:language: c++
:class: highlight
Data Layouts
-------------
``#include <raft/core/mdspan_types.hpp>``
.. doxygengroup:: mdspan_layout
:project: RAFT
:members:
:content-only:
Shapes
------
``#include <raft/core/m... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/sparse_types.rst | Sparse Types
============
.. role:: py(code)
:language: c++
:class: highlight
``#include <raft/core/sparse_types.hpp>``
.. doxygengroup:: sparse_types
:project: RAFT
:members:
:content-only:
.. toctree::
:maxdepth: 2
:caption: Contents:
sparse_types_coo_matrix.rst
sparse_types_csr_m... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/sparse_matrix.rst | Sparse Matrix Operations
========================
.. doxygennamespace:: raft::sparse::op
:project: RAFT
:members:
:content-only:
| 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/solver.rst | Solvers
=======
This page provides C++ class references for the publicly-exposed elements of the iterative and combinatorial solvers package.
.. role:: py(code)
:language: c++
:class: highlight
Linear Assignment Problem
#########################
``#include <raft/solver/linear_assignment.cuh>``
.. doxygencla... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/neighbors_ball_cover.rst | Random Ball Cover
=================
.. role:: py(code)
:language: c++
:class: highlight
``#include <raft/neighbors/ball_cover.cuh>``
namespace *raft::neighbors::ball_cover*
.. doxygengroup:: random_ball_cover
:project: RAFT
:members:
:content-only:
| 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/matrix.rst | Matrix
======
This page provides C++ class references for the publicly-exposed elements of the `raft/matrix` headers. The `raft/matrix`
headers cover many operations on matrices that are otherwise not covered by `raft/linalg`.
.. role:: py(code)
:language: c++
:class: highlight
.. toctree::
:maxdepth: 2
... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/cluster.rst | Cluster
=======
This page provides C++ API references for the publicly-exposed elements of the `raft/cluster` headers. RAFT provides
fundamental clustering algorithms which are, themselves, considered reusable building blocks for other algorithms.
.. role:: py(code)
:language: c++
:class: highlight
.. toctree:... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/distance_pairwise.rst | Pairwise Distance
=================
.. role:: py(code)
:language: c++
:class: highlight
``#include <raft/distance/distance.cuh>``
namespace *raft::distance*
.. doxygengroup:: distance_mdspan
:project: RAFT
:members:
:content-only:
| 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/matrix_manipulation.rst | Matrix Manipulation
===================
.. role:: py(code)
:language: c++
:class: highlight
Initialization
--------------
``#include <raft/matrix/init.cuh>``
namespace *raft::matrix*
.. doxygengroup:: matrix_init
:project: RAFT
:members:
:content-only:
Reverse
-------
``#include <raft/matrix/r... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/utils.rst | Utilities
=========
RAFT contains numerous utility functions and primitives that are easily usable.
This page provides C++ API references for the publicly-exposed utility functions.
.. role:: py(code)
:language: c++
:class: highlight
Memory Pool
-----------
``#include <raft/utils/memory_pool.cuh>``
namespace... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/mdspan_mdarray.rst | mdarray: Multi-dimensional Owning Container
===========================================
.. role:: py(code)
:language: c++
:class: highlight
``#include <raft/core/mdarray.hpp>``
.. doxygengroup:: mdarray_apis
:project: RAFT
:members:
:content-only:
Device Vocabulary
-----------------
``#include <r... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/stats_classification.rst | Classification Model Scoring
============================
.. role:: py(code)
:language: c++
:class: highlight
Accuracy
--------
``#include <raft/stats/accuracy.cuh>``
namespace *raft::stats*
.. doxygengroup:: stats_accuracy
:project: RAFT
:members:
:content-only:
| 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/stats_probability.rst | Probability & Information Theory
================================
.. role:: py(code)
:language: c++
:class: highlight
Contingency Matrix
------------------
``#include <raft/stats/contingency_matrix.cuh>``
namespace *raft::stats*
.. doxygengroup:: contingency_matrix
:project: RAFT
:members:
:conte... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/matrix_selection.rst | Matrix Selection
================
.. role:: py(code)
:language: c++
:class: highlight
Copy
----
``#include <raft/matrix/copy.cuh>``
namespace *raft::matrix*
.. doxygengroup:: matrix_copy
:project: RAFT
:members:
:content-only:
Diagonal
--------
``#include <raft/matrix/diagonal.cuh>``
namespac... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/sparse_types_coo_matrix.rst | COO Matrix
==========
.. role:: py(code)
:language: c++
:class: highlight
Basic Vocabulary
----------------
``#include <raft/core/coo_matrix.hpp>``
.. doxygengroup:: coo_matrix
:project: RAFT
:members:
:content-only:
Device COO Matrix
-----------------
``#include <raft/core/device_coo_matrix.h... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/core_logger.rst | logger
======
.. role:: py(code)
:language: c++
:class: highlight
``#include <raft/core/logger.hpp>``
namespace *raft::core*
.. doxygenclass:: raft::logger
:project: RAFT
:members:
| 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/matrix_reduction.rst | Matrix Reductions
=================
.. role:: py(code)
:language: c++
:class: highlight
Matrix Norm
-----------
``#include <raft/matrix/norm.cuh>``
namespace *raft::matrix*
.. doxygengroup:: matrix_norm
:project: RAFT
:members:
:content-only: | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/neighbors_cagra.rst | CAGRA
=====
CAGRA is a graph-based nearest neighbors implementation with state-of-the art query performance for both small- and large-batch sized search.
Please note that the CAGRA implementation is currently experimental and the API is subject to change from release to release. We are currently working on promoting ... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/sparse_neighbors.rst | Sparse Neighbors
================
.. doxygennamespace:: raft::sparse::neighbors
:project: RAFT
:members:
:content-only:
| 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/sparse_solver.rst | Sparse Solvers
==============
.. doxygennamespace:: raft::sparse::solver
:project: RAFT
:members:
:content-only:
| 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/random_datagen.rst | Data Generation
===============
.. role:: py(code)
:language: c++
:class: highlight
make_blobs
----------
``#include <raft/random/make_blobs.cuh>``
namespace *raft::random*
.. doxygengroup:: make_blobs
:project: RAFT
:members:
:content-only:
make_regression
---------------
``#include <raft/ra... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/linalg.rst | Linear Algebra
==============
This page provides C++ class references for the publicly-exposed elements of the `raft/linalg` (dense) linear algebra headers.
In addition to providing highly optimized arithmetic and matrix/vector operations, RAFT provides a consistent user experience
by providing common BLAS routines, s... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/sparse_distance.rst | Sparse Distance
===============
.. doxygennamespace:: raft::sparse::distance
:project: RAFT
:members:
:content-only:
| 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/cluster_spectral.rst | Spectral Clustering
===================
.. role:: py(code)
:language: c++
:class: highlight
``#include <raft/spectral/partition.cuh>``
.. doxygennamespace:: raft::spectral
:project: RAFT
:members:
:content-only:
| 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/stats_summary.rst | Summary Statistics
==================
.. role:: py(code)
:language: c++
:class: highlight
Covariance
----------
``#include <raft/stats/cov.cuh>``
namespace *raft::stats*
.. doxygengroup:: stats_cov
:project: RAFT
:members:
:content-only:
Histogram
---------
``#include <raft/stats/histogram.cuh>... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/random_sampling_univariate.rst | Univariate Random Sampling
==========================
.. role:: py(code)
:language: c++
:class: highlight
``#include <raft/random/rng.cuh>``
namespace *raft::random*
.. doxygengroup:: univariate_random_sampling
:project: RAFT
:members:
:content-only:
| 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/distance_1nn.rst | 1-Nearest Neighbors
===================
.. role:: py(code)
:language: c++
:class: highlight
``#include <raft/distance/fused_l2_nn.cuh>``
namespace *raft::distance*
.. doxygengroup:: fused_l2_nn
:project: RAFT
:members:
:content-only:
``#include <raft/distance/fused_l2_nn.cuh>``
namespace *raft::d... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/core_math.rst | Mathematical Functions
======================
.. role:: py(code)
:language: c++
:class: highlight
The math functions APIs guarantee both CUDA and CPU compatibility, making it more straightforward to write `__host__ __device__` functions without being concerned whether the underlying intrinsics will build and w... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/neighbors_brute_force.rst | Brute-Force
===========
.. role:: py(code)
:language: c++
:class: highlight
``#include <raft/neighbors/brute_force.cuh>``
namespace *raft::neighbors::brute_force*
.. doxygengroup:: brute_force_knn
:project: RAFT
:members:
:content-only:
| 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/neighbors_ivf_flat.rst | IVF-Flat
========
.. role:: py(code)
:language: c++
:class: highlight
``#include <raft/neighbors/ivf_flat.cuh>``
namespace *raft::neighbors::ivf_flat*
.. doxygengroup:: ivf_flat
:project: RAFT
:members:
:content-only:
Serializer Methods
------------------
``#include <raft/neighbors/ivf_flat_seria... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/core_operators.rst | Operators and Functors
======================
.. role:: py(code)
:language: c++
:class: highlight
``#include <raft/core/operators.hpp>``
namespace *raft::core*
.. doxygengroup:: operators
:project: RAFT
:members:
:content-only:
| 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/core_kvp.rst | Key-Value Pair
==============
.. role:: py(code)
:language: c++
:class: highlight
``#include <raft/core/kvp.hpp>``
namespace *raft::core*
.. doxygenstruct:: raft::KeyValuePair
:project: RAFT
:members:
| 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/matrix_arithmetic.rst | Matrix Arithmetic
=================
.. role:: py(code)
:language: c++
:class: highlight
Line-wise Operation
-------------------
``#include <raft/matrix/linewise_op.cuh>``
namespace *raft::matrix*
.. doxygengroup:: linewise_op
:project: RAFT
:members:
:content-only:
Power
-----
``#include <raft... | 0 |
rapidsai_public_repos/raft/docs/source | rapidsai_public_repos/raft/docs/source/cpp_api/core.rst | Core
====
This page provides C++ class references for the publicly-exposed elements of the `raft/core` package. The `raft/core` headers
require minimal dependencies, can be compiled without `nvcc`, and thus are safe to expose on your own public APIs. Aside from
the headers in the `raft/core` include directory, any hea... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.