relative_path
stringclasses
812 values
section
stringclasses
339 values
filename
stringlengths
2
61
text
stringlengths
6
1.76M
TensorFlow/Segmentation/UNet_Industrial/scripts
scripts
UNet_EVAL
#!/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...
TensorFlow/Classification/ConvNets/triton/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...
PyTorch/SpeechRecognition/wav2vec2/common/fairseq/optim
optim
fused_lamb
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may n...
PyTorch/LanguageModeling/BERT/data
data
NVIDIAPretrainedWeightDownloader
# 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...
TensorFlow/Translation/GNMT
GNMT
block_lstm
# 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...
TensorFlow/Detection/SSD/models/research/slim/nets/nasnet
nasnet
nasnet_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 ...
TensorFlow/Detection/SSD/models/research/object_detection/dataset_tools
dataset_tools
tf_record_creation_util
# 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/models
models
ssd_mobilenet_v1_fpn_feature_extractor_test
# 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/Classification/ConvNets/resnext101-32x4d/training
training
DGX1_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...
PyTorch/SpeechSynthesis/HiFiGAN/scripts
scripts
download_dataset
#!/usr/bin/env bash set -e DATA_BASE_DIR="data" DATA_DIR="${DATA_BASE_DIR}/LJSpeech-1.1" LJS_ARCH_NAME="LJSpeech-1.1.tar.bz2" LJS_ARCH="${DATA_BASE_DIR}/${LJS_ARCH_NAME}" LJS_URL="http://data.keithito.com/data/speech/${LJS_ARCH_NAME}" if [ ! -d ${DATA_DIR} ]; then echo "Downloading ${LJS_ARCH} ..." wget -q ${LJS...
TensorFlow/Detection/SSD/models/research/object_detection/samples/configs
configs
ssd_mobilenet_v1_300x300_coco14_sync
# SSD with Mobilenet v1 feature extractor and focal loss. # Trained on COCO14, initialized from Imagenet classification checkpoint # Achieves 20.5 mAP on COCO14 minival dataset. # This config is TPU compatible model { ssd { inplace_batchnorm_update: true freeze_batchnorm: false num_classes: 90 box_...
TensorFlow2/Classification/ConvNets/efficientnet_v1/B4/evaluation
evaluation
evaluation_AMP_V100-32G
# 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...
JAX/LanguageModeling
LanguageModeling
README
# Language Modeling Language modeling (LM) is a natural language processing (NLP) task that determines the probability of a given sequence of words occurring in a sentence. In an era where computers, smartphones and other electronic devices increasingly need to interact with humans, language modeling has become an i...
TensorFlow2/Segmentation/MaskRCNN/mrcnn_tf2/utils
utils
dllogger
# 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...
MxNet/Classification/RN50v1.5
RN50v1.5
data
# Copyright 2017-2018 The Apache Software Foundation # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apach...
Tools/PyTorch/TimeSeriesPredictionPlatform/triton/deployment_toolkit/bermuda
bermuda
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...
TensorFlow2/LanguageModeling/BERT/official/nlp/transformer
transformer
model_utils
# 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...
PyTorch/SpeechSynthesis/Tacotron2/platform
platform
DGXA100_waveglow_AMP_8NGPU_train
mkdir -p output python -m multiproc train.py -m WaveGlow -o output/ --amp -lr 1e-4 --epochs 1001 -bs 10 --segment-length 8000 --weight-decay 0 --grad-clip-thresh 65504.0 --cudnn-benchmark --cudnn-enabled --log-file nvlog.json
TensorFlow/Segmentation/UNet_3D_Medical/dataset
dataset
transforms
# 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/scripts
scripts
data_download
#!/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...
TensorFlow/Detection/SSD/models/research/slim/datasets
datasets
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 applicable ...
PyTorch/SpeechSynthesis/Tacotron2/scripts
scripts
prepare_dataset
#!/usr/bin/env bash set -e DATADIR="LJSpeech-1.1" BZ2ARCHIVE="${DATADIR}.tar.bz2" ENDPOINT="http://data.keithito.com/data/speech/$BZ2ARCHIVE" if [ ! -d "$DATADIR" ]; then echo "dataset is missing, unpacking ..." if [ ! -f "$BZ2ARCHIVE" ]; then echo "dataset archive is missing, downloading ..." wget "$END...
PyTorch/SpeechRecognition/Jasper/scripts
scripts
inference_benchmark
#!/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 requi...
TensorFlow2/Recommendation/DLRM_and_DCNv2/deployment/deployment_toolkit
deployment_toolkit
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...
TensorFlow2/Segmentation/UNet_Medical/runtime
runtime
parse_results
# 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/Recommendation/WideAndDeep/triton/deployment_toolkit/triton_inference_runner
triton_inference_runner
grpc
# 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/SpeechRecognition/Jasper/triton
triton
jasper_module
# ***************************************************************************** # 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...
TensorFlow/Detection/SSD/models/research/object_detection/metrics
metrics
oid_vrd_challenge_evaluation_utils
# 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...
PyTorch/Segmentation/MaskRCNN/pytorch/maskrcnn_benchmark/layers
layers
nms
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # from ._utils import _C from maskrcnn_benchmark import _C from torch.cuda.amp import custom_fwd # Only valid with fp32 inputs - give AMP the hint nms = custom_fwd(_C.nms) # nms.__do...
PyTorch/SpeechRecognition/Jasper
Jasper
requirements
inflect==5.3.0 ipdb librosa==0.9.0 pandas==1.5.2 pyyaml>=5.4 soundfile sox==1.4.1 tqdm==4.53.0 git+https://github.com/NVIDIA/dllogger@v1.0.0#egg=dllogger
TensorFlow/Detection/SSD/models/research/object_detection/models
models
faster_rcnn_nas_feature_extractor_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...
PyTorch/SpeechSynthesis/Tacotron2/notebooks/conversationalai/client/speech_ai_demo/utils/bert
bert
tokenization
# coding=utf-8 # Copyright (c) 2019 NVIDIA CORPORATION. All rights reserved. # Copyright 2018 The Google AI Language Team Authors and The HugginFace Inc. team. # 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 ...
PyTorch/SpeechRecognition/Jasper/platform
platform
DGXA100_Jasper_TF32_8GPU
#!/bin/bash NUM_GPUS=8 BATCH_SIZE=64 GRAD_ACCUMULATION_STEPS=2 bash scripts/train.sh "$@"
PyTorch/SpeechSynthesis/FastPitch/common/text/zh
zh
chinese
# ***************************************************************************** # Copyright (c) 2021-2022, 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: # * Redistribu...
TensorFlow2/Segmentation/nnUNet
nnUNet
.gitignore
# Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] *$py.class # C extensions *.so # Distribution / packaging .Python build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ lib/ lib64/ parts/ sdist/ var/ wheels/ share/python-wheels/ *.egg-info/ .installed.cfg *.egg MANIFEST # PyInstaller # Usually these file...
PyTorch/SpeechSynthesis/HiFiGAN
HiFiGAN
requirements
inflect librosa==0.9.0 numpy pandas pynvml==11.0.0 pysoundfile scipy tensorboardX==2.0 git+https://github.com/NVIDIA/dllogger@v1.0.0#egg=dllogger
PyTorch/SpeechRecognition/wav2vec2/wav2vec2
wav2vec2
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. # Copyright (c) 2023, NVIDIA CORPO...
PyTorch/Detection/Efficientdet/effdet/layers
layers
activations_jit
# 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/effdet
effdet
anchors
""" RetinaNet / EfficientDet Anchor Gen Adapted for PyTorch from Tensorflow impl at https://github.com/google/automl/blob/6f6694cec1a48cdb33d5d1551a2d5db8ad227798/efficientdet/anchors.py Hacked together by Ross Wightman, original copyright below """ # Copyright 2020 Google Research. All Rights Reserved. # # Licen...
PyTorch/SpeechRecognition/wav2vec2/common
common
sampler
# 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...
TensorFlow/Classification/ConvNets/dataprep
dataprep
preprocess_imagenet_validation_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...
PyTorch/Recommendation/NCF/data/ml-20m
ml-20m
feature_spec_template
feature_spec: user: dtype: torch.int64 cardinality: 138493 item: dtype: torch.int64 cardinality: 26744 label: dtype: torch.float32 metadata: test_samples_per_series: 101 source_spec: train: - type: torch_tensor features: # For torch_tensor, each line corresponds to a co...
TensorFlow/Recommendation/VAE-CF/vae/metrics
metrics
recall
# 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...
TensorFlow/Classification/ConvNets/resnet50v1.5
resnet50v1.5
inference_benchmark
#!/bin/bash DATA_DIR=${1:-"/data/tfrecords"} DALI_DIR=${2} BATCH_SIZE_TO_TEST="1 2 4 8 16 32 64 128 256" INFERENCE_BENCHMARK=$(mktemp /tmp/inference-benchmark.XXXXXX) function test_configuration() { echo "Testing configuration: $1" | tee -a $INFERENCE_BENCHMARK for BATCH in $BATCH_SIZE_TO_TEST; do p...
CUDA-Optimized/FastSpeech/waveglow
waveglow
data_function
# ***************************************************************************** # 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/Segmentation/MaskRCNN/pytorch/configs/cityscapes
cityscapes
e2e_faster_rcnn_R_50_FPN_1x_cocostyle
MODEL: META_ARCHITECTURE: "GeneralizedRCNN" WEIGHT: "catalog://ImageNetPretrained/MSRA/R-50" BACKBONE: CONV_BODY: "R-50-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: 1000 FPN_POS...
PyTorch/Classification/ConvNets/efficientnet/training/FP32
FP32
DGX1V-16G_efficientnet-widese-b0_FP32
python ./multiproc.py --nproc_per_node 8 ./launch.py --model efficientnet-widese-b0 --precision FP32 --mode convergence --platform DGX1V-16G /imagenet --workspace ${1:-./} --raport-file raport.json
TensorFlow2/Detection/Efficientdet/object_detection
object_detection
faster_rcnn_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...
PyTorch/Translation/GNMT
GNMT
train
#!/usr/bin/env python # 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 restricti...
TensorFlow2/Detection/Efficientdet/scripts/D0
D0
training-benchmark-AMP-V100-32G
#!/bin/bash # 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 requir...
PaddlePaddle/Classification/RN50v1.5
RN50v1.5
README
# ResNet50 v1.5 For PaddlePaddle This repository provides a script and recipe to train the ResNet50 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) * [Default configuration](#default-configuratio...
PyTorch/Forecasting/TFT/triton/runner
runner
start_NVIDIA-DGX-1-(1x-V100-32GB)
# 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/Recommendation
Recommendation
README
# Recommender Systems Recommender systems are a type of information filtering system that seeks to predict the "rating" or "preference" a user would give to an item. (Source: [Wikipedia](https://en.wikipedia.org/wiki/Recommender_system)) In an era where users have to navigate through an exponentially growing number ...
TensorFlow/Detection/SSD/models/research/slim/datasets
datasets
imagenet_metadata
n00004475 organism, being n00005787 benthos n00006024 heterotroph n00006484 cell n00007846 person, individual, someone, somebody, mortal, soul n00015388 animal, animate being, beast, brute, creature, fauna n00017222 plant, flora, plant life n00021265 food, nutrient n00021939 artifact, artefact n00120010 hop n00141669 c...
PyTorch/Detection/SSD/examples
examples
SSD300_FP32_8GPU
# This script launches SSD300 training in FP32 on 8 GPUs using 256 batch size (32 per GPU) # Usage ./SSD300_FP32_8GPU.sh <path to this repository> <path to dataset> <additional flags> torchrun --nproc_per_node=8 $1/main.py --backbone resnet50 --warmup 300 --bs 32 --no-amp --data-layout channels_first --data $2 ${@:3}
Tools/PyTorch/TimeSeriesPredictionPlatform/models/tft_pyt
tft_pyt
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...
TensorFlow/Detection/SSD/models/research/object_detection/utils
utils
test_utils_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/Segmentation/UNet_Industrial
UNet_Industrial
main
# !/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 ...
PyTorch/SpeechRecognition/Jasper/triton/scripts
scripts
wait_for_triton_server
#!/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 ...
PyTorch/Segmentation/nnUNet/triton/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...
TensorFlow/Detection/SSD/models/research/object_detection/dataset_tools
dataset_tools
create_kitti_tf_record_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/preprocessing
preprocessing
vgg_preprocessing
# 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 ...
Tools/PyTorch/TimeSeriesPredictionPlatform/conf/trainer/criterion
criterion
GLL
# 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/object_detection/predictors/heads
heads
keras_box_head
# 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...
PaddlePaddle/LanguageModeling/BERT/data
data
WikiDownloader
# 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/tensorrt
tensorrt
run_latency_tests_trt
bash test_infer.sh --test tensorrt/test_infer_trt.py -bs 1 -il 128 --fp16 --num-iters 1003 --encoder ./output/encoder_fp16.engine --decoder ./output/decoder_iter_fp16.engine --postnet ./output/postnet_fp16.engine --waveglow ./output/waveglow_fp16.engine
PyTorch/LanguageModeling/BERT/triton
triton
model
# 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...
Tools/PyTorch/TimeSeriesPredictionPlatform/models/tft_pyt/triton
triton
dataloader
import os import numpy as np import torch from torch.utils.data import DataLoader from data_utils import TFTDataset def update_argparser(parser): parser.add_argument("--dataset", type=str, help="Path to dataset to be used", required=True) parser.add_argument("--checkpoint", type=str, help="Path to checkpoint t...
PaddlePaddle/LanguageModeling/BERT/data
data
WikicorpusTextFormatting
# 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/triton
triton
config_model_on_triton
#!/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/LanguageModeling/Transformer-XL/tf
tf
main
from __future__ import absolute_import from __future__ import division from __future__ import print_function import os import math import time from absl import flags import absl.logging as _logging # pylint: disable=unused-import import tensorflow as tf import horovod.tensorflow as hvd import model import data_util...
PyTorch/SpeechSynthesis/Tacotron2/platform
platform
DGX1_tacotron2_AMP_1NGPU_train
mkdir -p output python train.py -m Tacotron2 -o output/ --amp -lr 1e-3 --epochs 1501 -bs 104 --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 --annea...
TensorFlow2/Classification/ConvNets/efficientnet_v2/S/training/FP32
FP32
convergence_8xV100-32G
# 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/mrcnn_tf2/object_detection
object_detection
tf_example_decoder
# 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...
TensorFlow/Segmentation/UNet_Industrial/runtime
runtime
__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...
TensorFlow/Detection/SSD/models/research/object_detection/metrics
metrics
tf_example_parser_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...
PyTorch/LanguageModeling/BERT/triton/runner
runner
runner
# 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/Jasper/common
common
utils
import numpy as np class BenchmarkStats: """ Tracks statistics used for benchmarking. """ def __init__(self): self.utts = [] self.times = [] self.losses = [] def update(self, utts, times, losses): self.utts.append(utts) self.times.append(times) self.losses....
TensorFlow2/Segmentation/MaskRCNN/mrcnn_tf2/model/models
models
heads
# 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...
TensorFlow2/Recommendation/WideAndDeep/triton/runner
runner
experiment
# 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/test
test
DataShuffler_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...
TensorFlow2/LanguageModeling/BERT/official/modeling/hyperparams
hyperparams
params_dict_test
# 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/LanguageModeling/BERT/triton/dist6l/runner
runner
prepare_datasets
# 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/utils
utils
object_detection_evaluation_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/Classification/ConvNets/triton/deployment_toolkit
deployment_toolkit
extensions
# 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/QuartzNet/configs
configs
quartznet15x5_speedp-online-1.15_speca_drop0.2
# 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/Segmentation/MaskRCNN/pytorch/configs/caffe2
caffe2
e2e_mask_rcnn_R_50_FPN_1x_caffe2
MODEL: META_ARCHITECTURE: "GeneralizedRCNN" WEIGHT: "catalog://Caffe2Detectron/COCO/35858933/e2e_mask_rcnn_R-50-FPN_1x" BACKBONE: CONV_BODY: "R-50-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_T...
TensorFlow2/Recommendation/DLRM_and_DCNv2/tests/feature_specs
feature_specs
criteo_f15
channel_spec: categorical: - cat_0.bin - cat_1.bin - cat_2.bin - cat_3.bin - cat_4.bin - cat_5.bin - cat_6.bin - cat_7.bin - cat_8.bin - cat_9.bin - cat_10.bin - cat_11.bin - cat_12.bin - cat_13.bin - cat_14.bin - cat_15.bin - cat_16.bin - cat_17.bin - cat_18.bin - cat_19.bin ...
PyTorch/Forecasting/TFT/triton/runner
runner
pipeline_impl
# 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/Detection/Efficientdet/model
model
normalization_builder
# 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...
PyTorch/SpeechSynthesis/Tacotron2/filelists
filelists
ljs_mel_text_train_subset_1250_filelist
LJSpeech-1.1/mels/LJ040-0100.pt|she would sometimes take Lee with her, apparently leaving him alone in the car while she transacted her business. LJSpeech-1.1/mels/LJ011-0248.pt|Howard, strange to say, making no attempt to detain him; probably because Mullay promised to return a few days later, and to bring more money....
PyTorch/SpeechSynthesis/Tacotron2/tacotron2_common
tacotron2_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...
PyTorch/SpeechSynthesis/Tacotron2/waveglow
waveglow
loss_function
# ***************************************************************************** # 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/Recommendation/DLRM/preproc
preproc
NVT_shuffle_spark
# 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/Tacotron2/filelists
filelists
ljs_mel_text_test_filelist
LJSpeech-1.1/mels/LJ045-0096.pt|Mrs. De Mohrenschildt thought that Oswald, LJSpeech-1.1/mels/LJ049-0022.pt|The Secret Service believed that it was very doubtful that any President would ride regularly in a vehicle with a fixed top, even though transparent. LJSpeech-1.1/mels/LJ033-0042.pt|Between the hours of eight and ...
PyTorch/Segmentation/MaskRCNN/pytorch/scripts
scripts
train_benchmark
#!/bin/bash # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. #1x8x4 DGX1V - 1 epoch of training GPU=$2 GLOBAL_BATCH=$((12 * $2)) CONFIG='configs/e2e_mask_rcnn_R_50_FPN_1x.yaml' RESULTS='/results' LOGFILE="$RESULTS/joblog.log" DTYPE="$1" NHWC=$3 if ! [ -d "$RESULTS" ]; then mkdir $RESULTS; fi python -m ...
PyTorch/Segmentation/MaskRCNN/pytorch/maskrcnn_benchmark/csrc
csrc
vision
/** * 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 require...
TensorFlow2/Recommendation/WideAndDeep/trainer/model
model
widedeep
# 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/triton/runner
runner
__init__
# 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/Segmentation/MaskRCNN/pytorch/configs/gn_baselines
gn_baselines
scratch_e2e_faster_rcnn_R_50_FPN_Xconv1fc_3x_gn
INPUT: MIN_SIZE_TRAIN: 800 MAX_SIZE_TRAIN: 1333 MIN_SIZE_TEST: 800 MAX_SIZE_TEST: 1333 MODEL: META_ARCHITECTURE: "GeneralizedRCNN" WEIGHT: "" # no pretrained model BACKBONE: CONV_BODY: "R-50-FPN" OUT_CHANNELS: 256 FREEZE_CONV_BODY_AT: 0 # finetune all layers RESNETS: # use GN for backbone ...