repo_id
stringlengths
21
96
file_path
stringlengths
31
155
content
stringlengths
1
92.9M
__index_level_0__
int64
0
0
rapidsai_public_repos/rvc/vendor/github.com/aws/aws-lambda-go
rapidsai_public_repos/rvc/vendor/github.com/aws/aws-lambda-go/events/README_AutoScaling.md
# Sample Function The following is a sample Lambda function that receives an Auto Scaling event as an input and logs the EC2 instance ID to CloudWatch Logs. (Note that anything written to stdout or stderr will be logged as CloudWatch Logs events.) ```go import ( "context" "fmt" "github.com/aws/aws-lambda-go/event...
0
rapidsai_public_repos/rvc/vendor/github.com/aws/aws-lambda-go
rapidsai_public_repos/rvc/vendor/github.com/aws/aws-lambda-go/lambda/errors.go
// Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved package lambda import ( "reflect" "github.com/aws/aws-lambda-go/lambda/messages" ) func getErrorType(err interface{}) string { errorType := reflect.TypeOf(err) if errorType.Kind() == reflect.Ptr { return errorType.Elem().Name() } retu...
0
rapidsai_public_repos/rvc/vendor/github.com/aws/aws-lambda-go
rapidsai_public_repos/rvc/vendor/github.com/aws/aws-lambda-go/lambda/panic.go
// Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. package lambda import ( "fmt" "runtime" "strings" "github.com/aws/aws-lambda-go/lambda/messages" ) type panicInfo struct { Message string // Value passed to panic call, converted to string StackT...
0
rapidsai_public_repos/rvc/vendor/github.com/aws/aws-lambda-go
rapidsai_public_repos/rvc/vendor/github.com/aws/aws-lambda-go/lambda/README.md
# Overview [![Go Reference](https://pkg.go.dev/badge/github.com/aws/aws-lambda-go/lambda.svg)](https://pkg.go.dev/github.com/aws/aws-lambda-go/lambda)
0
rapidsai_public_repos/rvc/vendor/github.com/aws/aws-lambda-go
rapidsai_public_repos/rvc/vendor/github.com/aws/aws-lambda-go/lambda/entry.go
// Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. package lambda import ( "context" "errors" "log" "os" ) // Start takes a handler and talks to an internal Lambda endpoint to pass requests to the handler. If the // handler does not match one of the supported types an appropriate error me...
0
rapidsai_public_repos/rvc/vendor/github.com/aws/aws-lambda-go
rapidsai_public_repos/rvc/vendor/github.com/aws/aws-lambda-go/lambda/invoke_loop.go
// Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved package lambda import ( "context" "encoding/json" "fmt" "strconv" "time" "github.com/aws/aws-lambda-go/lambda/messages" ) const ( msPerS = int64(time.Second / time.Millisecond) nsPerMS = int64(time.Millisecond / time.Nanosecond) ) /...
0
rapidsai_public_repos/rvc/vendor/github.com/aws/aws-lambda-go
rapidsai_public_repos/rvc/vendor/github.com/aws/aws-lambda-go/lambda/handler.go
// Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. package lambda import ( "context" "encoding/json" "fmt" "reflect" "github.com/aws/aws-lambda-go/lambda/handlertrace" ) type Handler interface { Invoke(ctx context.Context, payload []byte) ([]byte, error) } // lambdaHandler is the gene...
0
rapidsai_public_repos/rvc/vendor/github.com/aws/aws-lambda-go
rapidsai_public_repos/rvc/vendor/github.com/aws/aws-lambda-go/lambda/rpc.go
// Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved // +build !lambda.norpc package lambda import ( "context" "errors" "log" "net" "net/rpc" ) func init() { // Register `startFunctionRPC` to be run if the _LAMBDA_SERVER_PORT environment variable is set. // This happens when the runtime ...
0
rapidsai_public_repos/rvc/vendor/github.com/aws/aws-lambda-go
rapidsai_public_repos/rvc/vendor/github.com/aws/aws-lambda-go/lambda/runtime_api_client.go
// Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved // // Runtime API documentation: https://docs.aws.amazon.com/lambda/latest/dg/runtimes-api.html package lambda import ( "bytes" "fmt" "io" "io/ioutil" "log" "net/http" "runtime" ) const ( headerAWSRequestID = "Lambda-Runtime-Aws-...
0
rapidsai_public_repos/rvc/vendor/github.com/aws/aws-lambda-go
rapidsai_public_repos/rvc/vendor/github.com/aws/aws-lambda-go/lambda/function.go
// Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. package lambda import ( "context" "encoding/json" "os" "time" "github.com/aws/aws-lambda-go/lambda/messages" "github.com/aws/aws-lambda-go/lambdacontext" ) // Function struct which wrap the Handler type Function struct { handler Handl...
0
rapidsai_public_repos/rvc/vendor/github.com/aws/aws-lambda-go/lambda
rapidsai_public_repos/rvc/vendor/github.com/aws/aws-lambda-go/lambda/handlertrace/trace.go
// Package handlertrace allows middleware authors using lambda.NewHandler to // instrument request and response events. package handlertrace import ( "context" ) // HandlerTrace allows handlers which wrap the return value of lambda.NewHandler // to access to the request and response events. type HandlerTrace struct ...
0
rapidsai_public_repos/rvc/vendor/github.com/aws/aws-lambda-go/lambda
rapidsai_public_repos/rvc/vendor/github.com/aws/aws-lambda-go/lambda/messages/messages.go
// Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. package messages import "fmt" type PingRequest struct { } type PingResponse struct { } //nolint:stylecheck type InvokeRequest_Timestamp struct { Seconds int64 Nanos int64 } //nolint:stylecheck type InvokeRequest struct { Payload ...
0
rapidsai_public_repos/rvc/vendor/github.com/aws/aws-lambda-go/lambda
rapidsai_public_repos/rvc/vendor/github.com/aws/aws-lambda-go/lambda/messages/README.md
# Overview [![Go Reference](https://pkg.go.dev/badge/github.com/aws/aws-lambda-go/lambda/messages.svg)](https://pkg.go.dev/github.com/aws/aws-lambda-go/lambda/messages)
0
rapidsai_public_repos/rvc/vendor/github.com/aws/aws-lambda-go
rapidsai_public_repos/rvc/vendor/github.com/aws/aws-lambda-go/lambdacontext/context.go
// Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Helpers for accessing context information from an Invoke request. Context information // is stored in a https://golang.org/pkg/context/#Context. The functions FromContext and NewContext // are used to retrieving and inserting an instance o...
0
rapidsai_public_repos/rvc/vendor/github.com/aws/aws-lambda-go
rapidsai_public_repos/rvc/vendor/github.com/aws/aws-lambda-go/lambdacontext/README.md
# Overview [![Go Reference](https://pkg.go.dev/badge/github.com/aws/aws-lambda-go/lambdacontext.svg)](https://pkg.go.dev/github.com/aws/aws-lambda-go/lambdacontext)
0
rapidsai_public_repos/rvc/vendor/github.com/pmezard
rapidsai_public_repos/rvc/vendor/github.com/pmezard/go-difflib/LICENSE
Copyright (c) 2013, Patrick Mezard All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following di...
0
rapidsai_public_repos/rvc/vendor/github.com/pmezard/go-difflib
rapidsai_public_repos/rvc/vendor/github.com/pmezard/go-difflib/difflib/difflib.go
// Package difflib is a partial port of Python difflib module. // // It provides tools to compare sequences of strings and generate textual diffs. // // The following class and functions have been ported: // // - SequenceMatcher // // - unified_diff // // - context_diff // // Getting unified diffs was the main goal of ...
0
rapidsai_public_repos/rvc/vendor/github.com/davecgh
rapidsai_public_repos/rvc/vendor/github.com/davecgh/go-spew/LICENSE
ISC License Copyright (c) 2012-2016 Dave Collins <dave@davec.name> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE...
0
rapidsai_public_repos/rvc/vendor/github.com/davecgh/go-spew
rapidsai_public_repos/rvc/vendor/github.com/davecgh/go-spew/spew/bypasssafe.go
// Copyright (c) 2015-2016 Dave Collins <dave@davec.name> // // Permission to use, copy, modify, and distribute this software for any // purpose with or without fee is hereby granted, provided that the above // copyright notice and this permission notice appear in all copies. // // THE SOFTWARE IS PROVIDED "AS IS" AND ...
0
rapidsai_public_repos/rvc/vendor/github.com/davecgh/go-spew
rapidsai_public_repos/rvc/vendor/github.com/davecgh/go-spew/spew/config.go
/* * Copyright (c) 2013-2016 Dave Collins <dave@davec.name> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" A...
0
rapidsai_public_repos/rvc/vendor/github.com/davecgh/go-spew
rapidsai_public_repos/rvc/vendor/github.com/davecgh/go-spew/spew/format.go
/* * Copyright (c) 2013-2016 Dave Collins <dave@davec.name> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" A...
0
rapidsai_public_repos/rvc/vendor/github.com/davecgh/go-spew
rapidsai_public_repos/rvc/vendor/github.com/davecgh/go-spew/spew/spew.go
/* * Copyright (c) 2013-2016 Dave Collins <dave@davec.name> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" A...
0
rapidsai_public_repos/rvc/vendor/github.com/davecgh/go-spew
rapidsai_public_repos/rvc/vendor/github.com/davecgh/go-spew/spew/doc.go
/* * Copyright (c) 2013-2016 Dave Collins <dave@davec.name> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" A...
0
rapidsai_public_repos/rvc/vendor/github.com/davecgh/go-spew
rapidsai_public_repos/rvc/vendor/github.com/davecgh/go-spew/spew/dump.go
/* * Copyright (c) 2013-2016 Dave Collins <dave@davec.name> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" A...
0
rapidsai_public_repos/rvc/vendor/github.com/davecgh/go-spew
rapidsai_public_repos/rvc/vendor/github.com/davecgh/go-spew/spew/bypass.go
// Copyright (c) 2015-2016 Dave Collins <dave@davec.name> // // Permission to use, copy, modify, and distribute this software for any // purpose with or without fee is hereby granted, provided that the above // copyright notice and this permission notice appear in all copies. // // THE SOFTWARE IS PROVIDED "AS IS" AND ...
0
rapidsai_public_repos/rvc/vendor/github.com/davecgh/go-spew
rapidsai_public_repos/rvc/vendor/github.com/davecgh/go-spew/spew/common.go
/* * Copyright (c) 2013-2016 Dave Collins <dave@davec.name> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" A...
0
rapidsai_public_repos/rvc/cmd
rapidsai_public_repos/rvc/cmd/rvc_serverless/rvc_serverless.go
package main import ( "fmt" "strings" "github.com/aws/aws-lambda-go/events" "github.com/aws/aws-lambda-go/lambda" "github.com/rapidsai/rvc/pkg/rvc" ) func Handler(request events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error) { path := request.Path version := request.PathParameters["version"...
0
rapidsai_public_repos/rvc/cmd
rapidsai_public_repos/rvc/cmd/rvc_cli/rvc.go
package main import ( "flag" "fmt" "os" "github.com/rapidsai/rvc/pkg/rvc" "github.com/rapidsai/rvc/pkg/version" ) const ( ProgramName = "rvc" ) type Args struct { UcxPyVersion string RapidsVersion string Version bool } func initFlags(flagset *flag.FlagSet) *Args { args := &Args{} flagset.StringV...
0
rapidsai_public_repos/rvc/pkg
rapidsai_public_repos/rvc/pkg/version/version.go
package version const undefinedVersion string = "undefined" // Will be set at build time using ldflags var version = undefinedVersion func Get() string { return version }
0
rapidsai_public_repos/rvc/pkg
rapidsai_public_repos/rvc/pkg/rvc/rvc_test.go
package rvc import ( "testing" "github.com/stretchr/testify/require" ) func TestParseRapidsVersion(t *testing.T) { validVersions := []string{"v22.02", "v22.02.00", "v22.02.01", "22.02", "22.02.00", "22.02.01"} expected := "22.02" for _, version := range validVersions { v, err := parseRapidsVersion(version) ...
0
rapidsai_public_repos/rvc/pkg
rapidsai_public_repos/rvc/pkg/rvc/rvc.go
package rvc import ( "fmt" "regexp" "strconv" "strings" ) const ( ucxPyVersionPattern = "^v?0*\\.[0-9]{1,2}(\\.[0-9]+)?$" rapidsVersionPattern = "^v?[0-9]{2}\\.[0-9]{2}(\\.[0-9]+)?$" ) var versionMapping = map[string]string{ "21.06": "0.20", "21.08": "0.21", "21.10": "0.22", "21.12": "0.23", "22.02": "0....
0
rapidsai_public_repos/dask-build-environment
rapidsai_public_repos/dask-build-environment/dask/environment.yml
name: rapids channels: - rapidsai - rapidsai-nightly - conda-forge - nvidia dependencies: - cudatoolkit=CUDA_VER - cudf=RAPIDS_VER - dask-cudf=RAPIDS_VER - cupy - pynvml - ucx-proc=*=gpu - ucx-py=UCX_PY_VER
0
rapidsai_public_repos/dask-build-environment
rapidsai_public_repos/dask-build-environment/dask/Dockerfile
ARG CUDA_VER=11.5.2 ARG LINUX_VER=ubuntu20.04 ARG PYTHON_VER=3.9 FROM rapidsai/miniforge-cuda:cuda$CUDA_VER-base-$LINUX_VER-py$PYTHON_VER ARG CUDA_VER=11.5.2 ARG PYTHON_VER=3.9 ARG RAPIDS_VER=23.12 ARG UCX_PY_VER=0.35 COPY environment.yml /rapids.yml ADD https://raw.githubusercontent.com/dask/dask/main/continuous_in...
0
rapidsai_public_repos/dask-build-environment
rapidsai_public_repos/dask-build-environment/dask_image/environment.yml
name: rapids channels: - rapidsai - rapidsai-nightly - conda-forge - nvidia dependencies: - cudatoolkit=CUDA_VER
0
rapidsai_public_repos/dask-build-environment
rapidsai_public_repos/dask-build-environment/dask_image/Dockerfile
ARG CUDA_VER=11.5.2 ARG LINUX_VER=ubuntu20.04 ARG PYTHON_VER=3.9 FROM rapidsai/miniforge-cuda:cuda$CUDA_VER-base-$LINUX_VER-py$PYTHON_VER ARG CUDA_VER=11.5.2 ARG PYTHON_VER=3.9 # RAPIDS_VER isn't used but is part of the matrix so must be included ARG RAPIDS_VER=23.12 COPY environment.yml /rapids.yml ADD https://raw....
0
rapidsai_public_repos/dask-build-environment
rapidsai_public_repos/dask-build-environment/distributed/environment.yml
name: rapids channels: - rapidsai - rapidsai-nightly - conda-forge - nvidia - pytorch dependencies: - c-compiler # needed for source installation of crick - cudatoolkit=CUDA_VER - cudf=RAPIDS_VER - dask-cudf=RAPIDS_VER - dask-cuda=RAPIDS_VER - cupy - pynvml - pytorch=*=*cudaCUDA_VER* - ucx-proc=*=gpu - ucx-py=UCX_PY_V...
0
rapidsai_public_repos/dask-build-environment
rapidsai_public_repos/dask-build-environment/distributed/Dockerfile
ARG CUDA_VER=11.5.2 ARG LINUX_VER=ubuntu20.04 ARG PYTHON_VER=3.9 FROM rapidsai/miniforge-cuda:cuda$CUDA_VER-base-$LINUX_VER-py$PYTHON_VER ARG CUDA_VER=11.5.2 ARG PYTHON_VER=3.9 ARG RAPIDS_VER=23.12 ARG UCX_PY_VER=0.35 COPY environment.yml /rapids.yml ADD https://raw.githubusercontent.com/dask/distributed/main/contin...
0
rapidsai_public_repos/dask-build-environment/ci
rapidsai_public_repos/dask-build-environment/ci/gpuci/run.sh
#!/bin/bash set -e # Overwrite HOME to WORKSPACE export HOME="$WORKSPACE" # Install gpuCI tools rm -rf .gpuci git clone https://github.com/rapidsai/gpuci-tools.git .gpuci chmod +x .gpuci/tools/* export PATH="$PWD/.gpuci/tools:$PATH" # Show env gpuci_logger "Exposing current environment..." env # Login to docker gpu...
0
rapidsai_public_repos/dask-build-environment/ci
rapidsai_public_repos/dask-build-environment/ci/axis/dask.yaml
BUILD_NAME: - dask - distributed - dask_sql - dask_image CUDA_VER: - '11.5.2' PYTHON_VER: - '3.9' - '3.10' LINUX_VER: - ubuntu20.04 RAPIDS_VER: - '23.12' - '24.02' excludes: # dask-image gpuCI isn't dependent on RAPIDS - BUILD_NAME: dask_image RAPIDS_VER: '23.12'
0
rapidsai_public_repos/dask-build-environment
rapidsai_public_repos/dask-build-environment/dask_sql/environment.yml
name: rapids channels: - rapidsai - rapidsai-nightly - conda-forge - nvidia dependencies: - cudatoolkit=CUDA_VER - cudf=RAPIDS_VER - cuml=RAPIDS_VER - dask-cudf=RAPIDS_VER - dask-cuda=RAPIDS_VER - ucx-proc=*=gpu - ucx-py=UCX_PY_VER - xgboost=*=rapidsai_py* - libxgboost=*=rapidsai_h*
0
rapidsai_public_repos/dask-build-environment
rapidsai_public_repos/dask-build-environment/dask_sql/Dockerfile
ARG CUDA_VER=11.5.2 ARG LINUX_VER=ubuntu20.04 ARG PYTHON_VER=3.9 FROM rapidsai/miniforge-cuda:cuda$CUDA_VER-base-$LINUX_VER-py$PYTHON_VER ARG CUDA_VER=11.5.2 ARG PYTHON_VER=3.9 ARG RAPIDS_VER=23.12 ARG UCX_PY_VER=0.35 RUN apt-get update \ && apt-get install -y wget ENV RUSTUP_HOME="/opt/rustup" ENV CARGO_HOME="...
0
rapidsai_public_repos
rapidsai_public_repos/raft/.pre-commit-config.yaml
# Copyright (c) 2022-2023, NVIDIA CORPORATION. repos: - repo: https://github.com/PyCQA/isort rev: 5.12.0 hooks: - id: isort # Use the config file specific to each subproject so that each # project can specify its own first/third-party packages. ...
0
rapidsai_public_repos
rapidsai_public_repos/raft/setup.cfg
# Copyright (c) 2022-2023, NVIDIA CORPORATION. [flake8] filename = *.py, *.pyx, *.pxd, *.pxi exclude = __init__.py, *.egg, build, docs, .git force-check = True ignore = # line break before binary operator W503, # whitespace before : E203 per-file-ignores = # Rules ignored only in Cython: # E211...
0
rapidsai_public_repos
rapidsai_public_repos/raft/pyproject.toml
[tool.black] line-length = 79 target-version = ["py39"] include = '\.py?$' force-exclude = ''' /( thirdparty | \.eggs | \.git | \.hg | \.mypy_cache | \.tox | \.venv | _build | buck-out | build | dist )/ ''' [tool.pydocstyle] # Due to https://github.com/PyCQA/pydocstyle/issue...
0
rapidsai_public_repos
rapidsai_public_repos/raft/.flake8
# Copyright (c) 2022-2023, NVIDIA CORPORATION. [flake8] filename = *.py, *.pyx, *.pxd, *.pxi exclude = __init__.py, *.egg, build, docs, .git force-check = True ignore = # line break before binary operator W503, # whitespace before : E203 per-file-ignores = # Rules ignored only in Cython: # E211...
0
rapidsai_public_repos
rapidsai_public_repos/raft/fetch_rapids.cmake
# ============================================================================= # 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.apa...
0
rapidsai_public_repos
rapidsai_public_repos/raft/README.md
# <div align="left"><img src="https://rapids.ai/assets/images/rapids_logo.png" width="90px"/>&nbsp;RAFT: Reusable Accelerated Functions and Tools for Vector Search and More</div> ![RAFT tech stack](img/raft-tech-stack-vss.png) ## Contents <hr> 1. [Useful Resources](#useful-resources) 2. [What is RAFT?](#what-is-raf...
0
rapidsai_public_repos
rapidsai_public_repos/raft/CHANGELOG.md
# raft 23.10.00 (11 Oct 2023) ## 🚨 Breaking Changes - Change CAGRA auto mode selection ([#1830](https://github.com/rapidsai/raft/pull/1830)) [@enp1s0](https://github.com/enp1s0) - Update CAGRA serialization ([#1755](https://github.com/rapidsai/raft/pull/1755)) [@benfred](https://github.com/benfred) - Improvements to...
0
rapidsai_public_repos
rapidsai_public_repos/raft/build.sh
#!/bin/bash # Copyright (c) 2020-2023, NVIDIA CORPORATION. # raft build scripts # This script is used to build the component(s) in this repo from # source, and can be called with various options to customize the # build as needed (see the help output for details) # Abort script on first error set -e NUMARGS=$# ARG...
0
rapidsai_public_repos
rapidsai_public_repos/raft/dependencies.yaml
# Dependency list for https://github.com/rapidsai/dependency-file-generator files: all: output: conda matrix: cuda: ["11.8", "12.0"] arch: [x86_64, aarch64] includes: - build - build_pylibraft - cudatoolkit - develop - checks - build_wheels - test_libr...
0
rapidsai_public_repos
rapidsai_public_repos/raft/LICENSE
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, ...
0
rapidsai_public_repos
rapidsai_public_repos/raft/VERSION
24.02.00
0
rapidsai_public_repos/raft/python
rapidsai_public_repos/raft/python/raft-dask/pyproject.toml
# Copyright (c) 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 law or agreed to...
0
rapidsai_public_repos/raft/python
rapidsai_public_repos/raft/python/raft-dask/CMakeLists.txt
# ============================================================================= # 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.apa...
0
rapidsai_public_repos/raft/python
rapidsai_public_repos/raft/python/raft-dask/setup.py
# # 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 law or ag...
0
rapidsai_public_repos/raft/python
rapidsai_public_repos/raft/python/raft-dask/pytest.ini
[pytest] markers = unit: marks unit tests quality: marks quality tests stress: marks stress tests mg: marks a test as multi-GPU memleak: marks a test as a memory leak test nccl: marks a test as using NCCL
0
rapidsai_public_repos/raft/python
rapidsai_public_repos/raft/python/raft-dask/LICENSE
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, ...
0
rapidsai_public_repos/raft/python
rapidsai_public_repos/raft/python/raft-dask/.coveragerc
# Configuration file for Python coverage tests [run] source = raft_dask
0
rapidsai_public_repos/raft/python/raft-dask
rapidsai_public_repos/raft/python/raft-dask/raft_dask/_version.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 to...
0
rapidsai_public_repos/raft/python/raft-dask
rapidsai_public_repos/raft/python/raft-dask/raft_dask/__init__.py
# 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 law or agre...
0
rapidsai_public_repos/raft/python/raft-dask
rapidsai_public_repos/raft/python/raft-dask/raft_dask/VERSION
24.02.00
0
rapidsai_public_repos/raft/python/raft-dask/raft_dask
rapidsai_public_repos/raft/python/raft-dask/raft_dask/include_test/raft_include_test.pyx
# Copyright (c) 2020-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 law or agre...
0
rapidsai_public_repos/raft/python/raft-dask/raft_dask
rapidsai_public_repos/raft/python/raft-dask/raft_dask/include_test/CMakeLists.txt
# ============================================================================= # Copyright (c) 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.o...
0
rapidsai_public_repos/raft/python/raft-dask/raft_dask
rapidsai_public_repos/raft/python/raft-dask/raft_dask/include_test/__init__.py
# Copyright (c) 2020-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 law or agre...
0
rapidsai_public_repos/raft/python/raft-dask/raft_dask
rapidsai_public_repos/raft/python/raft-dask/raft_dask/test/test_comms.py
# Copyright (c) 2019-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 agre...
0
rapidsai_public_repos/raft/python/raft-dask/raft_dask
rapidsai_public_repos/raft/python/raft-dask/raft_dask/test/conftest.py
# Copyright (c) 2022-2023, NVIDIA CORPORATION. import os import pytest from dask.distributed import Client from dask_cuda import LocalCUDACluster os.environ["UCX_LOG_LEVEL"] = "error" @pytest.fixture(scope="session") def cluster(): scheduler_file = os.environ.get("SCHEDULER_FILE") if scheduler_file: ...
0
rapidsai_public_repos/raft/python/raft-dask/raft_dask
rapidsai_public_repos/raft/python/raft-dask/raft_dask/test/test_raft.py
# Copyright (c) 2020-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 law or agre...
0
rapidsai_public_repos/raft/python/raft-dask/raft_dask
rapidsai_public_repos/raft/python/raft-dask/raft_dask/common/CMakeLists.txt
# ============================================================================= # Copyright (c) 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.o...
0
rapidsai_public_repos/raft/python/raft-dask/raft_dask
rapidsai_public_repos/raft/python/raft-dask/raft_dask/common/comms_utils.pyx
# Copyright (c) 2019-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 agre...
0
rapidsai_public_repos/raft/python/raft-dask/raft_dask
rapidsai_public_repos/raft/python/raft-dask/raft_dask/common/comms.py
# 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 law or agre...
0
rapidsai_public_repos/raft/python/raft-dask/raft_dask
rapidsai_public_repos/raft/python/raft-dask/raft_dask/common/__init__.py
# Copyright (c) 2020-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 law or agre...
0
rapidsai_public_repos/raft/python/raft-dask/raft_dask
rapidsai_public_repos/raft/python/raft-dask/raft_dask/common/nccl.pyx
# # 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 law or ag...
0
rapidsai_public_repos/raft/python/raft-dask/raft_dask
rapidsai_public_repos/raft/python/raft-dask/raft_dask/common/utils.py
# 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 law or agre...
0
rapidsai_public_repos/raft/python/raft-dask/raft_dask
rapidsai_public_repos/raft/python/raft-dask/raft_dask/common/ucx.py
# Copyright (c) 2020-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 law or agre...
0
rapidsai_public_repos/raft/python
rapidsai_public_repos/raft/python/raft-ann-bench/pyproject.toml
# Copyright (c) 2023, NVIDIA CORPORATION. [build-system] build-backend = "setuptools.build_meta" requires = [ "setuptools", "wheel", ] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`. [project] name = "ra...
0
rapidsai_public_repos/raft/python
rapidsai_public_repos/raft/python/raft-ann-bench/LICENSE
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, ...
0
rapidsai_public_repos/raft/python/raft-ann-bench/src
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/__init__.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 to...
0
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run/algos.yaml
faiss_gpu_flat: executable: FAISS_GPU_FLAT_ANN_BENCH requires_gpu: true faiss_gpu_ivf_flat: executable: FAISS_GPU_IVF_FLAT_ANN_BENCH requires_gpu: true faiss_gpu_ivf_pq: executable: FAISS_GPU_IVF_PQ_ANN_BENCH requires_gpu: true faiss_gpu_ivf_sq: executable: FAISS_GPU_IVF_PQ_ANN_BENCH requires_gpu: true ...
0
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run/__main__.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/python/raft-ann-bench/src/raft-ann-bench/run
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run/conf/glove-50-inner.json
{ "dataset": { "name": "glove-50-inner", "base_file": "glove-50-inner/base.fbin", "query_file": "glove-50-inner/query.fbin", "distance": "euclidean" }, "search_basic_param": { "batch_size": 5000, "k": 10, "run_count": 3 }, "index": [ { "name" : "hnswlib.M12", "algo"...
0
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run/conf/datasets.yaml
- name: bigann-1B base_file: bigann-1B/base.1B.u8bin subset_size: 100000000 dims: 128 query_file: bigann-1B/query.public.10K.u8bin groundtruth_neighbors_file: bigann-1B/groundtruth.neighbors.ibin distance: euclidean - name: deep-1B base_file: deep-1B/base.1B.fbin query_file: deep-1B/query.public.10K.fb...
0
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run/conf/mnist-784-euclidean.json
{ "dataset": { "name": "mnist-784-euclidean", "base_file": "mnist-784-euclidean/base.fbin", "query_file": "mnist-784-euclidean/query.fbin", "groundtruth_neighbors_file": "mnist-784-euclidean/groundtruth.neighbors.ibin", "distance": "euclidean" }, "search_basic_param": { "batch_size": 5000,...
0
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run/conf/glove-50-angular.json
{ "dataset": { "name": "glove-50-angular", "base_file": "glove-50-angular/base.fbin", "query_file": "glove-50-angular/query.fbin", "distance": "euclidean" }, "search_basic_param": { "batch_size": 5000, "k": 10, "run_count": 3 }, "index": [ { "name" : "hnswlib.M12", ...
0
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run/conf/nytimes-256-inner.json
{ "dataset": { "name": "nytimes-256-inner", "base_file": "nytimes-256-inner/base.fbin", "query_file": "nytimes-256-inner/query.fbin", "groundtruth_neighbors_file": "nytimes-256-inner/groundtruth.neighbors.ibin", "distance": "euclidean" }, "search_basic_param": { "batch_size": 5000, "k"...
0
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run/conf/lastfm-65-angular.json
{ "dataset": { "name": "lastfm-65-angular", "base_file": "lastfm-65-angular/base.fbin", "query_file": "lastfm-65-angular/query.fbin", "distance": "euclidean" }, "search_basic_param": { "batch_size": 5000, "k": 10, "run_count": 3 }, "index": [ { "name" : "hnswlib.M12", ...
0
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run/conf/nytimes-256-angular.json
{ "dataset": { "name": "nytimes-256-angular", "base_file": "nytimes-256-angular/base.fbin", "query_file": "nytimes-256-angular/query.fbin", "groundtruth_neighbors_file": "nytimes-256-angular/groundtruth.neighbors.ibin", "distance": "euclidean" }, "search_basic_param": { "batch_size": 5000,...
0
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run/conf/wiki_all_88M.json
{ "dataset": { "name": "wiki_all_88M", "base_file": "wiki_all_88M/base.88M.fbin", "query_file": "wiki_all_88M/queries.fbin", "groundtruth_neighbors_file": "wiki_all_88M/groundtruth.88M.neighbors.ibin", "distance": "euclidean" }, "search_basic_param": { "batch_size": 10000, "k": 10 },...
0
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run/conf/glove-100-inner.json
{ "dataset": { "name": "glove-100-inner", "base_file": "glove-100-inner/base.fbin", "query_file": "glove-100-inner/query.fbin", "distance": "euclidean" }, "search_basic_param": { "batch_size": 5000, "k": 10, "run_count": 3 }, "index": [ { "name" : "hnswlib.M12", "al...
0
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run/conf/bigann-100M.json
{ "dataset": { "name": "bigann-100M", "base_file": "bigann-1B/base.1B.u8bin", "subset_size": 100000000, "query_file": "bigann-1B/query.public.10K.u8bin", "groundtruth_neighbors_file": "bigann-100M/groundtruth.neighbors.ibin", "distance": "euclidean" }, "search_basic_param": { "batch_s...
0
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run/conf/deep-image-96-inner.json
{ "dataset": { "name": "deep-image-96-inner", "base_file": "deep-image-96-inner/base.fbin", "query_file": "deep-image-96-inner/query.fbin", "groundtruth_neighbors_file": "deep-image-96-inner/groundtruth.neighbors.ibin", "distance": "euclidean" }, "search_basic_param": { "batch_size": 5000,...
0
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run/conf/gist-960-euclidean.json
{ "dataset": { "name": "gist-960-euclidean", "base_file": "gist-960-euclidean/base.fbin", "query_file": "gist-960-euclidean/query.fbin", "distance": "euclidean" }, "search_basic_param": { "batch_size": 5000, "k": 10, "run_count": 3 }, "index": [ { "name" : "hnswlib.M12", ...
0
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run/conf/fashion-mnist-784-euclidean.json
{ "dataset": { "name": "fashion-mnist-784-euclidean", "base_file": "fashion-mnist-784-euclidean/base.fbin", "query_file": "fashion-mnist-784-euclidean/query.fbin", "groundtruth_neighbors_file": "fashion-mnist-784-euclidean/groundtruth.neighbors.ibin", "distance": "euclidean" }, "search_basic_p...
0
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run/conf/sift-128-euclidean.json
{ "dataset": { "name": "sift-128-euclidean", "base_file": "sift-128-euclidean/base.fbin", "query_file": "sift-128-euclidean/query.fbin", "groundtruth_neighbors_file": "sift-128-euclidean/groundtruth.neighbors.ibin", "distance": "euclidean" }, "search_basic_param": { "batch_size": 5000, ...
0
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run/conf/deep-100M.json
{ "dataset": { "name": "deep-100M", "base_file": "deep-100M/base.1B.fbin", "subset_size": 100000000, "query_file": "deep-100M/query.public.10K.fbin", "groundtruth_neighbors_file": "deep-100M/groundtruth.neighbors.ibin", "distance": "euclidean" }, "search_basic_param": { "batch_size": ...
0
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run/conf/deep-1B.json
{ "dataset": { "name": "deep-1B", "base_file": "deep-1B/base.1B.fbin", "query_file": "deep-1B/query.public.10K.fbin", "groundtruth_neighbors_file": "deep-1B/groundtruth.neighbors.ibin", "distance": "inner_product" }, "search_basic_param": { "batch_size": 10000, "k": 10 }, "index"...
0
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run/conf/wiki_all_1M.json
{ "dataset": { "name": "wiki_all_1M", "base_file": "wiki_all_1M/base.1M.fbin", "subset_size": 1000000, "query_file": "wiki_all_1M/queries.fbin", "groundtruth_neighbors_file": "wiki_all_1M/groundtruth.1M.neighbors.ibin", "distance": "euclidean" }, "search_basic_param": { "batch_size": 1...
0
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run/conf/wiki_all_10M.json
{ "dataset": { "name": "wiki_all_10M", "base_file": "wiki_all_10M/base.88M.fbin", "query_file": "wiki_all_10M/queries.fbin", "groundtruth_neighbors_file": "wiki_all_10M/groundtruth.88M.neighbors.ibin", "distance": "euclidean" }, "search_basic_param": { "batch_size": 10000, "k": 10 },...
0
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run/conf/glove-100-angular.json
{ "dataset": { "name": "glove-100-angular", "base_file": "glove-100-angular/base.fbin", "query_file": "glove-100-angular/query.fbin", "distance": "euclidean" }, "search_basic_param": { "batch_size": 5000, "k": 10, "run_count": 3 }, "index": [ { "name" : "hnswlib.M12", ...
0
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run/conf
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run/conf/algos/faiss_gpu_ivf_flat.yaml
name: faiss_gpu_ivf_flat groups: base: build: nlist: [2048] ratio: [1, 4, 10] useFloat16: [False] search: nprobe: [2048] refine_ratio: [1]
0
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run/conf
rapidsai_public_repos/raft/python/raft-ann-bench/src/raft-ann-bench/run/conf/algos/raft_ivf_flat.yaml
name: raft_ivf_flat groups: base: build: nlist: [1024, 2048, 4096, 8192, 16384, 32000, 64000] ratio: [1, 2, 4] niter: [20, 25] search: nprobe: [1, 5, 10, 50, 100, 200, 500, 1000, 2000]
0