relative_path
stringclasses
812 values
section
stringclasses
339 values
filename
stringlengths
2
61
text
stringlengths
6
1.76M
PyTorch/LanguageModeling/Transformer-XL/pytorch
pytorch
run_text8_large
#!/bin/bash export OMP_NUM_THREADS=1 if [[ $1 == 'train' ]]; then echo 'Run training...' python train.py \ --cuda \ --data ../data/text8/ \ --dataset text8 \ --n_layer 24 \ --d_model 1024 \ --n_head 8 \ --d_head 128 \ --d_inner 3072 \ --d...
PyTorch/Recommendation/DLRM/dlrm/data
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 appli...
PyTorch/SpeechRecognition/wav2vec2/wav2vec2
wav2vec2
criterion
# 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...
TensorFlow/Segmentation/UNet_Industrial/scripts
scripts
UNet_AMP_4GPU
#!/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/SpeechRecognition/Jasper/common/dali
dali
iterator
# 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 ...
PyTorch/SpeechSynthesis/HiFiGAN/platform
platform
DGX1_HiFi-GAN_AMP_8GPU
#!/bin/bash set -a : ${NUM_GPUS:=8} : ${BATCH_SIZE:=16} : ${GRAD_ACCUMULATION:=1} : ${AMP:=true} bash scripts/train_lj22khz.sh "$@"
PyTorch/Classification/ConvNets/triton
triton
convert_model
#!/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...
PyTorch/LanguageModeling/Transformer-XL
Transformer-XL
prep_text8
#!/usr/bin/env python # coding=utf-8 # BSD 3-Clause License # # Copyright (c) 2017, # 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 copy...
TensorFlow/Classification/ConvNets/resnet50v1.5/training
training
training_perf
#!/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
no_numerical
channel_spec: label: - clicked map: [] multihot_categorical: - topic_id_list - entity_id_list - category_id_list numerical: [] onehot_categorical: - ad_id - document_id - platform - document_id_promo - campaign_id - advertiser_id - source_id - geo_location - geo_location_country - ...
PyTorch/DrugDiscovery/MoFlow/scripts
scripts
benchmark_inference
#!/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 requi...
DGLPyTorch/DrugDiscovery/SE3Transformer/se3_transformer/runtime
runtime
training
# 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...
TensorFlow2/LanguageModeling/BERT/official/utils/logs
logs
metric_hook_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...
PyTorch/LanguageModeling/BART/configs
configs
config_hf_xsum
{ "_num_labels": 3, "activation_dropout": 0.0, "activation_function": "gelu", "add_bias_logits": false, "add_final_layer_norm": false, "architectures": [ "BartForConditionalGeneration" ], "attention_dropout": 0.0, "bos_token_id": 0, "classif_dropout": 0.0, "d_model": 1024, "decoder_attention...
PyTorch/SpeechSynthesis/HiFiGAN/fastpitch
fastpitch
extract_mels
# 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...
Tools/PyTorch/TimeSeriesPredictionPlatform/models/tft_pyt/triton/runner
runner
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...
Tools/PyTorch/TimeSeriesPredictionPlatform/models/tft_pyt/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...
PyTorch/SpeechSynthesis/Tacotron2/trtis_cpp/model-config/tacotron2waveglow
tacotron2waveglow
config
name: "tacotron2waveglow" platform: "custom" default_model_filename: "libtt2i_trtis.so" max_batch_size: 32 input [ { name: "INPUT" data_type: TYPE_STRING dims: [ -1 ] } ] output [ { name: "OUTPUT" data_type: TYPE_FP32 dims: [ -1 ] }, { name: "OUTPUT_LENGTH" data_type: TYPE_INT3...
TensorFlow/Translation/GNMT/utils
utils
nmt_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...
PyTorch/SpeechSynthesis/FastPitch/common
common
layers
# ***************************************************************************** # 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...
DGLPyTorch/DrugDiscovery/SE3Transformer/se3_transformer/runtime
runtime
inference
# 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...
TensorFlow/Detection/SSD/models/research/object_detection/samples/configs
configs
ssd_mobilenet_v1_fpn_shared_box_predictor_640x640_coco14_sync
# SSD with Mobilenet v1 FPN feature extractor, shared box predictor and focal # loss (a.k.a Retinanet). # See Lin et al, https://arxiv.org/abs/1708.02002 # Trained on COCO, initialized from Imagenet classification checkpoint # Achieves 29.7 mAP on COCO14 minival dataset. # This config is TPU compatible model { ssd...
PyTorch/LanguageModeling/BERT/data
data
bertPrep
# 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 appl...
PyTorch/SpeechSynthesis/Tacotron2/trtis_cpp/src/trt/util
util
characterMapping
/* * 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/Classification/ConvNets
ConvNets
README
# Resnet-family Convolutional Neural Networks for Image Classification in Tensorflow In this repository you will find implementation of Resnet and its variations for image classification. Convolutional Network models for TensorFlow1 are no longer maintained and will soon become unavailable, please consider PyTorch or ...
TensorFlow2/Recommendation/DLRM_and_DCNv2/tests/transcoding
transcoding
small_csv
channel_spec: categorical: - cat_0.bin - cat_1.bin - cat_2.bin - cat_3.bin - cat_4.bin - cat_5.bin label: - label numerical: &id001 - num_0 - num_1 - num_2 feature_spec: cat_0.bin: cardinality: 10 cat_1.bin: cardinality: 23412 cat_2.bin: cardinality: 45000 cat_3.bin: ca...
PyTorch/Recommendation/DLRM/preproc
preproc
DGX-A100_config
#!/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 requ...
PyTorch/LanguageModeling/BERT
BERT
tokenization_utils
# coding=utf-8 # Copyright 2020 The HuggingFace Inc. team. # 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.apa...
PyTorch/SpeechSynthesis/Tacotron2/trtis_cpp/src/trt/util
util
dims5
/* * 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/ELECTRA
ELECTRA
run_inference
# 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 applicabl...
PyTorch/LanguageModeling/BERT
BERT
requirements
# progress bars in model download and training scripts tqdm # Accessing files from S3 directly. boto3 # Used for downloading models over HTTP requests six ipdb #Data processing h5py nltk #Others onnxruntime git+https://github.com/NVIDIA/dllogger
Tools/PyTorch/TimeSeriesPredictionPlatform/data
data
xgb_util
# Copyright 2022 NVIDIA Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writi...
TensorFlow/LanguageModeling/BERT/data
data
WikicorpusTextFormatting
# 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/Classification/GPUNet/triton/runner/maintainer
maintainer
maintainer
# 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/scripts/docker
docker
interactive
#!/usr/bin/env 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 # # Unl...
TensorFlow2/Detection/Efficientdet/efficientnet/blocks
blocks
conv2d_block
import tensorflow as tf from typing import Any, Dict, Optional, Text, Tuple from model import normalization_builder __all__ = ['conv2d_block'] CONV_KERNEL_INITIALIZER = { 'class_name': 'VarianceScaling', 'config': { 'scale': 2.0, 'mode': 'fan_in', # Note: this is a truncated normal di...
TensorFlow/Segmentation/VNet
VNet
export
# 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/triton/scripts
scripts
run_client
#!/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 ...
TensorFlow/Segmentation/UNet_Industrial
UNet_Industrial
requirements
git+https://github.com/NVIDIA/dllogger#egg=dllogger
PyTorch/Segmentation/MaskRCNN/pytorch/maskrcnn_benchmark/utils
utils
logger
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. import logging import os import sys def setup_logger(name, save_dir, distributed_rank): logger = logging.getLogger(name) logger.setLevel(logging.DEBUG) # don't log results for the non-master process if distributed_rank > 0: ...
TensorFlow/Detection/SSD/models/research/object_detection
object_detection
export_tflite_ssd_graph_lib
# 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/core
core
matcher_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/data
data
oid_object_detection_challenge_500_label_map
item { name: "/m/061hd_" id: 1 display_name: "Infant bed" } item { name: "/m/06m11" id: 2 display_name: "Rose" } item { name: "/m/03120" id: 3 display_name: "Flag" } item { name: "/m/01kb5b" id: 4 display_name: "Flashlight" } item { name: "/m/0120dh" id: 5 display_name: "Sea turtle" } item...
PyTorch/Segmentation/MaskRCNN/pytorch/configs
configs
e2e_mask_rcnn_R_50_FPN_1x_bs32
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/Translation/GNMT/seq2seq/data
data
sampler
# 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 limitation the rights # to use, co...
PyTorch/SpeechSynthesis/Tacotron2/trtis_cpp/src/trt/util
util
engineCache
/* * 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...
.github/ISSUE_TEMPLATE
ISSUE_TEMPLATE
bug_report
--- name: Bug report about: Create a report to help us improve title: "[Model/Framework] What is the problem?" labels: bug assignees: '' --- Related to **Model/Framework(s)** *(e.g. GNMT/PyTorch or FasterTransformer/All)* **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Ste...
PyTorch/Detection/Efficientdet/effdet
effdet
evaluator
# 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/DLRM_and_DCNv2/deployment/tf
tf
deploy_monolithic
# 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/BERT/triton/large/runner
runner
start_NVIDIA-A30
# 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/trtis_cpp/src/trtis
trtis
CustomOutputWriter
/* * 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/BERT/distillation
distillation
hooks
# 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/Segmentation/MaskRCNN/pytorch/scripts
scripts
train
#!/bin/bash # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. #8 V100/A100 x 12 batch_per_gpu GPU=8 CONFIG='configs/e2e_mask_rcnn_R_50_FPN_1x.yaml' RESULTS='/results' LOGFILE="$RESULTS/joblog.log" if ! [ -d "$RESULTS" ]; then mkdir $RESULTS; fi #Use a different argument with DATASET.TRAIN to use your o...
TensorFlow/LanguageModeling/BERT
BERT
optimization
# 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/Forecasting/TFT
TFT
ema
# Copyright 2021-2022 NVIDIA CORPORATION # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in ...
PyTorch/Segmentation/nnUNet/triton
triton
model
from nnunet.nn_unet import NNUnet def get_model(*, checkpoint_dir: str, precision: str, data_dir: str): model = NNUnet.load_from_checkpoint(checkpoint_dir, data_dir=data_dir, triton=True, strict=False) model = model.cuda() if "fp16" in precision: model = model.half() model.eval() tensor_na...
PyTorch/Detection/Efficientdet/data
data
transforms
""" COCO transforms (quick and dirty) Hacked together by Ross Wightman """ # 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 # #...
PyTorch/SpeechRecognition/QuartzNet
QuartzNet
nemo_dle_model_converter
import argparse import io import sys from copy import deepcopy from functools import reduce from pathlib import Path from subprocess import CalledProcessError, check_output import torch import yaml import quartznet.config from common import helpers from common.features import FilterbankFeatures from quartznet.config ...
PyTorch/LanguageModeling/Transformer-XL/pytorch
pytorch
run_text8_base
#!/bin/bash export OMP_NUM_THREADS=1 if [[ $1 == 'train' ]]; then echo 'Run training...' python train.py \ --cuda \ --data ../data/text8/ \ --dataset text8 \ --n_layer 12 \ --d_model 512 \ --n_head 8 \ --d_head 64 \ --d_inner 2048 \ --dro...
TensorFlow2/Recommendation/DLRM_and_DCNv2/utils
utils
distributed
# 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/nnUNet
nnUNet
evaluate
# 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/Recommendation/DLRM/tests/feature_specs
feature_specs
20_num
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 ...
TensorFlow/Detection/SSD/models/research/object_detection/utils
utils
category_util_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...
Tools/PyTorch/TimeSeriesPredictionPlatform/training
training
checkpoint_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 require...
Tools/PyTorch/TimeSeriesPredictionPlatform/models/tft_pyt
tft_pyt
configuration
# 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 ...
TensorFlow/Classification/ConvNets/runtime
runtime
__init__
from runtime.runner import Runner
PyTorch/Segmentation/MaskRCNN/pytorch/maskrcnn_benchmark/engine
engine
__init__
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
TensorFlow/Segmentation/VNet/model
model
vnet
# 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/LanguageModeling/BERT/data
data
create_datasets_from_start
#!/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 # # Unless req...
TensorFlow2/Classification/ConvNets/efficientnet_v1/B0/training/AMP
AMP
train_benchmark_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...
PyTorch/SpeechRecognition/QuartzNet/scripts/docker
docker
build
#!/bin/bash docker build . --rm -t quartznet
PyTorch/SpeechRecognition/Jasper/configs
configs
jasper10x5dr_speedp-offline_speca
# 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/LanguageModeling/BERT/biobert/scripts
scripts
ner_bc5cdr-chem
#!/bin/bash echo "Container nvidia build = " $NVIDIA_BUILD_ID init_checkpoint=${1:-"/results/biobert_tf_uncased_base/model.ckpt"} train_batch_size=${2:-8} learning_rate=${3:-3.125e-6} cased=${4:-false} precision=${5:-"fp16"} use_xla=${6:-"true"} num_gpu=${7:-"16"} seq_length=${8:-128} bert_model=${9:-"base"} eval_bat...
Tools/PyTorch/TimeSeriesPredictionPlatform/examples
examples
hp_search_distributed
/# 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/HiFiGAN/scripts
scripts
download_cmudict
#!/usr/bin/env bash set -e : ${CMUDICT_DIR:="data/cmudict"} if [ ! -f $CMUDICT_DIR/cmudict-0.7b ]; then echo "Downloading cmudict-0.7b ..." wget https://github.com/Alexir/CMUdict/raw/master/cmudict-0.7b -qO $CMUDICT_DIR/cmudict-0.7b fi
PyTorch/LanguageModeling/Transformer-XL
Transformer-XL
getdata
# BSD 3-Clause License # # Copyright (c) 2017, # 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 con...
TensorFlow2/Recommendation/WideAndDeep/data/outbrain
outbrain
defaults
# 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 appli...
PyTorch/LanguageModeling/BERT/triton/large/scripts/docker
docker
build
#!/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/scripts
scripts
finetune_resnet_v1_50_on_flowers
#!/bin/bash # 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...
PyTorch/SpeechSynthesis/Tacotron2/trtis_cpp/src/trt/waveglow
waveglow
waveGlowLoader
/* * 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/utils
utils
create_pretraining_data
# 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/Segmentation/nnUNet/triton/deployment_toolkit
deployment_toolkit
warmup
# 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
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/LanguageModeling/BERT/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 required...
Tools/DGLPyTorch/SyntheticGraphGeneration/syngen/benchmark/models/layers
layers
score_predictor
# 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/Detection/SSD
SSD
.gitignore
**/*.swp
PyTorch/LanguageModeling/BERT
BERT
bind
# 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 applicabl...
PyTorch/SpeechRecognition/QuartzNet/quartznet
quartznet
model
# 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 ...
Tools/PyTorch/TimeSeriesPredictionPlatform/models/tft_pyt/triton/runner/maintainer/docker/containers
containers
__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/LanguageModeling/BERT/lamb_amp_opt/csrc
csrc
frontend
#include <torch/extension.h> std::tuple<at::Tensor, at::Tensor> multi_tensor_l2norm_cuda( int chunk_size, at::Tensor noop_flag, std::vector<std::vector<at::Tensor>> tensor_lists, at::optional<bool> per_tensor_python); void multi_tensor_lamb_cuda( int chunk_size, at::Tensor noop_flag, std::vector<std::ve...
PyTorch/Forecasting/TFT/triton/runner
runner
finalizer
# 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/FastPitch/phrases
phrases
phrase_4_64
She sells seashells by the seashore, shells she sells are great She sells seashells by the seashore, shells she sells are great She sells seashells by the seashore, shells she sells are great She sells seashells by the seashore, shells she sells are great
TensorFlow/Detection/SSD/models/research/object_detection/utils
utils
exp_utils
# 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 appli...
TensorFlow/Segmentation/UNet_Industrial/notebooks
notebooks
Colab_UNet_Industrial_TF_TFHub_export
#!/usr/bin/env python # coding: utf-8 # <a href="https://colab.research.google.com/github/NVIDIA/DeepLearningExamples/tree/master/TensorFlow/Segmentation/UNet_Industrial/notebooks/Colab_UNet_Industrial_TF_TFHub_export.ipynb" target="_parent"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open...
TensorFlow2/LanguageModeling/BERT/official/utils/export
export
export
# 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/trtis_cpp/src/trt/plugins/taco2ModulationRemovalPlugin
taco2ModulationRemovalPlugin
taco2ModulationRemovalKernel
/* * 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/Recommendation/WideAndDeep/scripts
scripts
DGX1_benchmark_training_fp32_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...
TensorFlow2/Recommendation/DLRM_and_DCNv2/tests/feature_specs
feature_specs
13_num_10_cat
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 label: - label numerical: &id001 - num_0 - num_1 - num_2 - num_3 - num_4 - num_5 - num_6 - num_7 - num_8 - num_9 - num_10 ...
TensorFlow/Classification/ConvNets/dataprep
dataprep
imagewoof_synsets
n02086240 n02087394 n02088364 n02089973 n02093754 n02096294 n02099601 n02105641 n02111889 n02115641
TensorFlow2/Recommendation/DLRM_and_DCNv2/tensorflow-dot-based-interact/tensorflow_dot_based_interact/cc/kernels/cuda_kernels
cuda_kernels
dot_based_interact_fp16
// 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 ...