relative_path
stringclasses
812 values
section
stringclasses
339 values
filename
stringlengths
2
61
text
stringlengths
6
1.76M
PyTorch/LanguageModeling/Transformer-XL/pytorch/inference
inference
mem_transformer_jit
# 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...
PyTorch/Translation/Transformer/fairseq/optim/lr_scheduler
lr_scheduler
fairseq_lr_scheduler
# 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. from .. import FairseqOptimizer ...
PyTorch/Classification/ConvNets/triton/scripts
scripts
get_metrics_static
#!/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 requi...
TensorFlow2/Recommendation/DLRM_and_DCNv2/tensorflow-dot-based-interact/tensorflow_dot_based_interact/cc/kernels/ampere
ampere
dot_based_interact_ampere
// 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 ...
PyTorch/Translation/Transformer/fairseq
fairseq
distributed_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. # #--------------------------------...
PyTorch/Segmentation/MaskRCNN/pytorch/maskrcnn_benchmark/csrc/cuda
cuda
box_iou
/** * 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 require...
TensorFlow2/LanguageModeling/BERT/official/nlp
nlp
bert_modeling
# 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...
PyTorch/SpeechRecognition/wav2vec2/common
common
pyt_mha
# 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...
TensorFlow2/LanguageModeling/ELECTRA
ELECTRA
pretrain_utils
# 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.ap...
PyTorch/Classification/ConvNets/triton
triton
run_inference_on_fw
#!/usr/bin/env python3 # 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 # # U...
TensorFlow/Translation/GNMT/examples
examples
DGXA100_AMP_1GPU
python nmt.py --output_dir=results --batch_size=128 --learning_rate=5e-4 --amp
TensorFlow/Detection/SSD/models/research/slim/datasets
datasets
process_bounding_boxes
#!/usr/bin/python # 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 a...
PyTorch/Classification/GPUNet/triton/runner/maintainer/docker/containers
containers
__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...
PyTorch/Classification/GPUNet/triton/runner
runner
triton
# 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/Segmentation/MaskRCNN/pytorch/maskrcnn_benchmark/engine
engine
tester
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. import torch import os from maskrcnn_benchmark.data.build import make_data_loader from maskrcnn_benchmark.engine.inference import inference from maskrcnn_benchmark.utils.miscellaneous import mkdir from maskrcnn_benchmark.utils.comm import synchronize de...
CUDA-Optimized/FastSpeech/fastspeech/trt
trt
fastspeech_trt_multi_engine_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...
Kaldi/SpeechRecognition/scripts
scripts
run_inference_all_a100
#!/bin/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 # # Unless required...
Tools/PyTorch/TimeSeriesPredictionPlatform/models/tft_pyt/triton/runner
runner
start_NVIDIA-DGX-1-(1x-V100-32GB)
# 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/common
common
helpers
# 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...
Tools/PyTorch/TimeSeriesPredictionPlatform/conf/trainer/optimizer
optimizer
LBFGS
# 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/Detection/Efficientdet/effdet/object_detection
object_detection
box_coder
# 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...
TensorFlow/Recommendation/VAE-CF/vae/utils
utils
round
# 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 appli...
PyTorch/Detection/Efficientdet/effdet
effdet
focal_loss
# 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/utils/flags
flags
_misc
# 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/utils
utils
json_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...
Kaldi/SpeechRecognition/scripts/docker
docker
launch_server
#!/bin/bash # 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 re...
PyTorch/SpeechSynthesis/HiFiGAN/platform
platform
DGX1_HiFi-GAN_AMP_1GPU
#!/bin/bash set -a : ${NUM_GPUS:=1} : ${BATCH_SIZE:=64} : ${GRAD_ACCUMULATION:=2} : ${AMP:=true} bash scripts/train_lj22khz.sh "$@"
TensorFlow/LanguageModeling/BERT/scripts/configs
configs
squad_config
#!/usr/bin/env bash # Full SQuAD training configs for NVIDIA DGX A100 (8x NVIDIA A100 40GB GPU) dgxa100_8gpu_fp16 () { batch_size=32 learning_rate=5e-6 precision=fp16 use_xla=true num_gpu=8 seq_length=384 doc_stride=128 bert_model="large" echo $batch_size $learning_rate $precision $use_xla $num_gpu ...
PaddlePaddle/Classification/RN50v1.5
RN50v1.5
requirements
git+https://github.com/NVIDIA/dllogger@v1.0.0#egg=dllogger cuda-python==12.0.0
TensorFlow2/Segmentation/nnUNet
nnUNet
preprocess
# 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/ConvNets/efficientnet/inference/FP32
FP32
DGXA100_efficientnet-widese-b0_FP32
python ./multiproc.py --nproc_per_node 8 ./launch.py --model efficientnet-widese-b0 --precision FP32 --mode benchmark_inference --platform DGXA100 /imagenet -b 1 --workspace ${1:-./} --raport-file raport_1.json python ./multiproc.py --nproc_per_node 8 ./launch.py --model efficientnet-widese-b0 --precision FP32 --mode ...
PyTorch/Detection/Efficientdet
Efficientdet
validate
#!/usr/bin/env python """ COCO validation script Hacked together by Ross Wightman (https://github.com/rwightman) """ # 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. # Yo...
TensorFlow/Detection/SSD/models/research/object_detection/predictors/heads
heads
class_head_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/Recommendation/WideAndDeep/trainer
trainer
run
# 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/DrugDiscovery/MoFlow/moflow/data
data
transform
# 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/Translation/Transformer/scripts
scripts
run_DGX2_FP32
#! /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 requi...
Tools/PyTorch/TimeSeriesPredictionPlatform/models/tft_pyt/triton
triton
model
import os import torch import torch.nn as nn def update_argparser(parser): parser.add_argument("--checkpoint", type=str, help="Path to checkpoint to be used", required=True) parser.add_argument("--precision", type=str, choices=['fp16', 'fp32'], required=True) class TFTWrapper(nn.Module): def __init__(sel...
PyTorch/Classification/ConvNets/triton/resnet50
resnet50
README
# Deploying the ResNet50 v1.5 model on Triton Inference Server This folder contains instructions for deployment to run inference on Triton Inference Server as well as a detailed performance analysis. The purpose of this document is to help you with achieving the best inference performance. ## Table of contents - [...
TensorFlow/Segmentation/UNet_Industrial/model
model
__init__
#!/usr/bin/env python # -*- coding: utf-8 -*- # ============================================================================== # # 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 L...
PyTorch/SpeechSynthesis/Tacotron2/trtis_cpp/src/trt/plugins/taco2DenoiseTransformPlugin
taco2DenoiseTransformPlugin
taco2DenoiseTransformLayerPlugin
/* * 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
BERT
run_pretraining
# coding=utf-8 # Copyright (c) 2019 NVIDIA CORPORATION. All rights reserved. # Copyright 2018 The Google AI Language Team Authors. # # 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...
PyTorch/LanguageModeling/BERT/triton/runner/maintainer
maintainer
maintainer
# 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/Detection/SSD/models/research/object_detection/anchor_generators
anchor_generators
multiscale_grid_anchor_generator_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/slim/nets
nets
inception_v3
# 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 ...
PyTorch/Classification/GPUNet/triton/125ms-D/runner
runner
pipeline_impl
# 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/utils
utils
test_case
# 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/WideAndDeep
WideAndDeep
gen_csv
from data.feature_spec import FeatureSpec from data.outbrain.defaults import ONEHOT_CHANNEL, MULTIHOT_CHANNEL, LABEL_CHANNEL, NUMERICAL_CHANNEL, \ MAP_FEATURE_CHANNEL from argparse import ArgumentParser import pandas as pd import os import numpy as np def parse_args(): parser = ArgumentParser() parser.add...
PyTorch/Classification/ConvNets/image_classification
image_classification
gpu_affinity
import collections import itertools import os import pathlib import re import pynvml from typing import Union class Device: # assume nvml returns list of 64 bit ints _nvml_bit_affinity = 64 _nvml_affinity_elements = ( os.cpu_count() + _nvml_bit_affinity - 1 ) // _nvml_bit_affinity def _...
TensorFlow/Detection/SSD/models/research/object_detection/models
models
ssd_pnasnet_feature_extractor
# 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...
MxNet/Classification/RN50v1.5
RN50v1.5
benchmark
#!/usr/bin/env python3 # 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 # # U...
Tools/PyTorch/TimeSeriesPredictionPlatform/triton
triton
dataloader
# 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...
TensorFlow/Segmentation/UNet_Medical/utils
utils
runner
# 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/common
common
helpers
# 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 ...
PyTorch/SpeechRecognition/Jasper/triton/scripts
scripts
export_model
#!/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 ...
CUDA-Optimized/FastSpeech/fastspeech/hparams
hparams
trt_fp16
parent_yaml: 'trt.yaml' use_fp16: True # TRT trt_file_path: "/fastspeech/preprocessed/v0.2.0/fastspeech.fp16.trt"
PaddlePaddle/Classification/RN50v1.5/scripts/inference
inference
infer_resnet50_AMP
# 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...
TensorFlow2/Recommendation/DLRM_and_DCNv2/preproc
preproc
split_dataset
# 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 appli...
TensorFlow2/Classification/ConvNets/efficientnet_v1/B4/training/AMP
AMP
convergence_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...
PyTorch/LanguageModeling/BERT/triton/deployment_toolkit/bermuda
bermuda
__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...
TensorFlow2/Classification/ConvNets/model/layers
layers
normalization
# 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/Segmentation/MaskRCNN/pytorch/maskrcnn_benchmark/data/samplers
samplers
__init__
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. from .distributed import DistributedSampler from .grouped_batch_sampler import GroupedBatchSampler from .iteration_based_batch_sampler import IterationBasedBatchSampler __all__ = ["DistributedSampler", "GroupedBatchSampler", "IterationBasedBatchSa...
PyTorch/SpeechSynthesis/FastPitch/common
common
audio_processing
# ***************************************************************************** # 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...
Tools/PyTorch/TimeSeriesPredictionPlatform/triton/deployment_toolkit
deployment_toolkit
extensions
# 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/Tacotron2/trtis_cpp/src/trt/util
util
trtUtils
/* * 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/Segmentation/UNet_Medical/utils/hooks
hooks
profiling_hook
# 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/SpeechSynthesis/Tacotron2/notebooks/triton
triton
notebook
#!/usr/bin/env python # coding: utf-8 # In[ ]: import os import time import numpy as np import collections get_ipython().run_line_magic('matplotlib', 'inline') import matplotlib.pyplot as plt from matplotlib import cm as cm from IPython.display import Audio, display, clear_output, Markdown, Image #import librosa #im...
TensorFlow/Classification/ConvNets/dataprep
dataprep
build_image_data
#!/usr/bin/python # 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 a...
TensorFlow2/Recommendation/WideAndDeep/triton/runner
runner
runner_proxy
# 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...
TensorFlow2/Recommendation/WideAndDeep/tests/feature_specs
feature_specs
more_numerical
channel_spec: label: - clicked map: [] multihot_categorical: - topic_id_list - entity_id_list - category_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...
PyTorch/SpeechSynthesis/Tacotron2/trtis_cpp/src/test
test
Taco2DenoiseTransformLayerPlugin_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...
PyTorch/Forecasting/TFT/triton/runner/maintainer/docker
docker
maintainer
# 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/Classification/GPUNet/configs/batch1/GV100
GV100
0.8ms-D
[ { "layer_type": "data", "img_resolution": 224, "distill": false }, { "layer_type": "head", "num_in_channels": 3, "num_out_channels": 32, "act": "relu" }, { "layer_type": "conv", "num_in_channel...
Tools/DGLPyTorch/SyntheticGraphGeneration/syngen/generator/tabular
tabular
utils
# 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/LanguageModeling/BERT/notebooks
notebooks
README
``` # 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 in writing, software distributed under the Licen...
TensorFlow/Detection/SSD/models/research/object_detection/samples/configs
configs
faster_rcnn_resnet101_fgvc
# Faster R-CNN with Resnet-101 (v1) # Users should configure the fine_tune_checkpoint field in the train config as # well as the label_map_path and input_path fields in the train_input_reader and # eval_input_reader. Search for "PATH_TO_BE_CONFIGURED" to find the fields that # should be configured. model { faster_rc...
TensorFlow/Segmentation/UNet_Medical/examples
examples
unet_TF-AMP_1GPU
# 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 required by applic...
PyTorch/Recommendation/DLRM/dlrm/nn
nn
parts
# 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 appli...
PyTorch/SpeechSynthesis/FastPitch
FastPitch
prepare_dataset
# ***************************************************************************** # 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...
PyTorch/LanguageModeling/BERT/distillation/utils
utils
count_records
# coding=utf-8 # 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 re...
PyTorch/LanguageModeling/BART
BART
run_eval
# 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/MaskRCNN
MaskRCNN
.gitignore
*.pyc __pycache__ *.swp .vscode/ .idea/ venv/ # Debug Dirs profiling/ nvtx_plugins/ nsys/ # DLLogger file *dlll.json
PyTorch/Classification/GPUNet/triton/runner
runner
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 applic...
Tools/DGLPyTorch/SyntheticGraphGeneration/demos/basic_examples
basic_examples
e2e_epinions_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/LanguageModeling/Transformer-XL/pytorch
pytorch
run_enwik8_large
#!/bin/bash export OMP_NUM_THREADS=1 if [[ $1 == 'train' ]]; then echo 'Run training...' python train.py \ --cuda \ --data ../data/enwik8/ \ --dataset enwik8 \ --n_layer 24 \ --d_model 1024 \ --n_head 8 \ --d_head 128 \ --d_inner 3072 \ -...
TensorFlow/Classification/ConvNets/model/layers
layers
__init__
# 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 # # Unless required by applic...
TensorFlow2/Recommendation/WideAndDeep/trainer/utils
utils
gpu_affinity
# 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...
TensorFlow/Detection/SSD/models/research/slim/nets
nets
i3d
# 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 applicable ...
PyTorch/Classification/GPUNet/triton/08ms-D
08ms-D
README
# Deploying the GPUNet model on Triton Inference Server This folder contains instructions for deployment to run inference on Triton Inference Server as well as a detailed performance analysis. The purpose of this document is to help you with achieving the best inference performance. ## Table of contents - [Solution...
PyTorch/LanguageModeling/Transformer-XL/pytorch/scripts/docker
docker
interactive
#!/bin/bash # 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 # # Un...
PyTorch/Classification/GPUNet/triton/deployment_toolkit/triton_performance_runner/model_analyzer
model_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...
PyTorch/SpeechSynthesis/Tacotron2/platform
platform
DGX1_tacotron2_FP32_4NGPU_train
mkdir -p output python -m multiproc train.py -m Tacotron2 -o output/ -lr 1e-3 --epochs 1501 -bs 48 --weight-decay 1e-6 --grad-clip-thresh 1.0 --cudnn-enabled --load-mel-from-disk --training-files=filelists/ljs_mel_text_train_filelist.txt --validation-files=filelists/ljs_mel_text_val_filelist.txt --log-file nvlog.json -...
TensorFlow2/Classification/ConvNets/config
config
defaults
# Copyright 2021 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...
TensorFlow/Detection/SSD/models/research/object_detection/meta_architectures
meta_architectures
ssd_meta_arch
# 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/SpeechSynthesis/Tacotron2/filelists
filelists
ljs_mel_text_train_filelist
LJSpeech-1.1/mels/LJ050-0234.pt|It has used other Treasury law enforcement agents on special experiments in building and route surveys in places to which the President frequently travels. LJSpeech-1.1/mels/LJ019-0373.pt|to avail himself of his powers, as it was difficult to bring home the derelictions of duties and eva...
PyTorch/SpeechSynthesis/HiFiGAN/fastpitch
fastpitch
attn_loss_function
# 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 appli...
PyTorch/Segmentation/MaskRCNN/pytorch/maskrcnn_benchmark/utils
utils
registry
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. def _register_generic(module_dict, module_name, module): assert module_name not in module_dict module_dict[module_name] = module class Registry(dict): ''' A helper class for managing registering modules, it extends a dictionary ...
Tools/PyTorch/TimeSeriesPredictionPlatform/callbacks
callbacks
ctl_callbacks
# 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 require...
PyTorch/SpeechRecognition/QuartzNet/common/text
text
numbers
# Copyright (c) 2017 Keith Ito # 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/LICE...
TensorFlow2/Segmentation/MaskRCNN/mrcnn_tf2/model
model
anchors
# 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/Recommendation/WideAndDeep/scripts
scripts
DGXA100_benchmark_training_amp_1gpu
#!/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 requi...