repo_id
stringlengths
21
96
file_path
stringlengths
31
155
content
stringlengths
1
92.9M
__index_level_0__
int64
0
0
rapidsai_public_repos/cugraph
rapidsai_public_repos/cugraph/ci/test_cpp.sh
#!/bin/bash # Copyright (c) 2022-2023, NVIDIA CORPORATION. set -euo pipefail . /opt/conda/etc/profile.d/conda.sh rapids-logger "Generate C++ testing dependencies" rapids-dependency-file-generator \ --output conda \ --file_key test_cpp \ --matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch)" | tee env.yaml rap...
0
rapidsai_public_repos/cugraph
rapidsai_public_repos/cugraph/ci/wheel_smoke_test_cugraph.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 i...
0
rapidsai_public_repos/cugraph
rapidsai_public_repos/cugraph/ci/build_python.sh
#!/bin/bash # Copyright (c) 2022-2023, NVIDIA CORPORATION. set -euo pipefail source rapids-env-update export CMAKE_GENERATOR=Ninja rapids-print-env CPP_CHANNEL=$(rapids-download-conda-from-s3 cpp) version=$(rapids-generate-version) git_commit=$(git rev-parse HEAD) export RAPIDS_PACKAGE_VERSION=${version} echo "${...
0
rapidsai_public_repos/cugraph
rapidsai_public_repos/cugraph/ci/wheel_smoke_test_nx-cugraph.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 i...
0
rapidsai_public_repos/cugraph
rapidsai_public_repos/cugraph/ci/build_wheel.sh
#!/bin/bash # Copyright (c) 2023, NVIDIA CORPORATION. set -euo pipefail package_name=$1 package_dir=$2 underscore_package_name=$(echo "${package_name}" | tr "-" "_") source rapids-configure-sccache source rapids-date-string version=$(rapids-generate-version) git_commit=$(git rev-parse HEAD) RAPIDS_PY_CUDA_SUFFIX="...
0
rapidsai_public_repos/cugraph
rapidsai_public_repos/cugraph/ci/test_wheel_cugraph.sh
#!/bin/bash # Copyright (c) 2023, NVIDIA CORPORATION. set -eoxu pipefail # Download the pylibcugraph built in the previous step RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})" RAPIDS_PY_WHEEL_NAME="pylibcugraph_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-s3 ./local-pylibcugraph-d...
0
rapidsai_public_repos/cugraph
rapidsai_public_repos/cugraph/ci/build_wheel_nx-cugraph.sh
#!/bin/bash # Copyright (c) 2023, NVIDIA CORPORATION. set -euo pipefail ./ci/build_wheel.sh nx-cugraph python/nx-cugraph
0
rapidsai_public_repos/cugraph
rapidsai_public_repos/cugraph/ci/check_style.sh
#!/bin/bash # Copyright (c) 2020-2022, NVIDIA CORPORATION. set -euo pipefail rapids-logger "Create checks conda environment" . /opt/conda/etc/profile.d/conda.sh rapids-dependency-file-generator \ --output conda \ --file_key checks \ --matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch);py=${RAPIDS_PY_VERSION}"...
0
rapidsai_public_repos/cugraph
rapidsai_public_repos/cugraph/ci/wheel_smoke_test_pylibcugraph.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 i...
0
rapidsai_public_repos/cugraph
rapidsai_public_repos/cugraph/ci/test_wheel.sh
#!/bin/bash # Copyright (c) 2023, NVIDIA CORPORATION. set -eoxu pipefail package_name=$1 package_dir=$2 python_package_name=$(echo ${package_name}|sed 's/-/_/g') mkdir -p ./dist RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})" # use 'ls' to expand wildcard before adding `[extra]` require...
0
rapidsai_public_repos/cugraph
rapidsai_public_repos/cugraph/ci/build_cpp.sh
#!/bin/bash # Copyright (c) 2022-2023, NVIDIA CORPORATION. set -euo pipefail source rapids-env-update export CMAKE_GENERATOR=Ninja rapids-print-env version=$(rapids-generate-version) rapids-logger "Begin cpp build" RAPIDS_PACKAGE_VERSION=${version} rapids-conda-retry mambabuild conda/recipes/libcugraph rapids-u...
0
rapidsai_public_repos/cugraph
rapidsai_public_repos/cugraph/ci/test_wheel_nx-cugraph.sh
#!/bin/bash # Copyright (c) 2023, NVIDIA CORPORATION. set -eoxu pipefail ./ci/test_wheel.sh nx-cugraph python/nx-cugraph
0
rapidsai_public_repos/cugraph
rapidsai_public_repos/cugraph/ci/test_notebooks.sh
#!/bin/bash # Copyright (c) 2020-2023, NVIDIA CORPORATION. set -Eeuo pipefail . /opt/conda/etc/profile.d/conda.sh rapids-logger "Generate notebook testing dependencies" rapids-dependency-file-generator \ --output conda \ --file_key test_notebooks \ --matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch);py=${RAP...
0
rapidsai_public_repos/cugraph
rapidsai_public_repos/cugraph/ci/test.sh
#!/bin/bash # 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 l...
0
rapidsai_public_repos/cugraph
rapidsai_public_repos/cugraph/ci/build_wheel_cugraph.sh
#!/bin/bash # Copyright (c) 2023, NVIDIA CORPORATION. set -euo pipefail RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})" # Download the pylibcugraph wheel built in the previous step and make it # available for pip to find. We must use PIP_FIND_LINKS because the package # must be made avail...
0
rapidsai_public_repos/cugraph
rapidsai_public_repos/cugraph/ci/build_docs.sh
#!/bin/bash # Copyright (c) 2023, NVIDIA CORPORATION. set -euo pipefail rapids-logger "Create test conda environment" . /opt/conda/etc/profile.d/conda.sh rapids-dependency-file-generator \ --output conda \ --file_key docs \ --matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch);py=${RAPIDS_PY_VERSION}" | tee en...
0
rapidsai_public_repos/cugraph/ci
rapidsai_public_repos/cugraph/ci/release/update-version.sh
#!/bin/bash # Copyright (c) 2018-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 l...
0
rapidsai_public_repos/cugraph/ci
rapidsai_public_repos/cugraph/ci/utils/nbtest.sh
#!/bin/bash # Copyright (c) 2019-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 l...
0
rapidsai_public_repos/cugraph/ci
rapidsai_public_repos/cugraph/ci/utils/is_pascal.py
# 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 law or agreed...
0
rapidsai_public_repos/cugraph/ci
rapidsai_public_repos/cugraph/ci/utils/git_helpers.py
# Copyright (c) 2019-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 agre...
0
rapidsai_public_repos/cugraph/ci
rapidsai_public_repos/cugraph/ci/utils/nbtestlog2junitxml.py
# Copyright (c) 2019-2020, 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/cugraph/ci
rapidsai_public_repos/cugraph/ci/checks/copyright.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/cugraph/thirdparty
rapidsai_public_repos/cugraph/thirdparty/LICENSES/LICENSE.cugraph-ops.NVIDIA
/* * Copyright 2020-2023 NVIDIA Corporation. All rights reserved. * * NOTICE TO LICENSEE: * * This source code and/or documentation ("Licensed Deliverables") are * subject to NVIDIA intellectual property rights under U.S. and * international Copyright laws. * * These Licensed Deliverables contained herein is P...
0
rapidsai_public_repos/cugraph/thirdparty
rapidsai_public_repos/cugraph/thirdparty/LICENSES/LICENSE.texas_state_university
Copyright (c) 2014-2020, Texas State University. 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 ...
0
rapidsai_public_repos/cugraph/thirdparty
rapidsai_public_repos/cugraph/thirdparty/LICENSES/LICENSE.boost
Boost Software License - Version 1.0 - August 17th, 2003 Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and t...
0
rapidsai_public_repos/cugraph/thirdparty
rapidsai_public_repos/cugraph/thirdparty/mmio/mmio.c
/* * Matrix Market I/O library for ANSI C * * See http://math.nist.gov/MatrixMarket for details. * * */ #include <stdio.h> #include <string.h> #include <stdlib.h> #include <ctype.h> #include "mmio.h" int mm_read_unsymmetric_sparse(const char *fname, int *M_, int *N_, int *nz_, double **val_, in...
0
rapidsai_public_repos/cugraph/thirdparty
rapidsai_public_repos/cugraph/thirdparty/mmio/mmio.h
/* * Matrix Market I/O library for ANSI C * * See http://math.nist.gov/MatrixMarket for details. * * */ #ifndef MM_IO_H #define MM_IO_H #define MM_MAX_LINE_LENGTH 1025 #define MatrixMarketBanner "%%MatrixMarket" #define MM_MAX_TOKEN_LENGTH 64 typedef char MM_typecode[4]; char *mm_typecode_to_str(MM_typecode ma...
0
rapidsai_public_repos/cugraph
rapidsai_public_repos/cugraph/readme_pages/gnn_support.md
<h1 align="center";> <br> <img src="../img/gnn_blog.png" alt="cuGraph" width="500"> </h1> <h1 align="left";> <br> GNN Support </h1> RAPIDS offers support to GNN (Graph Neural Networks). Several components of the RAPIDS ecosystem fit into a typical GNN framework as shown below. An overview of GNN's and how they ...
0
rapidsai_public_repos/cugraph
rapidsai_public_repos/cugraph/readme_pages/cugraph_service.md
# cuGraph Service The goal of cugraph_service is to wrap a cuGraph cluster and provide a Graph-as-a-Service feature. Goals * Separate large graph management and analytic code from application code * The application, like GNN code, should be isolated from the details of cuGraph graph management, dedicated multi-node...
0
rapidsai_public_repos/cugraph
rapidsai_public_repos/cugraph/readme_pages/property_graph.md
<h1 align="center";> <br> <img src="../img/pg_example.png" alt="cuGraph" width="400"> </h1> <h1 align="left";> <br> Property Graph </h1> Part of [RAPIDS](https://rapids.ai) cuGraph, Property Graph allows all the great benefits of cuGraph to be applied to property-rich datasets stored in a graph structure. A Prop...
0
rapidsai_public_repos/cugraph
rapidsai_public_repos/cugraph/readme_pages/news.md
# cuGraph News ### Scaling to 1 Trillion Edges At GTC Spring '22 we presented results of running cuGraph on the [Selene](https://top500.org/system/179842/) supercomputer using 2,048 GPUs and processing a graph with `1.1 Trillion edges`. Synthetic data created with the RMAT generator found in cuGraph. <div align="lef...
0
rapidsai_public_repos/cugraph
rapidsai_public_repos/cugraph/readme_pages/cugraph_python.md
# cuGraph – Python cuGraph is a Python package that encapsulate and hides the complexity of the lower layer C/CUDA code. Additionally, the software is focused on providing an easy and familiar API ## cuGraph Notice Vertex IDs are expected to be contiguous integers starting from 0. If your data doesn't match th...
0
rapidsai_public_repos/cugraph
rapidsai_public_repos/cugraph/readme_pages/data_types.md
# External Data Types cuGraph Python strives to make getting data into and out of cuGraph simple. To that end, the Python interface accepts ## Supported Data Types cuGraph supports graph creation with Source and Destination being expressed as: * cuDF DataFrame * Pandas DataFrame * NetworkX graph classes * Numpy ar...
0
rapidsai_public_repos/cugraph
rapidsai_public_repos/cugraph/readme_pages/cugraph_dgl.md
# cugraph_dgl [RAPIDS](https://rapids.ai) cugraph_dgl enables the ability to use cugraph Property Graphs with DGL. This cugraph backend allows DGL users access to a collection of GPU-accelerated algorithms for graph analytics, such as sampling, centrality computation, and community detection. The goal of `cugraph_d...
0
rapidsai_public_repos/cugraph
rapidsai_public_repos/cugraph/readme_pages/libcugraph.md
<h1 align="center";> <br> <img src="../img/cugraph_logo_2.png" alt="cuGraph" width="300"> </h1> [Libcugraph](https://github.com/rapidsai/cugraph/blob/branch-22.12/cpp/docs/DEVELOPER_GUIDE.md) is the Rapids C/C++ library for graph processing. The library provides a C++ API for users wanting low-level access. Users ...
0
rapidsai_public_repos/cugraph
rapidsai_public_repos/cugraph/readme_pages/cugraph_ops.md
<h1 align="center";> <br> <img src="../img/cugraph_logo_2.png" alt="cuGraph" width="300"> </h1> <h1 align="left";> CuGraphOps </h1> Cugraph-ops is a closed-source library that is composed of highly optimized and performant primitives associated with GNNs and related graph operations, such as training, sampling and ...
0
rapidsai_public_repos/cugraph
rapidsai_public_repos/cugraph/readme_pages/cugraph_pyg.md
# cugraph_pyg [RAPIDS](https://rapids.ai) cugraph_pyg enables the ability to use cugraph Property Graphs with PyTorch Geometric (PyG). PyG users will have access to cuGraph and cuGraph-Service through the PyG GraphStore, FeatureStore, and Sampler interfaces. Through cugraph_pyg, PyG users have the full power of cuGr...
0
rapidsai_public_repos/cugraph
rapidsai_public_repos/cugraph/readme_pages/TRANSITIONGUIDE.md
# 0.12 ## Python API ### Loading an edge list Renumbering is now enabled by default in `from_cudf_edgelist`. The renumbering feature allows us to hide the fact that we need vertices to be integers starting at 0. The auto-renumbering feature converts the data into the proper data type required by the underlying imple...
0
rapidsai_public_repos/cugraph
rapidsai_public_repos/cugraph/readme_pages/pylibcugraph.md
<h1 align="center";>/ <br> <img src="../img/cugraph_logo_2.png" alt="cuGraph" width="300"> </h1> <h1 align="left";> <br> CuGraph pylibcugraph </h1> Part of [RAPIDS](https://rapids.ai) cuGraph, pylibcugraph is a wrapper around the cuGraph C API. It is aimed more at integrators instead of algorithm writers or end ...
0
rapidsai_public_repos/cugraph
rapidsai_public_repos/cugraph/readme_pages/CONTRIBUTING.md
# Contributing to cuGraph cuGraph, for the most part, is an open-source project where we encourage community involvement. The cugraph-ops package is the expection being a closed-source package. There are multiple ways to be involved and contribute to the cuGraph community, the top paths are listed below: * [File an ...
0
rapidsai_public_repos/cugraph
rapidsai_public_repos/cugraph/readme_pages/PRTAGS.md
# Pull Request Tags If you look at the list of current [Pull Request](https://github.com/rapidsai/cugraph/pulls) you will notice a set of bracketed tags in the subject line. Those tags help developers focus attention and know what is being asked. PR = Pull Request | TAG | ...
0
rapidsai_public_repos/cugraph/readme_pages
rapidsai_public_repos/cugraph/readme_pages/performance/performance.md
<a href="https://rapids.ai/"> <img src="https://www.publicdomainpictures.net/pictures/250000/velka/coming-soon.jpg" alt="RAPIDS" width="500"></a> We are working on a new nightly benchmarking system that will produce performance numbers. This is a splash page for where the performance numbers will be posted in early 2...
0
rapidsai_public_repos
rapidsai_public_repos/merlinci-mgmt/README.md
# merlinci-mgmt Management scripts for Merlin CI ### [`/ci`](/ci) Merlin CI scripts for packer builds ### [`/init`](/init) Scripts used for Merlin node startup on AWS ### [`/templates`](/templates) Packer build templates for AWS AMI images used in Merlin CI
0
rapidsai_public_repos/merlinci-mgmt
rapidsai_public_repos/merlinci-mgmt/init/aws-ebs-gpu.sh
#!/bin/bash # # Copyright (c) 2019, NVIDIA CORPORATION. # # AWS init script for gpuCI nodes with EBS only storage, nv-docker # set -e SCRIPT_NAME="$0" function logger { TS=`date +%F_%H-%M-%S` echo "[$SCRIPT_NAME $TS] $@" } logger "Check mounts" mount df -h logger "Ensure ubuntu user has full rights on directory ...
0
rapidsai_public_repos/merlinci-mgmt
rapidsai_public_repos/merlinci-mgmt/init/gcp-docker.sh
#!/bin/bash # # Copyright (c) 2020, NVIDIA CORPORATION. # # GCP init script for gpuCI nodes # set -e SCRIPT_NAME="$0" function logger { TS=`date +%F_%H-%M-%S` echo "[$SCRIPT_NAME $TS] $@" } logger "Update/upgrade image first; before unattended-upgrades runs" sudo apt-get update && sudo apt-get upgrade -y && sudo ...
0
rapidsai_public_repos/merlinci-mgmt
rapidsai_public_repos/merlinci-mgmt/templates/template-gce.json
{ "variables": { "source_image_family": "ubuntu-2004-lts", "machine_type": "e2-medium", "type": "cpu", "arch": "amd64", "key_file": "gce-key.json" }, "builders": [ { "type": "googlecompute", "account_file": "{{user `key_file`}}", "project_id": "rap...
0
rapidsai_public_repos/merlinci-mgmt
rapidsai_public_repos/merlinci-mgmt/templates/README.md
# MerlinCI AMI Templates This directory contains a [packer](https://www.packer.io/) template for building gpuCI AMIs. ## Building the images 1. [Setup AWS credentials](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html) 2. [Ensure the security group](https://docs.aws.amazon.com/vpc/latest/userg...
0
rapidsai_public_repos/merlinci-mgmt
rapidsai_public_repos/merlinci-mgmt/templates/docker.json
{ "variables": { "ansible_host": "default", "ansible_connection": "docker", "type": "cpu" }, "builders": [ { "type": "docker", "image": "ubuntu:20.04", "commit": true, "run_command": [ "-d", "-i",...
0
rapidsai_public_repos/merlinci-mgmt
rapidsai_public_repos/merlinci-mgmt/templates/template.json
{ "variables": { "aws_access_key": "", "aws_secret_key": "", "type": "cpu", "arch": "amd64", "instance": "t2.medium" }, "builders": [ { "type": "amazon-ebs", "access_key": "{{user `aws_access_key`}}", "secret_key": "{{user `...
0
rapidsai_public_repos/merlinci-mgmt
rapidsai_public_repos/merlinci-mgmt/templates/playbook.yml
--- - name: CPU hosts: cpu become: yes roles: - common - cpu - post_common - name: GPU hosts: gpu become: yes roles: - common - gpu - post_common
0
rapidsai_public_repos/merlinci-mgmt
rapidsai_public_repos/merlinci-mgmt/templates/remove_labels.py
# Removes the 'gpuCI-test-this' label from PR's across the organization """ export GITHUB_AUTH_USER=<username> export GITHUB_AUTH_TOKEN=<token> python ./remove_labels.py """ import requests import json import logging import os import sys REPOS = ['Merlin', 'core', 'dataloader', 'models', 'Transformers4Rec', 'system...
0
rapidsai_public_repos/merlinci-mgmt
rapidsai_public_repos/merlinci-mgmt/templates/bootstrap.sh
#!/bin/bash set -ex if [[ "$PACKER_BUILDER_TYPE" != "docker" ]]; then sleep 30 fi df -h lsblk apt-get update apt-get -y upgrade apt-get install -y python3-dev python3-pip
0
rapidsai_public_repos/merlinci-mgmt
rapidsai_public_repos/merlinci-mgmt/templates/packer-ansible.dockerfile
FROM ubuntu:20.04 ENV PATH=/root:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUN apt-get update && \ apt-get install -y software-properties-common && \ apt-add-repository --yes --update ppa:ansible/ansible && \ apt-get update && \ apt-get install -y ansible unzip wget python3-distutil...
0
rapidsai_public_repos/merlinci-mgmt
rapidsai_public_repos/merlinci-mgmt/templates/post_build.sh
#!/bin/bash set -ex echo "========== Disk info ==========" df -h lsblk echo echo "========== Python version ==========" python -V echo echo "========== Python3 version ==========" python3 -V echo echo "========== Pip list ==========" pip -V pip list echo echo "========== Pip3 list ==========" pip3 -V pip3 list echo ech...
0
rapidsai_public_repos/merlinci-mgmt
rapidsai_public_repos/merlinci-mgmt/templates/jenkins-update-ec2-ami.py
#!/usr/bin/python import requests import os import sys jenkins_base_url = os.environ['JENKINS_URL'] jenkins_auth_user = os.environ['JENKINS_AUTH_USER'] jenkins_auth_password = os.environ['JENKINS_AUTH_PASSWORD'] jenkins_crumb_name = "" jenkins_crumb_value = "" # shared session required to use crumbs jenkins_session =...
0
rapidsai_public_repos/merlinci-mgmt/templates/roles/gpu
rapidsai_public_repos/merlinci-mgmt/templates/roles/gpu/tasks/main.yml
--- - include_vars: versions.yml - name: Add key for NVIDIA CUDA repos apt_key: url: http://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub state: present - name: Add repo for NVIDIA CUDA drivers apt_repository: repo: "deb http://developer.download.nvidia.com/compute...
0
rapidsai_public_repos/merlinci-mgmt/templates/roles/gpu/tasks
rapidsai_public_repos/merlinci-mgmt/templates/roles/gpu/tasks/vars/versions.yml
--- # ./vars/versions.yml cuda_drivers_version: 515 exact_cuda_version: 515.65.07-1
0
rapidsai_public_repos/merlinci-mgmt/templates/roles/post_common
rapidsai_public_repos/merlinci-mgmt/templates/roles/post_common/tasks/main.yml
--- - name: Add ubuntu to docker group user: name: ubuntu groups: - docker
0
rapidsai_public_repos/merlinci-mgmt/templates/roles/common
rapidsai_public_repos/merlinci-mgmt/templates/roles/common/handlers/main.yaml
--- - name: restart chrony service: name: chrony state: restarted
0
rapidsai_public_repos/merlinci-mgmt/templates/roles/common
rapidsai_public_repos/merlinci-mgmt/templates/roles/common/files/jenkins-ec2.id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCNjAPz9lETpd4yblvznDiwoaCTbZ6uEQzexQaaJRUnRGiVIEkggWXGiq7MWz2gEYIpUE5/sLPIJQK/QnNBvXSIojlyQFIIcXGFcQ3fcLTNF/GXjBEMLWO/voJt7IMXzEdlQKfdNtXB/YGRU9Yab9+4w36L/E8myXPEdHscwfJWv80k894GQIaPH3MzwlY1r+hGiE85Y3mCmc7g4n4np6jloBYspj+G6PQG8aYGfvLMuO/zRB2lifyU+7Ta/uLiltahktMZSzV8Ya85t6lNI14gzQnD...
0
rapidsai_public_repos/merlinci-mgmt/templates/roles/common
rapidsai_public_repos/merlinci-mgmt/templates/roles/common/files/chrony.conf
# Welcome to the chrony configuration file. See chrony.conf(5) for more # information about usuable directives. # This will use (up to): # - 4 sources from ntp.ubuntu.com which some are ipv6 enabled # - 2 sources from 2.ubuntu.pool.ntp.org which is ipv6 enabled as well # - 1 source from [01].ubuntu.pool.ntp.org each (...
0
rapidsai_public_repos/merlinci-mgmt/templates/roles/common
rapidsai_public_repos/merlinci-mgmt/templates/roles/common/files/jenkins-prod.id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCcbirkJsRrR1QKLZHzHkwYcG5RxsooeRL/TI8r8f8QbDgPNm3jfF07uUSxq45pzEAKRY+Kplnx0rM/RJvYpA/S3hJfB1KaAujAWxidBXaquBVA6Q20cYLYC1TddsFJ5O5L6mgL6AbWEMBCVn9XnBMimWxF9yq7KLIRw9fSE6errC/xHtdHrzeYRLu7VRO6HrjeQ0c9c1af0lJg23ZCLP5sVQyUUG0j/ZeGJeFUInuqN33rJJjGcxaTq+ywEgdlH+eUNcxCDyrAoDNgOJQUqAJtFYKD...
0
rapidsai_public_repos/merlinci-mgmt/templates/roles/common
rapidsai_public_repos/merlinci-mgmt/templates/roles/common/tasks/main.yml
--- - name: Install common packages apt: update_cache: yes pkg: - jq - ansible - openjdk-11-jdk-headless - git - git-lfs - nvme-cli - build-essential - wget - curl - vim - screen - apt-transport-https - ca-certificates - curl ...
0
rapidsai_public_repos/merlinci-mgmt/templates/roles/cpu
rapidsai_public_repos/merlinci-mgmt/templates/roles/cpu/tasks/main.yml
---
0
rapidsai_public_repos/merlinci-mgmt/ci
rapidsai_public_repos/merlinci-mgmt/ci/templates/run.sh
#!/bin/bash # Run script for packer AMI builds set -e cd templates echo "========== GPU-amd64 Build ==========" /root/packer build -var type=gpu -machine-readable template.json | tee gpu_amd64_build.log echo "========== Artifacts ==========" export GPU_AMI_AMD64=`cat gpu_amd64_build.log | grep "artifact" | grep ",id,...
0
rapidsai_public_repos
rapidsai_public_repos/ci-imgs/renovate.json
{ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "config:base" ] }
0
rapidsai_public_repos
rapidsai_public_repos/ci-imgs/latest.yaml
# Define the values used for the "latest" tag conda: CUDA_VER: "12.0.1" PYTHON_VER: "3.10" LINUX_VER: "ubuntu22.04" wheels: CUDA_VER: "12.0.1" PYTHON_VER: "3.10" LINUX_VER: "ubuntu20.04"
0
rapidsai_public_repos
rapidsai_public_repos/ci-imgs/README.md
# ci-imgs This repository includes the following CI images for RAPIDS: - `ci-conda` images are conda CI images used for building RAPIDS. - `ci-wheel` images are for building manylinux-compliant wheels. They are also used to build pure-Python wheels, and for publishing wheels with twine. - `citestwheel` images are for...
0
rapidsai_public_repos
rapidsai_public_repos/ci-imgs/matrix.yaml
CUDA_VER: - "11.2.2" - "11.4.3" - "11.5.2" - "11.8.0" - "12.0.1" - "12.1.1" PYTHON_VER: - "3.9" - "3.10" LINUX_VER: - "ubuntu18.04" - "ubuntu20.04" - "ubuntu22.04" - "centos7" - "rockylinux8" IMAGE_REPO: - "ci-conda" - "ci-wheel" - "citestwheel" exclude: # ci-conda: - LINUX_VER: "ubu...
0
rapidsai_public_repos
rapidsai_public_repos/ci-imgs/ci-conda.Dockerfile
ARG CUDA_VER=11.8.0 ARG LINUX_VER=ubuntu22.04 ARG PYTHON_VER=3.10 FROM rapidsai/miniforge-cuda:cuda${CUDA_VER}-base-${LINUX_VER}-py${PYTHON_VER} ARG TARGETPLATFORM ARG CUDA_VER ARG LINUX_VER ARG PYTHON_VER ARG DEBIAN_FRONTEND=noninteractive # Set RAPIDS versions env variables ENV RAPIDS_CUDA_VERSION="${CUDA_VER}" EN...
0
rapidsai_public_repos
rapidsai_public_repos/ci-imgs/citestwheel.Dockerfile
ARG CUDA_VER=11.8.0 ARG LINUX_VER=ubuntu18.04 ARG BASE_IMAGE=nvcr.io/nvidia/cuda:${CUDA_VER}-devel-${LINUX_VER} FROM ${BASE_IMAGE} ARG CUDA_VER ARG PYTHON_VER=3.9 # Set RAPIDS versions env variables ENV RAPIDS_CUDA_VERSION="${CUDA_VER}" ENV RAPIDS_PY_VERSION="${PYTHON_VER}" # RAPIDS pip index ENV PIP_EXTRA_INDEX_UR...
0
rapidsai_public_repos
rapidsai_public_repos/ci-imgs/ci-wheel.Dockerfile
ARG CUDA_VER=11.8.0 ARG LINUX_VER=ubuntu20.04 ARG REAL_ARCH=x86_64 ARG BASE_IMAGE=nvcr.io/nvidia/cuda:${CUDA_VER}-devel-${LINUX_VER} FROM ${BASE_IMAGE} ARG CUDA_VER ARG LINUX_VER ARG CPU_ARCH ARG REAL_ARCH ARG PYTHON_VER=3.9 ARG MANYLINUX_VER ARG POLICY=${MANYLINUX_VER} ARG DEBIAN_FRONTEND=noninteractive # Set RAPI...
0
rapidsai_public_repos/ci-imgs
rapidsai_public_repos/ci-imgs/context/condarc.tmpl
auto_update_conda: False channels: - rapidsai - rapidsai-nightly - dask/label/dev - pytorch - conda-forge - nvidia conda-build: set_build_id: false root_dir: $RAPIDS_CONDA_BLD_ROOT_DIR output_folder: $RAPIDS_CONDA_BLD_OUTPUT_DIR number_channel_notices: 0 always_yes: true
0
rapidsai_public_repos/ci-imgs
rapidsai_public_repos/ci-imgs/ci/compute-matrix.sh
#!/bin/bash set -euo pipefail case "${BUILD_TYPE}" in pull-request) export PR_NUM="${GITHUB_REF_NAME##*/}" ;; branch) ;; *) echo "Invalid build type: '${BUILD_TYPE}'" exit 1 ;; esac yq -o json matrix.yaml | jq -c 'include "ci/compute-matrix"; compute_matrix(.)'
0
rapidsai_public_repos/ci-imgs
rapidsai_public_repos/ci-imgs/ci/remove-temp-images.sh
#!/bin/bash set -euo pipefail logout() { curl -X POST \ -H "Authorization: JWT $HUB_TOKEN" \ "https://hub.docker.com/v2/logout/" } trap logout EXIT HUB_TOKEN=$( curl -s -H "Content-Type: application/json" \ -X POST \ -d "{\"username\": \"${GPUCIBOT_DOCKERHUB_USER}\", \"password\": \"${GPUCIBOT_DO...
0
rapidsai_public_repos/ci-imgs
rapidsai_public_repos/ci-imgs/ci/compute-build-args.sh
#!/bin/bash set -euo pipefail MANYLINUX_VER="manylinux_2_17" if [[ "${LINUX_VER}" == "ubuntu18.04" || "${LINUX_VER}" == "ubuntu20.04" ]]; then MANYLINUX_VER="manylinux_2_31" elif [[ "${LINUX_VER}" == "rockylinux8" ]]; then MANYLINUX_VER="manylinux_2_28" fi ARGS=( # common args "CUDA_VER=${CUDA_VER}" "...
0
rapidsai_public_repos/ci-imgs
rapidsai_public_repos/ci-imgs/ci/compute-matrix.jq
def compute_arch($x): ["amd64"] | if (["ubuntu18.04", "centos7"] | index($x.LINUX_VER) != null) or ($x.CUDA_VER <= "11.2.2") then . else . + ["arm64"] end | $x + {ARCHES: .}; def compute_repo($x): if env.BUILD_TYPE == "pull-request" then "staging" else $x.IMAGE_REPO end; ...
0
rapidsai_public_repos/ci-imgs
rapidsai_public_repos/ci-imgs/ci/create-multiarch-manifest.sh
#!/bin/bash set -euo pipefail PREFIX="conda" if [[ "${IMAGE_REPO}" != "ci-conda" ]]; then PREFIX="wheels" fi LATEST_CUDA_VER=$(yq -r ".$PREFIX.CUDA_VER" latest.yaml) LATEST_PYTHON_VER=$(yq -r ".$PREFIX.PYTHON_VER" latest.yaml) LATEST_UBUNTU_VER=$(yq -r ".$PREFIX.LINUX_VER" latest.yaml) source_tags=() tag="${IMAGE_...
0
rapidsai_public_repos
rapidsai_public_repos/cugunrock/CMakeLists.txt
project(gunrock) set(gunrock_VERSION_MAJOR 1) set(gunrock_VERSION_MINOR 1) set(gunrock_VERSION_PATCH 0) add_definitions("-DGUNROCKVERSION=${gunrock_VERSION_MAJOR}.${gunrock_VERSION_MINOR}.${gunrock_VERSION_PATCH}") cmake_minimum_required(VERSION 3.10) # enable @rpath in the install name for any shared library being ...
0
rapidsai_public_repos
rapidsai_public_repos/cugunrock/CODE_OF_CONDUCT.md
# Contributor Covenant Code of Conduct ## Our Pledge In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex ch...
0
rapidsai_public_repos
rapidsai_public_repos/cugunrock/README.md
<!-- start: gunrock's header --> <p align="center"> <a href="https://github.com/gunrock/gunrock/"><img src="https://github.com/gunrock/docs/raw/master/source/images/GunrockLogo150px.png"></a> <br> <a href="https://github.com/gunrock/gunrock/releases/tag/v1.0"><img src="https://img.shields.io/badge/gunrock-v1.0-bl...
0
rapidsai_public_repos
rapidsai_public_repos/cugunrock/Jenkinsfile
// Jenkins pipeline // See documents at https://jenkins.io/doc/book/pipeline/jenkinsfile/ // initialize source codes def init_git() { checkout scm retry(5) { timeout(time: 2, unit: 'MINUTES') { sh 'git submodule update --init' } } } // build gunrock using cmake def cmake_build() { checkout scm ...
0
rapidsai_public_repos
rapidsai_public_repos/cugunrock/LICENSE.TXT
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, and distribution as defined b...
0
rapidsai_public_repos
rapidsai_public_repos/cugunrock/.clang-format
--- Language: Cpp # BasedOnStyle: Google AccessModifierOffset: -1 AlignAfterOpenBracket: Align AlignConsecutiveAssignments: false AlignConsecutiveDeclarations: false AlignEscapedNewlines: Left AlignOperands: true AlignTrailingComments: true AllowAllParametersOfDeclarationOnNextLine: true AllowShortBlocksOnASi...
0
rapidsai_public_repos/cugunrock
rapidsai_public_repos/cugunrock/python/pagerank.py
### sample python interface - pagerank from ctypes import * ### load gunrock shared library - libgunrock gunrock = cdll.LoadLibrary('../build/lib/libgunrock.so') ### read in input CSR arrays from files row_list = [int(x.strip()) for x in open('toy_graph/row.txt')] col_list = [int(x.strip()) for x in open('toy_graph/c...
0
rapidsai_public_repos/cugunrock/python
rapidsai_public_repos/cugunrock/python/toy_graph/col.txt
1 2 3 0 2 4 0 1 3 4 5 0 2 5 6 1 2 5 6 2 3 4 6 3 4 5
0
rapidsai_public_repos/cugunrock/python
rapidsai_public_repos/cugunrock/python/toy_graph/row.txt
0 3 6 11 15 19 23 26
0
rapidsai_public_repos/cugunrock/python
rapidsai_public_repos/cugunrock/python/toy_graph/val.txt
3 4 5 3 5 7 4 5 7 8 9 5 7 10 11 7 8 11 12 9 10 11 13 11 12 13
0
rapidsai_public_repos/cugunrock
rapidsai_public_repos/cugunrock/unittests/test_lib_sm.h
/* * @brief Subgraph matching test for shared library advanced interface * @file test_lib_sm.h */ TEST(sharedlibrary, sm) { int num_data_nodes = 5, num_data_edges = 10; int data_row_offsets[6] = {0, 2, 6, 7, 9, 10}; int data_col_indices[10] = {1, 3, 0, 2, 3, 4, 1, 0, 1, 1}; int num_query_nodes = 3, num_q...
0
rapidsai_public_repos/cugunrock
rapidsai_public_repos/cugunrock/unittests/test_lib_pr.h
/* * @brief PageRank test for shared library advanced interface * @file test_lib_pr.h */ TEST(sharedlibrary, pagerank) { int num_nodes = 7, num_edges = 26; int row_offsets[8] = {0, 3, 6, 11, 15, 19, 23, 26}; int col_indices[26] = {1, 2, 3, 0, 2, 4, 0, 1, 3, 4, 5, 0, 2, 5, 6, 1, 2, 5...
0
rapidsai_public_repos/cugunrock
rapidsai_public_repos/cugunrock/unittests/CMakeLists.txt
project(unittests) message("-- Project Added: ${PROJECT_NAME}") include(${CMAKE_SOURCE_DIR}/cmake/SetSubProject.cmake) ### tests using googletest and googlemock add_test(NAME UNITTESTS COMMAND unittests) target_link_libraries(unittests gunrock gtest_main) set_tests_properties(UNITTESTS PROPERTIES PASS_REGULAR_EXPRESS...
0
rapidsai_public_repos/cugunrock
rapidsai_public_repos/cugunrock/unittests/test_unittests.cu
// ---------------------------------------------------------------- // Gunrock -- Fast and Efficient GPU Graph Library // ---------------------------------------------------------------- // This source code is distributed under the terms of LICENSE.TXT // in the root directory of this source distribution. // ----------...
0
rapidsai_public_repos/cugunrock
rapidsai_public_repos/cugunrock/unittests/test_pointer_location.h
/* * @brief Test to determine the location (device or host) of memory * @file test_pointer_location.h */ #include <gunrock/util/test_utils.h> TEST(utils, PointerLocation) { using namespace gunrock::util; // // pointers to host memory int x = 10; auto host_ptr = &x; EXPECT_EQ(false, I...
0
rapidsai_public_repos/cugunrock
rapidsai_public_repos/cugunrock/unittests/test_segreduce.h
/* * @brief Unit test for RepeatFor * @file test_segreduce.h */ #include <examples/core/test_segreduce.cuh> using namespace gunrock; TEST(operators, SegReduce) { cudaError_t retval = SegReduceTest(); EXPECT_EQ(retval, cudaSuccess); }
0
rapidsai_public_repos/cugunrock
rapidsai_public_repos/cugunrock/unittests/test_repeatfor.h
/* * @brief Unit test for RepeatFor * @file test_repeatfor.cuh */ #include <examples/core/test_for.cuh> using namespace gunrock; TEST(operators, RepeatFor) { cudaError_t retval = RepeatForTest(); EXPECT_EQ(retval, cudaSuccess); }
0
rapidsai_public_repos/cugunrock
rapidsai_public_repos/cugunrock/unittests/test_binarysearch.h
/* * @brief Unit test for BinarySearch * @file test_binarysearch.cuh */ #include <examples/core/test_binarysearch.cuh> using namespace gunrock; TEST(utils, BinarySearch) { cudaError_t retval = BinarySearchTest(); EXPECT_EQ(retval, cudaSuccess); }
0
rapidsai_public_repos/cugunrock
rapidsai_public_repos/cugunrock/gunrock/gunrock.h
// ---------------------------------------------------------------------------- // Gunrock -- Fast and Efficient GPU Graph Library // ---------------------------------------------------------------------------- // This source code is distributed under the terms of LICENSE.TXT // in the root directory of this source dis...
0
rapidsai_public_repos/cugunrock
rapidsai_public_repos/cugunrock/gunrock/CMakeLists.txt
# ------------------------------------------------------------------------ # Gunrock: Shared Library CMAKE files # ------------------------------------------------------------------------ if(RAPIDJSON_FOUND) include_directories(${RAPIDJSON_INCLUDEDIR}) else() message(SEND_ERROR "RapidJson include directory not se...
0
rapidsai_public_repos/cugunrock/gunrock
rapidsai_public_repos/cugunrock/gunrock/graph/csr.cuh
// ---------------------------------------------------------------------------- // Gunrock -- Fast and Efficient GPU Graph Library // ---------------------------------------------------------------------------- // This source code is distributed under the terms of LICENSE.TXT // in the root directory of this source dis...
0
rapidsai_public_repos/cugunrock/gunrock
rapidsai_public_repos/cugunrock/gunrock/graph/csc.cuh
//---------------------------------------------------------------------------- // Gunrock -- Fast and Efficient GPU Graph Library // ---------------------------------------------------------------------------- // This source code is distributed under the terms of LICENSE.TXT // in the root directory of this source dist...
0