relative_path
stringclasses
812 values
section
stringclasses
339 values
filename
stringlengths
2
61
text
stringlengths
6
1.76M
Tools/DGLPyTorch/SyntheticGraphGeneration/demos/basic_examples
basic_examples
e2e_ieee_demo
#!/usr/bin/env python # coding: utf-8 # Copyright 2023 NVIDIA Corporation. All Rights Reserved. # # 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-...
PyTorch/SpeechRecognition/Jasper/utils
utils
download_utils
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. # # 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 applic...
PyTorch/Translation/GNMT/seq2seq/data
data
config
# Copyright (c) 2017 Elad Hoffer # Copyright (c) 2018-2020, NVIDIA CORPORATION. All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without l...
PyTorch/Classification/ConvNets/image_classification
image_classification
autoaugment
from PIL import Image, ImageEnhance, ImageOps import numpy as np import random class AutoaugmentImageNetPolicy(object): """ Randomly choose one of the best 24 Sub-policies on ImageNet. Reference: https://arxiv.org/abs/1805.09501 """ def __init__(self): self.policies = [ SubPoli...
PyTorch/SpeechSynthesis/Tacotron2/waveglow
waveglow
__init__
from .entrypoints import nvidia_waveglow
PyTorch/Forecasting/TFT/triton
triton
calculate_metrics
#!/usr/bin/env python3 # Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. # # 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 ...
PyTorch/SpeechRecognition/QuartzNet
QuartzNet
README
# QuartzNet For PyTorch This repository provides a script and recipe to train the QuartzNet model to achieve state-of-the-art accuracy. The content of this repository is tested and maintained by NVIDIA. ## Table Of Contents - [Model overview](#model-overview) * [Model architecture](#model-architecture) * [De...
Tools/PyTorch/TimeSeriesPredictionPlatform/models/tft_pyt
tft_pyt
modeling
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # 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 ...
TensorFlow2/Detection/Efficientdet
Efficientdet
eval
# Copyright 2020 Google Research. All Rights Reserved. # # 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...
TensorFlow2/Recommendation/WideAndDeep/triton/deployment_toolkit/triton_performance_runner/perf_analyzer
perf_analyzer
warmup
# Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. # # 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 a...
DGLPyTorch/DrugDiscovery/SE3Transformer/se3_transformer/model
model
transformer
# Copyright (c) 2021-2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the righ...
CUDA-Optimized/FastSpeech/fastspeech/trt
trt
common
# Copyright (c) 2020, 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 conditio...
PyTorch/LanguageModeling/BERT/triton/large/scripts
scripts
setup_parameters
#!/usr/bin/env bash # Copyright (c) 2021 NVIDIA CORPORATION. All rights reserved. # # 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 # # Unle...
PaddlePaddle/LanguageModeling/BERT/utils
utils
task
# Copyright (c) 2022 NVIDIA Corporation. All rights reserved. # # 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 applic...
PyTorch/Classification/GPUNet/triton/runner
runner
experiment
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # 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 applic...
TensorFlow/Segmentation/UNet_Industrial/scripts
scripts
UNet_AMP_8GPU_XLA
#!/usr/bin/env bash # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # 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 # # Unle...
PyTorch/SpeechSynthesis/Tacotron2/tacotron2/text
text
__init__
""" from https://github.com/keithito/tacotron """ import re from tacotron2.text import cleaners from tacotron2.text.symbols import symbols # Mappings from symbol to numeric ID and vice versa: _symbol_to_id = {s: i for i, s in enumerate(symbols)} _id_to_symbol = {i: s for i, s in enumerate(symbols)} # Regular express...
PyTorch/Translation/Transformer/fairseq
fairseq
utils
# Copyright (c) 2017-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the LICENSE file in # the root directory of this source tree. An additional grant of patent rights # can be found in the PATENTS file in the same directory. # #--------------------------------...
TensorFlow/Detection/SSD/models/research/slim/nets/nasnet
nasnet
nasnet_utils
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # 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 applica...
TensorFlow/Detection/SSD/models/research/object_detection/core
core
box_list_ops_test
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # 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 applica...
TensorFlow2/Segmentation/nnUNet/data_loading
data_loading
utils
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # 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 applic...
PyTorch/LanguageModeling/BART/utils
utils
file_utils
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # 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 applic...
PyTorch/Detection/SSD
SSD
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, ...
PyTorch/Segmentation/MaskRCNN/pytorch/configs
configs
e2e_faster_rcnn_X_101_32x8d_FPN_1x
MODEL: META_ARCHITECTURE: "GeneralizedRCNN" WEIGHT: "catalog://ImageNetPretrained/FAIR/20171220/X-101-32x8d" BACKBONE: CONV_BODY: "R-101-FPN" OUT_CHANNELS: 256 RPN: USE_FPN: True ANCHOR_STRIDE: (4, 8, 16, 32, 64) PRE_NMS_TOP_N_TRAIN: 2000 PRE_NMS_TOP_N_TEST: 1000 POST_NMS_TOP_N_TEST:...
Tools/PyTorch/TimeSeriesPredictionPlatform/models/tft_pyt/triton/deployment_toolkit/bermuda
bermuda
tensorrt
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # 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 applic...
TensorFlow2/Segmentation/Contrib/UNet3P/callbacks
callbacks
timing_callback
import sys from timeit import default_timer as timer import tensorflow as tf class TimingCallback(tf.keras.callbacks.Callback): """ Custom callback to note training time, latency and throughput """ def __init__(self, ): super(TimingCallback, self).__init__() self.train_start_time = No...
PyTorch/Translation/Transformer
Transformer
CONTRIBUTING
# Contributing to FAIR Sequence-to-Sequence Toolkit (PyTorch) We want to make contributing to this project as easy and transparent as possible. ## Pull Requests We actively welcome your pull requests. 1. Fork the repo and create your branch from `master`. 2. If you've added code that should be tested, add tests. 3. I...
CUDA-Optimized/FastSpeech/fastspeech/hparams
hparams
base
# Path dataset_path: "/workspace/fastspeech/LJSpeech-1.1" tacotron2_path: "/workspace/fastspeech/tacotron2_statedict.pt" waveglow_path: "/workspace/fastspeech/nvidia_waveglow256pyt_fp16" mels_path: "/workspace/fastspeech/mels_ljspeech1.1" aligns_path: "/workspace/fastspeech/aligns_ljspeech1.1" log_path: "/workspace/fas...
PyTorch/LanguageModeling/BERT/data
data
GLUEDownloader
# Copyright (c) 2019-2021 NVIDIA CORPORATION. All rights reserved. # 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 appl...
PyTorch/SpeechSynthesis/Tacotron2/trtis_cpp/src/trt/denoiser
denoiser
denoiserLoader
/* * Copyright (c) 2019-2020, 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 l...
TensorFlow/LanguageModeling/BERT/data
data
WikiDownloader
# Copyright (c) 2019 NVIDIA CORPORATION. All rights reserved. # 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 applicabl...
PyTorch/Segmentation/MaskRCNN/pytorch/maskrcnn_benchmark/modeling/roi_heads/mask_head
mask_head
roi_mask_predictors
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. from torch import nn from torch.nn import functional as F from maskrcnn_benchmark.layers import Conv2d from maskrcnn_benchmark.layers import ConvTranspose2d class MaskRCNNC4Predictor...
TensorFlow/Segmentation/UNet_Medical/examples
examples
unet_TRAIN_BENCHMARK_TF-AMP_1GPU
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. # # 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 applic...
TensorFlow/Detection/SSD/models/research/slim/datasets
datasets
download_and_convert_flowers
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # 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 applica...
PyTorch/SpeechSynthesis/Tacotron2/trtis_cpp/src/test
test
Taco2ProjectionLayerPlugin_test
/* * Copyright (c) 2019-2020, 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 l...
Tools/DGLPyTorch/SyntheticGraphGeneration/docker_scripts
docker_scripts
run_docker_notebook
if [ ! "$(ls | grep -c docker_scripts)" -eq 1 ]; then echo "Run this script from root directory. Usage: bash ./docker_scripts/run_docker_notebook.sh" exit 1 fi IMG="${IMAGE:=graph_gen}" CMD='cd /workspace && echo -e "\nOPEN http://<your_ip>:9916/ and copy token\n\n" && jupyter notebook --ip=0.0.0.0 --port=9916' ...
TensorFlow2/Segmentation/UNet_Medical/examples
examples
unet_INFER_BENCHMARK_TF-AMP
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # 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 applic...
PyTorch/LanguageModeling/BERT/lamb_amp_opt
lamb_amp_opt
main
import copy import apex import torch import numpy as np from sklearn.preprocessing import StandardScaler from sklearn.datasets import make_classification, make_regression from fused_lamb import FusedLAMBAMP N_SAMPLES = 10000 N_FEATURES = 32 BATCH_SIZE = 100 def print_param_diff(optimizer): with torch.no_grad(...
PyTorch/SpeechRecognition/QuartzNet/platform
platform
DGX2_QuartzNet_AMP_8GPU
#!/bin/bash set -a : ${NUM_GPUS:=8} : ${GPU_BATCH_SIZE:=36} : ${GRAD_ACCUMULATION:=4} : ${AMP=:true} bash scripts/train.sh "$@"
PyTorch/Segmentation/nnUNet
nnUNet
evaluate
# Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. # # 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 a...
PyTorch/Forecasting/TFT
TFT
README
# Temporal Fusion Transformer For PyTorch This repository provides a script and recipe to train the Temporal Fusion Transformer model to achieve state-of-the-art accuracy. The content of this repository is tested and maintained by NVIDIA. ## Table Of Contents - [Model overview](#model-overview) * [Model architec...
PyTorch/Segmentation/MaskRCNN/pytorch/maskrcnn_benchmark/csrc/cuda
cuda
ROIPool_cuda
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. // Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. #include <ATen/ATen.h> #include <ATen/ceil_div.h> #include <ATen/cuda/CUDAContext.h> #include <THC/THC.h> #include <THC/THCAtomics.cuh> // TODO make it in a common file #define CUD...
TensorFlow/Classification/ConvNets
ConvNets
requirements
git+https://github.com/NVIDIA/dllogger#egg=dllogger mpi4py
TensorFlow/Segmentation/VNet
VNet
.gitignore
.idea/ *.tar .ipynb_checkpoints /_python_build *.pyc __pycache__ *.swp /datasets /results
PyTorch/Classification/GPUNet/triton/runner
runner
summary
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # 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 applic...
TensorFlow2/Classification/ConvNets/model
model
common_modules
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # 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 applic...
PyTorch/SpeechRecognition/wav2vec2/scripts
scripts
finetune_base_10h
#!/usr/bin/env bash # Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 # # Unle...
TensorFlow2/LanguageModeling/ELECTRA
ELECTRA
build_pretraining_dataset
# coding=utf-8 # Copyright 2020 The Google Research Authors. # Copyright (c) 2020 NVIDIA CORPORATION. All rights reserved. # # 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.a...
TensorFlow/Detection/SSD/models/research/slim/nets
nets
nets_factory_test
# Copyright 2016 Google Inc. All Rights Reserved. # # 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 agree...
Tools/PyTorch/TimeSeriesPredictionPlatform/models/tft_pyt/triton/runner
runner
config_NVIDIA-DGX-A100-(1x-A100-80GB)
checkpoints: - name: electricity_bin url: https://api.ngc.nvidia.com/v2/models/nvidia/tft_pyt_ckpt_base_eletricity_amp/versions/21.06.0/zip - name: traffic_bin url: https://api.ngc.nvidia.com/v2/models/nvidia/tft_pyt_ckpt_base_traffic_amp/versions/21.06.0/zip configurations: - accelerator: none batch_size: - 1 ...
PyTorch/LanguageModeling/BERT/triton/deployment_toolkit/model_analyzer
model_analyzer
exceptions
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # 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 applic...
PyTorch/Translation/Transformer
Transformer
README
# Transformer For PyTorch This repository provides a script and recipe to train the Transformer model to achieve state of the art accuracy, and is tested and maintained by NVIDIA. ## Table Of Contents * [Model overview](#model-overview) * [Model architecture](#model-architecture) * [Default configuration](#de...
PaddlePaddle/Classification/RN50v1.5/scripts/training
training
train_resnet50_TF32_90E_DGXA100
# Copyright (c) 2022 NVIDIA Corporation. All rights reserved. # # 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 app...
PyTorch/Forecasting/TFT/triton/deployment_toolkit
deployment_toolkit
utils
# Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. # # 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 a...
PyTorch/SpeechSynthesis/HiFiGAN/fastpitch
fastpitch
arg_parser
# ***************************************************************************** # Copyright (c) 2018, 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...
PyTorch/LanguageModeling/BART/utils
utils
data_utils
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # 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 applic...
PyTorch/SpeechSynthesis/Tacotron2/exports
exports
export_tacotron2_ts_config
# ***************************************************************************** # Copyright (c) 2019, 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...
PyTorch/Detection/SSD
SSD
main
# Copyright (c) 2018-2019, NVIDIA CORPORATION. All rights reserved. # # 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 a...
PyTorch/LanguageModeling/Transformer-XL
Transformer-XL
README
# Transformer-XL For PyTorch This repository provides a script and recipe to train the Transformer-XL model to achieve state-of-the-art accuracy, and is tested and maintained by NVIDIA. ## Table Of Contents <!-- TOC GFM --> * [Model overview](#model-overview) * [Model architecture](#model-architecture) * [Defau...
PyTorch/Classification/GPUNet/triton/deployment_toolkit/triton_performance_runner/perf_analyzer
perf_analyzer
__init__
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # 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 applic...
TensorFlow/Detection/SSD/models/research/object_detection
object_detection
model_lib
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # 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 applica...
TensorFlow2/LanguageModeling/BERT/official/nlp/modeling/layers
layers
transformer
# Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # 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 applica...
MxNet/Classification/RN50v1.5
RN50v1.5
requirements
git+https://github.com/NVIDIA/dllogger@v0.1.0#egg=dllogger
PyTorch/SpeechSynthesis/Tacotron2/trtis_cpp/src/trt/waveglow
waveglow
waveGlowStreamingInstance
/* * Copyright (c) 2019-2020, 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 l...
TensorFlow/Detection/SSD/models/research/slim
slim
export_inference_graph_test
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # 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 ...
TensorFlow2/LanguageModeling/ELECTRA/data
data
BookscorpusTextFormatting
# Copyright (c) 2019 NVIDIA CORPORATION. All rights reserved. # 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 applicabl...
Tools/PyTorch/TimeSeriesPredictionPlatform/models/tft_pyt/triton/runner/maintainer/docker
docker
__init__
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # 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 applic...
PyTorch/Translation/Transformer/fairseq
fairseq
options
# Copyright (c) 2017-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the LICENSE file in # the root directory of this source tree. An additional grant of patent rights # can be found in the PATENTS file in the same directory. # #--------------------------------...
Tools/DGLPyTorch/SyntheticGraphGeneration/syngen
syngen
__init__
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 applic...
TensorFlow/Segmentation/UNet_Medical/utils
utils
cmd_util
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. # # 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 applic...
PyTorch/SpeechRecognition/Jasper/platform
platform
DGX2_Jasper_FP32_8GPU
#!/bin/bash NUM_GPUS=8 AMP=true BATCH_SIZE=64 GRAD_ACCUMULATION_STEPS=2 bash scripts/train.sh "$@"
CUDA-Optimized/FastSpeech/fastspeech/inferencer
inferencer
fastspeech_inferencer
# Copyright (c) 2020, 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 conditio...
TensorFlow/Classification/ConvNets/se-resnext101-32x4d/training
training
DGX1_SE-RNxt101-32x4d_AMP_90E
#!/bin/bash # Copyright (c) 2019 NVIDIA CORPORATION. All rights reserved. # # 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 r...
TensorFlow2/Recommendation/WideAndDeep/tests/feature_specs
feature_specs
less_multihot
channel_spec: label: - clicked map: [] multihot_categorical: - topic_id_list numerical: - document_id_document_id_promo_sim_categories - document_id_document_id_promo_sim_topics - document_id_document_id_promo_sim_entities - document_id_promo_ctr - publisher_id_promo_ctr - source_id_promo_ctr ...
TensorFlow2/Classification/ConvNets/efficientnet_v1/B0/training/TF32
TF32
convergence_1xA100-80G
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # 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 applic...
PyTorch/Detection/Efficientdet/utils
utils
model_ema
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # 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 applic...
CUDA-Optimized/FastSpeech/fastspeech/hparams
hparams
trt_fp16_multi_engine
parent_yaml: 'trt_multi_engine.yaml' use_fp16: True # TRT trt_file_path_list: [ "/fastspeech/preprocessed/v0.2.0/fastspeech.fp16.i32.o256.trt", "/fastspeech/preprocessed/v0.2.0/fastspeech.fp16.i64.o512.trt", "/fastspeech/preprocessed/v0.2.0/fastspeech.fp16.i96.o768.trt", "/fastspeech/preprocessed/v0.2.0/fasts...
PaddlePaddle/Classification/RN50v1.5/utils
utils
save_load
# Copyright (c) 2022 NVIDIA Corporation. All rights reserved. # # 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 applic...
PyTorch/Classification/GPUNet
GPUNet
eval
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # 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 applic...
Tools/PyTorch/TimeSeriesPredictionPlatform/conf/trainer/optimizer
optimizer
ASGD
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # 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 ...
PyTorch/SpeechSynthesis/Tacotron2/trtis_cpp/src/trt/util
util
hostMemory
/* * Copyright (c) 2019-2020, 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 l...
PyTorch/LanguageModeling/Transformer-XL/pytorch
pytorch
data_utils
# Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved. # # 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...
TensorFlow/Translation/GNMT/utils
utils
math_utils
# Copyright 2017 Google Inc. All Rights Reserved. # # 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 a...
Tools/PyTorch/TimeSeriesPredictionPlatform/models/tft_pyt/triton/runner
runner
config_NVIDIA-T4
checkpoints: - name: electricity_bin url: https://api.ngc.nvidia.com/v2/models/nvidia/tft_pyt_ckpt_base_eletricity_amp/versions/21.06.0/zip - name: traffic_bin url: https://api.ngc.nvidia.com/v2/models/nvidia/tft_pyt_ckpt_base_traffic_amp/versions/21.06.0/zip configurations: - accelerator: none batch_size: - 1 ...
TensorFlow2/LanguageModeling/BERT/official/nlp/transformer
transformer
beam_search_v1
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # 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 applica...
TensorFlow/Detection/SSD/models/research/object_detection/g3doc
g3doc
evaluation_protocols
# Supported object detection evaluation protocols The Tensorflow Object Detection API currently supports three evaluation protocols, that can be configured in `EvalConfig` by setting `metrics_set` to the corresponding value. ## PASCAL VOC 2010 detection metric `EvalConfig.metrics_set='pascal_voc_detection_metrics'` ...
TensorFlow/Detection/SSD/models/research/object_detection/core
core
minibatch_sampler_test
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # 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 applica...
TensorFlow/Detection/SSD/models/research/object_detection/utils
utils
learning_schedules
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # 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 applica...
TensorFlow2/Recommendation/DLRM_and_DCNv2/preproc
preproc
run_spark
#!/bin/bash # Copyright (c) 2020 NVIDIA CORPORATION. All rights reserved. # # 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 requ...
PyTorch/LanguageModeling/BERT/bert_configs
bert_configs
base
{ "attention_probs_dropout_prob": 0.1, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 768, "initializer_range": 0.02, "intermediate_size": 3072, "max_position_embeddings": 512, "num_attention_heads": 12, "num_hidden_layers": 12, "type_vocab_size": 2, "vocab_size": 30528 }
Tools/PyTorch/TimeSeriesPredictionPlatform/conf
conf
inference_triton_config
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # 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 ...
TensorFlow/Detection/SSD/models/research/slim/nets
nets
inception_utils
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # 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 ...
PaddlePaddle/Classification/RN50v1.5/utils
utils
mode
# Copyright (c) 2022 NVIDIA Corporation. All rights reserved. # # 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 applic...
TensorFlow/Detection/SSD/models/research/slim/nets
nets
inception_v1
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # 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 ...
TensorFlow2/Classification/ConvNets/efficientnet_v1/B0/training/AMP
AMP
train_benchmark_8xA100-80G
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # 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 applic...
TensorFlow2/LanguageModeling/BERT/official/nlp/modeling/networks
networks
albert_transformer_encoder
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # 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 applic...
TensorFlow/Classification/ConvNets/se-resnext101-32x4d/training
training
DGX1_SE-RNxt101-32x4d_FP32_90E
#!/bin/bash # Copyright (c) 2019 NVIDIA CORPORATION. All rights reserved. # # 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 r...
CUDA-Optimized/FastSpeech/fastspeech/trainer
trainer
trainer
# Copyright (c) 2020, 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 conditio...
TensorFlow/Detection/SSD/models/research/object_detection/core
core
box_coder
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # 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 applica...
PyTorch/Classification/ConvNets/triton/deployment_toolkit
deployment_toolkit
report
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # 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 applic...