repo_id stringlengths 21 96 | file_path stringlengths 31 155 | content stringlengths 1 92.9M | __index_level_0__ int64 0 0 |
|---|---|---|---|
rapidsai_public_repos/node/modules/rmm/test | rapidsai_public_repos/node/modules/rmm/test/memory_resource/memory-resource-tests.ts | // Copyright (c) 2020-2021, 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 la... | 0 |
rapidsai_public_repos/node/modules/rmm/test | rapidsai_public_repos/node/modules/rmm/test/memory_resource/per-device-resource-tests.ts | // Copyright (c) 2020-2021, 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 la... | 0 |
rapidsai_public_repos/node/modules | rapidsai_public_repos/node/modules/io/package.json | {
"name": "@rapidsai/io",
"version": "22.12.2",
"description": "cuIO - NVIDIA RAPIDS I/O Library",
"license": "Apache-2.0",
"main": "index.js",
"types": "build/js",
"author": "NVIDIA, Inc. (https://nvidia.com/)",
"maintainers": [
"Paul Taylor <paul.e.taylor@me.com>"
],
"homepage": "https://githu... | 0 |
rapidsai_public_repos/node/modules | rapidsai_public_repos/node/modules/io/index.js | // Copyright (c) 2021, 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 ... | 0 |
rapidsai_public_repos/node/modules | rapidsai_public_repos/node/modules/io/jest.config.js | // Copyright (c) 2020-2021, 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 la... | 0 |
rapidsai_public_repos/node/modules | rapidsai_public_repos/node/modules/io/CMakeLists.txt | #=============================================================================
# Copyright (c) 2021-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://ww... | 0 |
rapidsai_public_repos/node/modules | rapidsai_public_repos/node/modules/io/README.md | # <div align="left"><img src="https://rapids.ai/assets/images/rapids_logo.png" width="90px"/> node-rapids io - GPU-Accelerated IO</div>
### Installation
`npm install @rapidsai/io`
### About
JS bindings providing GPU-accelerated I/O primitives.
For detailed IO API, follow our [API Documentation](https://rapid... | 0 |
rapidsai_public_repos/node/modules | rapidsai_public_repos/node/modules/io/tsconfig.json | {
"include": ["src"],
"exclude": ["node_modules"],
"compilerOptions": {
"baseUrl": "./",
"paths": {
"@rapidsai/io": ["src/index"],
"@rapidsai/io/*": ["src/*"]
},
"target": "ESNEXT",
"module": "commonjs",
"outDir": "./build/js",
... | 0 |
rapidsai_public_repos/node/modules | rapidsai_public_repos/node/modules/io/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/node/modules | rapidsai_public_repos/node/modules/io/typedoc.js | module.exports = {
entryPoints: ['src/index.ts'],
out: 'doc',
name: '@rapidsai/io',
tsconfig: 'tsconfig.json',
excludePrivate: true,
excludeProtected: true,
excludeExternals: true,
};
| 0 |
rapidsai_public_repos/node/modules/io | rapidsai_public_repos/node/modules/io/.vscode/launch.json | {
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"compounds": [
{
"name": "Debug Tests (TS and C++)",
"con... | 0 |
rapidsai_public_repos/node/modules/io | rapidsai_public_repos/node/modules/io/.vscode/tasks.json | {
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"label": "Rebuild node_cuio TS and C++ (slow)",
"group": { "kind": "build", "isDefault": true, },
"command": "if [[ \"${input:CMAKE_BUILD_TYPE}\" == \"Release\" ]]; then yarn rebuild; else yarn rebuild:debug; f... | 0 |
rapidsai_public_repos/node/modules/io | rapidsai_public_repos/node/modules/io/src/index.ts | // Copyright (c) 2021, 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 ... | 0 |
rapidsai_public_repos/node/modules/io | rapidsai_public_repos/node/modules/io/src/las.hpp | // Copyright (c) 2021-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 la... | 0 |
rapidsai_public_repos/node/modules/io | rapidsai_public_repos/node/modules/io/src/rapidsai_io.ts | // Copyright (c) 2021-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 la... | 0 |
rapidsai_public_repos/node/modules/io | rapidsai_public_repos/node/modules/io/src/las.ts | import {DataFrame, Series} from '@rapidsai/cudf';
import {readLasTable} from './addon';
export class IO {
public static readLas(path: string) {
const {names, table} = readLasTable(path);
return new DataFrame(names.reduce(
(cols, name, i) => ({...cols, [name]: Series.new(table.getColumnByIndex(i))}), {... | 0 |
rapidsai_public_repos/node/modules/io | rapidsai_public_repos/node/modules/io/src/addon.cpp | // Copyright (c) 2021-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 la... | 0 |
rapidsai_public_repos/node/modules/io | rapidsai_public_repos/node/modules/io/src/las.cu | // Copyright (c) 2021-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 la... | 0 |
rapidsai_public_repos/node/modules/io | rapidsai_public_repos/node/modules/io/src/addon.ts | // Copyright (c) 2021-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 la... | 0 |
rapidsai_public_repos/node/modules/io | rapidsai_public_repos/node/modules/io/test/test.las | version https://git-lfs.github.com/spec/v1
oid sha256:9c1a4c313621fd7c3cdd8a8b72187e992e26d0e4a89b401cb49662a224a96bdc
size 27473655
| 0 |
rapidsai_public_repos/node/modules/io | rapidsai_public_repos/node/modules/io/test/tsconfig.json | {
"extends": "../tsconfig.json",
"include": [
"../src/**/*.ts",
"../test/**/*.ts"
],
"compilerOptions": {
"target": "esnext",
"module": "commonjs",
"allowJs": true,
"importHelpers": false,
"noEmitHelpers": false,
"noEmitOnError": false,
... | 0 |
rapidsai_public_repos/node/modules/io | rapidsai_public_repos/node/modules/io/test/las-test.ts | // Copyright (c) 2021, 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 ... | 0 |
rapidsai_public_repos/node/dev/dockerfiles | rapidsai_public_repos/node/dev/dockerfiles/devel/notebook.Dockerfile | ARG FROM_IMAGE
FROM ${FROM_IMAGE}
ARG TARGETARCH
ADD --chown=rapids:rapids \
https://raw.githubusercontent.com/n-riesco/ijavascript/8637a3e18b89270121f49733d03af0e3e6e0a17a/images/nodejs/js-green-32x32.png \
/opt/rapids/.local/share/jupyter/kernels/javascript/logo-32x32.png
ADD --chown=rapids:rapids \
h... | 0 |
rapidsai_public_repos/node/dev/dockerfiles | rapidsai_public_repos/node/dev/dockerfiles/devel/main.Dockerfile | # syntax=docker/dockerfile:1.3
ARG AMD64_BASE
ARG ARM64_BASE
ARG NODE_VERSION=16.15.1
FROM node:$NODE_VERSION-bullseye-slim as node
FROM ${AMD64_BASE} as base-amd64
FROM ${ARM64_BASE} as base-arm64
ONBUILD RUN \
if [[ -d /usr/local/cuda/lib64 ] && [ ! -f /usr/local/cuda/lib64/libcudart.so ]]; then \
mi... | 0 |
rapidsai_public_repos/node/dev/dockerfiles | rapidsai_public_repos/node/dev/dockerfiles/devel/package.Dockerfile | # syntax=docker/dockerfile:1.3
ARG FROM_IMAGE
FROM ${FROM_IMAGE} as build
WORKDIR /opt/rapids/node
ENV NVIDIA_DRIVER_CAPABILITIES all
ARG CUDAARCHS=ALL
ARG PARALLEL_LEVEL
ARG NVCC_APPEND_FLAGS
ARG RAPIDS_VERSION
ARG SCCACHE_REGION
ARG SCCACHE_BUCKET
ARG SCCACHE_IDLE_TIMEOUT
RUN echo -e "build env:\n$(env)"
COPY ... | 0 |
rapidsai_public_repos/node/dev/dockerfiles | rapidsai_public_repos/node/dev/dockerfiles/runtime/notebook.Dockerfile | ARG FROM_IMAGE
FROM ${FROM_IMAGE}
SHELL ["/bin/bash", "-c"]
ARG TARGETARCH
ADD --chown=node:node \
https://raw.githubusercontent.com/n-riesco/ijavascript/8637a3e18b89270121f49733d03af0e3e6e0a17a/images/nodejs/js-green-32x32.png \
/home/node/.local/share/jupyter/kernels/javascript/logo-32x32.png
ADD --chown... | 0 |
rapidsai_public_repos/node/dev/dockerfiles | rapidsai_public_repos/node/dev/dockerfiles/runtime/cugraph.Dockerfile | # syntax=docker/dockerfile:1.3
ARG FROM_IMAGE
ARG BUILD_IMAGE
ARG DEVEL_IMAGE
FROM ${BUILD_IMAGE} as build
FROM ${DEVEL_IMAGE} as devel
WORKDIR /home/node
ENV RAPIDSAI_SKIP_DOWNLOAD=1
RUN --mount=type=bind,from=build,source=/opt/rapids/,target=/tmp/rapids/ \
npm install --omit=dev --omit=peer --omit=optional -... | 0 |
rapidsai_public_repos/node/dev/dockerfiles | rapidsai_public_repos/node/dev/dockerfiles/runtime/demo.Dockerfile | # syntax=docker/dockerfile:1.3
ARG FROM_IMAGE
ARG BUILD_IMAGE
ARG DEVEL_IMAGE
FROM ${BUILD_IMAGE} as build
FROM ${DEVEL_IMAGE} as devel
WORKDIR /home/node
ENV RAPIDSAI_SKIP_DOWNLOAD=1
RUN --mount=type=bind,from=build,source=/opt/rapids/,target=/tmp/rapids/ \
npm install --omit=dev --omit=peer --omit=optional -... | 0 |
rapidsai_public_repos/node/dev/dockerfiles | rapidsai_public_repos/node/dev/dockerfiles/runtime/cuml.Dockerfile | # syntax=docker/dockerfile:1.3
ARG FROM_IMAGE
ARG BUILD_IMAGE
ARG DEVEL_IMAGE
FROM ${BUILD_IMAGE} as build
FROM ${DEVEL_IMAGE} as devel
WORKDIR /home/node
ENV RAPIDSAI_SKIP_DOWNLOAD=1
RUN --mount=type=bind,from=build,source=/opt/rapids/,target=/tmp/rapids/ \
npm install --omit=dev --omit=peer --omit=optional -... | 0 |
rapidsai_public_repos/node/dev/dockerfiles | rapidsai_public_repos/node/dev/dockerfiles/runtime/main.Dockerfile | # syntax=docker/dockerfile:1.3
ARG FROM_IMAGE
ARG BUILD_IMAGE
ARG DEVEL_IMAGE
FROM ${BUILD_IMAGE} as build
FROM ${DEVEL_IMAGE} as devel
WORKDIR /home/node
ENV RAPIDSAI_SKIP_DOWNLOAD=1
RUN --mount=type=bind,from=build,source=/opt/rapids/,target=/tmp/rapids/ \
npm install --omit=dev --omit=peer --omit=optional -... | 0 |
rapidsai_public_repos/node/dev/dockerfiles | rapidsai_public_repos/node/dev/dockerfiles/runtime/sql.Dockerfile | # syntax=docker/dockerfile:1.3
ARG FROM_IMAGE
ARG BUILD_IMAGE
ARG DEVEL_IMAGE
FROM ${BUILD_IMAGE} as build
FROM ${DEVEL_IMAGE} as devel
WORKDIR /home/node
ENV RAPIDSAI_SKIP_DOWNLOAD=1
RUN --mount=type=bind,from=build,source=/opt/rapids/,target=/tmp/rapids/ \
npm install --omit=dev --omit=peer --omit=optional -... | 0 |
rapidsai_public_repos/node/dev/dockerfiles | rapidsai_public_repos/node/dev/dockerfiles/runtime/cuspatial.Dockerfile | # syntax=docker/dockerfile:1.3
ARG FROM_IMAGE
ARG BUILD_IMAGE
ARG DEVEL_IMAGE
FROM ${BUILD_IMAGE} as build
FROM ${DEVEL_IMAGE} as devel
WORKDIR /home/node
ENV RAPIDSAI_SKIP_DOWNLOAD=1
RUN --mount=type=bind,from=build,source=/opt/rapids/,target=/tmp/rapids/ \
npm install --omit=dev --omit=peer --omit=optional -... | 0 |
rapidsai_public_repos/node/dev/dockerfiles | rapidsai_public_repos/node/dev/dockerfiles/runtime/cudf.Dockerfile | # syntax=docker/dockerfile:1.3
ARG FROM_IMAGE
ARG BUILD_IMAGE
ARG DEVEL_IMAGE
FROM ${BUILD_IMAGE} as build
FROM ${DEVEL_IMAGE} as devel
WORKDIR /home/node
ENV RAPIDSAI_SKIP_DOWNLOAD=1
RUN --mount=type=bind,from=build,source=/opt/rapids/,target=/tmp/rapids/ \
npm install --omit=dev --omit=peer --omit=optional -... | 0 |
rapidsai_public_repos/node/dev/dockerfiles | rapidsai_public_repos/node/dev/dockerfiles/runtime/glfw.Dockerfile | # syntax=docker/dockerfile:1.3
ARG FROM_IMAGE
ARG BUILD_IMAGE
ARG DEVEL_IMAGE
FROM ${BUILD_IMAGE} as build
FROM ${DEVEL_IMAGE} as devel
WORKDIR /home/node
RUN --mount=type=bind,from=build,source=/opt/rapids/,target=/tmp/rapids/ \
npm install --omit=dev --omit=peer --omit=optional --legacy-peer-deps --force \
... | 0 |
rapidsai_public_repos/node/dev/dockerfiles | rapidsai_public_repos/node/dev/dockerfiles/runtime/base.Dockerfile | ARG AMD64_BASE
ARG ARM64_BASE
ARG DEVEL_IMAGE
FROM ${DEVEL_IMAGE} as devel
FROM ${AMD64_BASE} as base-amd64
FROM ${ARM64_BASE} as base-arm64
ONBUILD RUN cd /usr/local/cuda/lib64 \
&& ln -s \
libcudart.so.$(nvcc --version | head -n4 | tail -n1 | cut -d' ' -f5 | cut -d',' -f1) \
libcudart.so.$(nvcc --version... | 0 |
rapidsai_public_repos/node | rapidsai_public_repos/node/scripts/exec.js | #!/usr/bin/env node
try {
require('dotenv').config();
} catch (e) { }
var name = (() => {
switch (require('os').platform()) {
case 'win32': return 'win32.sh';
default: return 'linux.sh';
}
})();
var Path = require('path');
var rootdir = Path.join(__dirname, '../');
var cmdpath = Path.join(__dirname, pr... | 0 |
rapidsai_public_repos/node/scripts | rapidsai_public_repos/node/scripts/run/linux.sh | #!/usr/bin/env bash
set -Eeo pipefail
exec lerna run $@ --stream --include-dependencies --scope '@rapidsai/*'
| 0 |
rapidsai_public_repos/node/scripts | rapidsai_public_repos/node/scripts/npm-pack/linux.sh | #!/usr/bin/env bash
set -Eeo pipefail
rm -rf "$PWD/build"
mkdir -p "$PWD/build"
args="--stream --no-sort --parallel";
echo "running npm pack..."
lerna exec ${args} "npm pack --pack-destination $PWD/build \$PWD";
echo "running cpack..."
pkgs="$(lerna run ${args} --no-prefix --scope '@rapidsai/*' dev:cpack:enabled... | 0 |
rapidsai_public_repos/node/scripts | rapidsai_public_repos/node/scripts/demo/linux.sh | #!/usr/bin/env bash
set -Eeo pipefail
find node_modules -name .cache -type d -exec rm -rf "{}" +
fuzzy-find() {
(
for p in ${@}; do
path="${p#./}"; # remove leading ./ (if exists)
ext="${p##*.}"; # extract extension (if exists)
if [[ $ext == $p ]];
then... | 0 |
rapidsai_public_repos/node/scripts | rapidsai_public_repos/node/scripts/postversion/linux.sh | #!/usr/bin/env bash
set -Eeo pipefail
lerna version \
--yes --no-push \
--ignore-scripts \
--force-publish="*" \
--no-git-tag-version \
${npm_package_version:-patch}
# Replace ^ with ~
find modules -type f -name 'package.json' -exec \
sed -i -E -e 's+(@rapidsai/.*)": "\^+\1": "~+g' {} \;
sed... | 0 |
rapidsai_public_repos/node/scripts | rapidsai_public_repos/node/scripts/clean/linux.sh | #!/usr/bin/env bash
set -Eeo pipefail
set -Eeo pipefail
echo "cleaning node-rapids"
if [[ ! -d node_modules || ! -d node_modules/lerna || ! -d node_modules/rimraf ]]; then
yarn --silent --non-interactive --no-node-version-check --ignore-engines;
fi
# clean modules/*/build dirs
lerna run --no-bail clean || true... | 0 |
rapidsai_public_repos/node/scripts | rapidsai_public_repos/node/scripts/relink-bin-dirs/linux.sh | #!/usr/bin/env bash
set -Eeo pipefail
TOP="$(pwd)"
BIN="$(realpath node_modules/.bin)"
DIRS=$(lerna exec --scope "@rapidsai/*" "echo \$PWD")
RAPIDS_CORE_PATH=$(lerna exec --scope "@rapidsai/core" "echo \$PWD" | head -n1)
# ensure the cache dirs exist (clangd index, etc.)
mkdir -p "$TOP"/.cache/{binary,clangd,source}... | 0 |
rapidsai_public_repos/node/scripts | rapidsai_public_repos/node/scripts/test/linux.sh | #!/usr/bin/env bash
set -Eeo pipefail
exec lerna run --no-bail --scope '@rapidsai/*' --stream --concurrency 1 test
| 0 |
rapidsai_public_repos/node/scripts | rapidsai_public_repos/node/scripts/lint/linux.sh | #!/usr/bin/env bash
set -Eeo pipefail
args="";
fix_="";
jobs="${JOBS:-${PARALLEL_LEVEL:-$(nproc --ignore=2)}}";
while [[ "$#" -gt 0 ]]; do
case $1 in
-j*)
J="${1#-j}";
if [[ ${J} =~ ^[[:digit:]]+$ ]]; then
jobs="${J}";
else
jobs="$(nproc... | 0 |
rapidsai_public_repos/node | rapidsai_public_repos/node/docs/develop-on-bare-metal.md | # Developing on bare-metal
This document describes how to build and test on a properly configured Ubuntu installation outside docker.
Note: Due to the complexity of installing, updating, and managing native dependencies, we recommend [using the devel containers](https://github.com/rapidsai/node/blob/main/DEVELOP.md) ... | 0 |
rapidsai_public_repos/node/docs | rapidsai_public_repos/node/docs/docker/installation.md | # Installing docker, docker-compose, and the nvidia-container-runtime
## Quick links
* [Installing docker](#installing-docker)
* [Installing the nvidia-container-toolkit](#installing-the-nvidia-container-toolkit)
* [Installing docker-compose](#installing-docker-compose)
* [Using the nvidia-container-runtime with dock... | 0 |
rapidsai_public_repos | rapidsai_public_repos/pre-commit-hooks/.pre-commit-config.yaml | # 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 | rapidsai_public_repos/pre-commit-hooks/.pre-commit-hooks.yaml | # 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 | rapidsai_public_repos/pre-commit-hooks/pyproject.toml | # 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 | rapidsai_public_repos/pre-commit-hooks/.flake8 | # 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 | rapidsai_public_repos/pre-commit-hooks/README.md | # pre-commit-hooks
This repository contains [pre-commit](https://pre-commit.com) hooks used by RAPIDS projects.
## Using hooks
Copy the following into your repository's `.pre-commit-config.yaml`:
```yaml
- repo: https://github.com/rapidsai/pre-commit-hooks
rev: v0.0.1 # Use the ref you want to point at
hooks:
... | 0 |
rapidsai_public_repos | rapidsai_public_repos/pre-commit-hooks/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/pre-commit-hooks/src | rapidsai_public_repos/pre-commit-hooks/src/rapids_pre_commit_hooks/__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 | rapidsai_public_repos/rapids_triton_pca_example/CMakeLists.txt | #=============================================================================
# Copyright (c) 2020-2021, 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://ww... | 0 |
rapidsai_public_repos | rapidsai_public_repos/rapids_triton_pca_example/README.md | <!--
# Copyright (c) 2021, NVIDIA CORPORATION. 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 conditi... | 0 |
rapidsai_public_repos | rapidsai_public_repos/rapids_triton_pca_example/Dockerfile | ###########################################################################################
# Arguments for controlling build details
###########################################################################################
# Version of Triton to use
ARG TRITON_VERSION=21.08
# Base container image
ARG BASE_IMAGE=nvcr... | 0 |
rapidsai_public_repos/rapids_triton_pca_example/conda | rapidsai_public_repos/rapids_triton_pca_example/conda/environments/rapids_triton_dev_cuda11.4.yml | ---
name: rapids_triton_dev
channels:
- nvidia
- conda-forge
dependencies:
- cmake>=3.21
- cudatoolkit=11.4
- ninja
- rapidjson
# TODO(template): Add any build dependencies for your backend
| 0 |
rapidsai_public_repos/rapids_triton_pca_example/conda | rapidsai_public_repos/rapids_triton_pca_example/conda/environments/rapids_triton_test.yml | ---
name: rapids_triton_test
channels:
- conda-forge
dependencies:
- flake8
- pip
- python
- pytest
- numpy
- pip:
- nvidia-pyindex
# TODO(template): Add any test dependencies for your tests here
| 0 |
rapidsai_public_repos/rapids_triton_pca_example/cmake | rapidsai_public_repos/rapids_triton_pca_example/cmake/modules/ConfigureCUDA.cmake | #=============================================================================
# Copyright (c) 2018-2021, 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://ww... | 0 |
rapidsai_public_repos/rapids_triton_pca_example/cmake | rapidsai_public_repos/rapids_triton_pca_example/cmake/thirdparty/get_raft.cmake | #=============================================================================
# Copyright (c) 2021, 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/rapids_triton_pca_example/cmake | rapidsai_public_repos/rapids_triton_pca_example/cmake/thirdparty/get_gtest.cmake | #=============================================================================
# Copyright (c) 2021, 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/rapids_triton_pca_example/cmake | rapidsai_public_repos/rapids_triton_pca_example/cmake/thirdparty/get_rapids-triton.cmake | #=============================================================================
# Copyright (c) 2021, 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/rapids_triton_pca_example | rapidsai_public_repos/rapids_triton_pca_example/src/gpu_infer.h | /*
* Copyright (c) 2021, 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/rapids_triton_pca_example | rapidsai_public_repos/rapids_triton_pca_example/src/api.cc | /*
* Copyright (c) 2021, 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/rapids_triton_pca_example | rapidsai_public_repos/rapids_triton_pca_example/src/shared_state.h | /*
* Copyright (c) 2021, 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/rapids_triton_pca_example | rapidsai_public_repos/rapids_triton_pca_example/src/gpu_infer.cu | /*
* Copyright (c) 2021, 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/rapids_triton_pca_example | rapidsai_public_repos/rapids_triton_pca_example/src/model.h | /*
* Copyright (c) 2021, 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/rapids_triton_pca_example | rapidsai_public_repos/rapids_triton_pca_example/src/names.h | /*
* Copyright (c) 2021, 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/rapids_triton_pca_example/qa | rapidsai_public_repos/rapids_triton_pca_example/qa/L0_e2e/test_model.py | # Copyright (c) 2021, 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/rapids_triton_pca_example/qa/L0_e2e/model_repository | rapidsai_public_repos/rapids_triton_pca_example/qa/L0_e2e/model_repository/pca_example/config.pbtxt | name: "pca_example"
backend: "rapids_pca"
max_batch_size: 32768
input [
{
name: "X_input"
data_type: TYPE_FP32
dims: [ 25 ]
}
]
output [
{
name: "X_transformed"
data_type: TYPE_FP32
dims: [ 5 ]
}
]
instance_group [{ kind: KIND_GPU }]
parameters [
{
key: "n_components"
value: { ... | 0 |
rapidsai_public_repos | rapidsai_public_repos/deployment/.pre-commit-config.yaml | # See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/psf/black
rev: 23.1.0
hooks:
- id: black-jupyter
# It is recommended to specify the latest version of Python
# supported by your project here, or alt... | 0 |
rapidsai_public_repos | rapidsai_public_repos/deployment/pyproject.toml | [tool.ruff]
line-length = 120
select = ["E", "F", "I", "UP", "B"]
fix = true
| 0 |
rapidsai_public_repos | rapidsai_public_repos/deployment/.markdownlint.json | {
"default": true,
"MD013": false,
"MD014": false,
"MD033": false,
"MD041": false
}
| 0 |
rapidsai_public_repos | rapidsai_public_repos/deployment/README.md | # RAPIDS Deployment Documentation
## Building
In order to build the documentation install the dependencies to build the deployment docs from source.
```bash
conda env create -f conda/environments/deployment_docs.yml
```
We recommend building with [sphinx-autobuild](https://github.com/executablebooks/sphinx-autobuil... | 0 |
rapidsai_public_repos | rapidsai_public_repos/deployment/make.bat | @ECHO OFF
pushd %~dp0
REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=source
set BUILDDIR=build
%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
echo.installed, then set ... | 0 |
rapidsai_public_repos | rapidsai_public_repos/deployment/Makefile | # Minimal makefile for Sphinx documentation
#
# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = source
BUILDDIR = build
# Put it first so that "make" without argument is like "make help".
help:
@... | 0 |
rapidsai_public_repos | rapidsai_public_repos/deployment/Dockerfile | # Maybe have to transfer from Debian
ARG RAPIDS_IMAGE
FROM $RAPIDS_IMAGE as rapids
RUN conda list -n rapids --explicit > /rapids/rapids-spec.txt
FROM gcr.io/deeplearning-platform-release/rapids-gpu.21-12
COPY --from=rapids /rapids/rapids-spec.txt /tmp/spec.txt
RUN conda create --name rapids --file /tmp/spec.txt && ... | 0 |
rapidsai_public_repos | rapidsai_public_repos/deployment/.readthedocs.yaml | version: 2
build:
os: "ubuntu-20.04"
tools:
python: "mambaforge-4.10"
conda:
environment: conda/environments/deployment_docs.yml
sphinx:
builder: dirhtml
| 0 |
rapidsai_public_repos/deployment | rapidsai_public_repos/deployment/extensions/rapids_grid_toctree.py | from functools import partial
from docutils import nodes
from sphinx.application import Sphinx
from sphinx.directives.other import TocTree
from sphinx_design.grids import GridDirective
def find_linked_documents(node):
"""Find all referenced documents in a node tree.
Walks the nodes and yield the reftarget a... | 0 |
rapidsai_public_repos/deployment | rapidsai_public_repos/deployment/extensions/rapids_version_templating.py | import re
from docutils import nodes
class TextNodeVisitor(nodes.SparseNodeVisitor):
def __init__(self, app, *args, **kwargs):
self.app = app
super().__init__(*args, **kwargs)
def visit_Text(self, node):
new_node = nodes.Text(
re.sub(r"(?<!\$)\{\{.*?\}\}", self.template_f... | 0 |
rapidsai_public_repos/deployment | rapidsai_public_repos/deployment/extensions/rapids_related_examples.py | from functools import cache
import nbformat
from docutils import nodes
from docutils.parsers.rst.states import RSTState
from docutils.statemachine import ViewList
from markdown_it import MarkdownIt
from sphinx.application import Sphinx
from sphinx.directives.other import TocTree
from sphinx.environment import BuildEnv... | 0 |
rapidsai_public_repos/deployment | rapidsai_public_repos/deployment/extensions/rapids_notebook_files.py | import contextlib
import os
import pathlib
import re
import shutil
import tempfile
from functools import partial
def template_func(app, match):
return app.builder.templates.render_string(match.group(), app.config.rapids_version)
def walk_files(app, dir, outdir):
outdir.mkdir(parents=True, exist_ok=True)
... | 0 |
rapidsai_public_repos/deployment | rapidsai_public_repos/deployment/extensions/rapids_admonitions.py | from docutils.nodes import Text, admonition, inline, paragraph
from docutils.parsers.rst.directives.admonitions import BaseAdmonition
from sphinx.addnodes import pending_xref
from sphinx.application import Sphinx
from sphinx.util.docutils import SphinxDirective
class Docref(BaseAdmonition, SphinxDirective):
node_... | 0 |
rapidsai_public_repos/deployment/conda | rapidsai_public_repos/deployment/conda/environments/deployment_docs.yml | name: deployment-docs-dev
channels:
- conda-forge
- defaults
dependencies:
- myst-nb
- myst-parser
- nbsphinx
- numpydoc
- pydata-sphinx-theme>=0.12.0
- python=3.9
- pre-commit
- sphinx
- sphinx-autobuild
- sphinx-copybutton
- sphinx-design
- sphinxcontrib-mermaid
| 0 |
rapidsai_public_repos/deployment | rapidsai_public_repos/deployment/scripts/gen_release_checklist_issue.sh | #!/bin/bash
# Run this script to generate the release issue checklist for easy pasting into GitHub
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
SCRIPT_NAME=$(basename $SCRIPT_DIR)/$(basename "${BASH_SOURCE[0]}")
cd $SCRIPT_DIR/..
cat << EOF
# Release checklist
For the upcoming rele... | 0 |
rapidsai_public_repos/deployment | rapidsai_public_repos/deployment/source/hpc.md | # HPC
RAPIDS works extremely well in traditional HPC (High Performance Computing) environments where GPUs are often co-located with accelerated networking hardware such as InfiniBand. Deploying on HPC often means using queue management systems such as SLURM, LSF, PBS, etc.
## SLURM
```{warning}
This is a legacy page... | 0 |
rapidsai_public_repos/deployment | rapidsai_public_repos/deployment/source/local.md | ---
html_theme.sidebar_secondary.remove: true
---
# Local
## Conda
Installation instructions for conda are hosted at the [RAPIDS Conda Installation Docs Page](https://docs.rapids.ai/install#conda).
## Docker
Installation instructions for Docker are hosted at the [RAPIDS Docker Installation Docs Page](https://docs.... | 0 |
rapidsai_public_repos/deployment | rapidsai_public_repos/deployment/source/index.md | ---
html_theme.sidebar_secondary.remove: true
---
# Deploying RAPIDS
Deployment documentation to get you up and running with RAPIDS anywhere.
`````{gridtoctree} 1 2 2 3
:gutter: 2 2 2 2
````{grid-item-card}
:link: local
:link-type: doc
{fas}`desktop;sd-text-primary` Local Machine
^^^
Use RAPIDS on your local workst... | 0 |
rapidsai_public_repos/deployment | rapidsai_public_repos/deployment/source/conf.py | # Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Path setup --------------------------------------------------------------
# If ex... | 0 |
rapidsai_public_repos/deployment/source/_static | rapidsai_public_repos/deployment/source/_static/css/custom.css | nav.bd-links fieldset legend {
color: var(--pst-color-text-base);
font-weight: var(--pst-sidebar-header-font-weight);
font-size: 1em;
}
nav.bd-links fieldset input {
margin-left: 1em;
margin-right: 0.25em;
}
.bd-links__title small {
float: right;
padding-right: 2em;
}
nav.related-files {
font-family:... | 0 |
rapidsai_public_repos/deployment/source/_static | rapidsai_public_repos/deployment/source/_static/js/notebook-gallery.js | document.addEventListener("DOMContentLoaded", function () {
var setURLFilters = function (filters) {
var newAdditionalURL = "";
var tempArray = window.location.href.split("?");
var baseURL = tempArray[0];
var additionalURL = tempArray[1];
var temp = "";
if (additionalURL) {
tempArray = a... | 0 |
rapidsai_public_repos/deployment/source/_static | rapidsai_public_repos/deployment/source/_static/js/nav.js | document.addEventListener("DOMContentLoaded", function () {
let sidebar = document.getElementsByClassName("bd-sidebar-primary")[0];
sidebar.innerHTML =
`
<div id="rapids-pydata-container">
<div class="rapids-home-container">
<a class="rapids-home-container__home-btn" href="https://docs.r... | 0 |
rapidsai_public_repos/deployment/source | rapidsai_public_repos/deployment/source/guides/mig.md | # Multi-Instance GPU (MIG)
[Multi-Instance GPU](https://www.nvidia.com/en-us/technologies/multi-instance-gpu/) is a technology that allows partitioning a single GPU into multiple instances, making each one seem as a completely independent GPU. Each instance then receives a certain slice of the GPU computational resour... | 0 |
rapidsai_public_repos/deployment/source | rapidsai_public_repos/deployment/source/guides/index.md | ---
html_theme.sidebar_secondary.remove: true
---
# Guides
`````{gridtoctree} 1 2 2 3
:gutter: 2 2 2 2
````{grid-item-card}
:link: mig
:link-type: doc
Multi-Instance GPUs
^^^
Use RAPIDS with Multi-Instance GPUs
{bdg}`Dask Cluster`
{bdg}`XGBoost with Dask Cluster`
````
````{grid-item-card}
:link: azure/infiniband
:... | 0 |
rapidsai_public_repos/deployment/source | rapidsai_public_repos/deployment/source/guides/l4-gcp.md | # L4 GPUs on a Google Cloud Platform (GCP)
[L4 GPUs](https://www.nvidia.com/en-us/data-center/l4/) are a more energy and computationally efficient option compared to T4 GPUs. L4 GPUs are [generally available on GCP](https://cloud.google.com/blog/products/compute/introducing-g2-vms-with-nvidia-l4-gpus) to run your work... | 0 |
rapidsai_public_repos/deployment/source | rapidsai_public_repos/deployment/source/guides/scheduler-gpu-requirements.md | # Does the Dask scheduler need a GPU?
A common question from users deploying Dask clusters is whether the scheduler has different minimum requirements to the workers. This question is compounded when using RAPIDS and GPUs.
```{warning}
This guide outlines our current advice on scheduler hardware requirements, but thi... | 0 |
rapidsai_public_repos/deployment/source/guides | rapidsai_public_repos/deployment/source/guides/azure/infiniband.md | # How to Setup InfiniBand on Azure
[Azure GPU optmized virtual machines](https://learn.microsoft.com/en-us/azure/virtual-machines/sizes-gpu) provide
a low latency and high bandwidth InfiniBand network. This guide walks through the steps to enable InfiniBand to
optimize network performance.
## Build a Virtual Machine
... | 0 |
rapidsai_public_repos/deployment/source | rapidsai_public_repos/deployment/source/tools/dask-cuda.md | # dask-cuda
[Dask-CUDA](https://docs.rapids.ai/api/dask-cuda/stable/) is a library extending `LocalCluster` from `dask.distributed` to enable multi-GPU workloads.
## LocalCUDACluster
You can use `LocalCUDACluster` to create a cluster of one or more GPUs on your local machine. You can launch a Dask scheduler on Local... | 0 |
rapidsai_public_repos/deployment/source | rapidsai_public_repos/deployment/source/tools/index.md | # Tools
## Packages
`````{gridtoctree} 1 2 2 3
:gutter: 2 2 2 2
````{grid-item-card}
:link: rapids-docker
:link-type: doc
Container Images
^^^
Container images containing the RAPIDS software environment.
````
````{grid-item-card}
:link: dask-cuda
:link-type: doc
Dask CUDA
^^^
Dask-CUDA is a library extending Dask.d... | 0 |
rapidsai_public_repos/deployment/source | rapidsai_public_repos/deployment/source/tools/rapids-docker.md | # Container Images
Installation instructions for Docker are hosted at the [RAPIDS Container Installation Docs Page](https://docs.rapids.ai/install#docker).
```{relatedexamples}
```
| 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.