relative_path
stringclasses
812 values
section
stringclasses
339 values
filename
stringlengths
2
61
text
stringlengths
6
1.76M
TensorFlow/Detection/SSD/models/research/object_detection/builders
builders
matcher_builder
# 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...
CUDA-Optimized/FastSpeech/fastspeech/trt/plugins/add_pos_enc
add_pos_enc
AddPosEncPlugin
// 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 con...
TensorFlow/Detection/SSD/models/research/object_detection/models
models
ssd_resnet_v1_ppn_feature_extractor
# 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/Segmentation/MaskRCNN/mrcnn_tf2/object_detection
object_detection
argmax_matcher
# 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/Segmentation/nnUNet/utils
utils
instance_norm
import importlib import torch from torch import Tensor from torch.nn.modules.batchnorm import _NormBase global instance_norm_nvfuser_cuda instance_norm_nvfuser_cuda = None class InstanceNormNVFuserFunction(torch.autograd.Function): @staticmethod def forward(ctx, input, weight, bias, running_mean, running_va...
TensorFlow2/Segmentation/Contrib/UNet3P/data_generators
data_generators
tf_data_generator
""" Tensorflow data generator class. """ import tensorflow as tf import numpy as np from omegaconf import DictConfig from utils.general_utils import get_data_paths from utils.images_utils import prepare_image, prepare_mask class DataGenerator(tf.keras.utils.Sequence): """ Generate batches of data for model b...
TensorFlow/Detection/SSD/models/research/slim
slim
eval_image_classifier
# 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/HiFiGAN/platform
platform
DGX1_HiFi-GAN_AMP_4GPU
#!/bin/bash set -a : ${NUM_GPUS:=4} : ${BATCH_SIZE:=32} : ${GRAD_ACCUMULATION:=1} : ${AMP:=true} bash scripts/train_lj22khz.sh "$@"
PyTorch/Classification/GPUNet/triton/065ms/runner
runner
config_NVIDIA-DGX-A100-(1x-A100-80GB)
batching: dynamic checkpoints: - name: 0.65ms url: https://api.ngc.nvidia.com/v2/models/nvidia/dle/gpunet_0_pyt_ckpt/versions/21.12.0_amp/zip configurations: - checkpoint: 0.65ms parameters: backend_accelerator: trt checkpoint: 0.65ms device_kind: gpu export_format: onnx export_precision: fp16 ...
TensorFlow/Detection/SSD/models/research/object_detection/core
core
data_decoder
# 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
Tacotron2
test_infer
# ***************************************************************************** # 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/predictors
predictors
rfcn_box_predictor
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
TensorFlow2/Segmentation/MaskRCNN/mrcnn_tf2/object_detection
object_detection
box_coder
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
PyTorch/LanguageModeling/BERT/distillation/BERT_4L_288D
BERT_4L_288D
config
{ "attention_probs_dropout_prob": 0.1, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 288, "initializer_range": 0.02, "intermediate_size": 1152, "max_position_embeddings": 512, "num_attention_heads": 12, "num_hidden_layers": 4, "type_vocab_size": 2, "vocab_size": 30528 }
PyTorch/Segmentation/MaskRCNN/pytorch/maskrcnn_benchmark/modeling
modeling
poolers
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. # Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. import torch import torch.nn.functional as F from torch import nn from maskrcnn_benchmark.layers import ROIAlign from .utils import cat class LevelMapper(object): """Determine w...
TensorFlow/Recommendation/WideAndDeep/preproc
preproc
preproc3
#!/usr/bin/env python # coding: utf-8 # 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/LI...
PyTorch/Segmentation/MaskRCNN/pytorch/configs/caffe2
caffe2
e2e_mask_rcnn_X_101_32x8d_FPN_1x_caffe2
MODEL: META_ARCHITECTURE: "GeneralizedRCNN" WEIGHT: "catalog://Caffe2Detectron/COCO/36761843/e2e_mask_rcnn_X-101-32x8d-FPN_1x" BACKBONE: CONV_BODY: "R-101-FPN" OUT_CHANNELS: 256 RPN: USE_FPN: True ANCHOR_STRIDE: (4, 8, 16, 32, 64) PRE_NMS_TOP_N_TRAIN: 2000 PRE_NMS_TOP_N_TEST: 1000 PO...
PyTorch/LanguageModeling/BERT/triton/deployment_toolkit/model_analyzer
model_analyzer
model_analyzer_config
# 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/modeling/backbone
backbone
__init__
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. from .backbone import build_backbone
MxNet/Classification/RN50v1.5
RN50v1.5
global_metrics
import numpy as np class CompositeMeter: def __init__(self): self.register = {} def register_metric(self, name, metric): self.register[name] = metric def _validate(self, metric_name): if metric_name not in self.register: raise ValueError('{} is not registered metric'....
TensorFlow/Detection/SSD/models/research/object_detection/builders
builders
losses_builder_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/trtis_cpp/src/trt/util
util
engineDriver
/* * 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/Detection/Efficientdet/effdet/layers
layers
conv2d_same
""" Conv2d w/ Same Padding Hacked together by / Copyright 2020 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...
Tools/PyTorch/TimeSeriesPredictionPlatform/models/tft_pyt/triton/deployment_toolkit/model_analyzer
model_analyzer
__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/BART/utils
utils
generation_logits_process
# coding=utf-8 # Copyright (c) 2022 NVIDIA CORPORATION. All rights reserved. # Copyright 2020 The HuggingFace 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 the License at # # http://www.apac...
PyTorch/SpeechSynthesis/FastPitch/notebooks
notebooks
README
# FastPitch: Voice Modification with Transformations of Pitch This readme details how to run the Jupyter notebook for FastPitch inference using different pitch transformations. ## Build and run the FastPitch Docker container 1. Clone the repository: ``` git clone https://github.com/NVIDIA/DeepLearningExamples....
TensorFlow2/LanguageModeling/BERT/official/nlp/modeling/layers
layers
transformer_scaffold
# 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...
Tools/DGLPyTorch/SyntheticGraphGeneration/syngen/utils/types
types
str_enum
# 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/BERT/scripts/docker
docker
launch
#!/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 requir...
PaddlePaddle/LanguageModeling/BERT
BERT
lr_scheduler
# 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/syngen/generator/tabular
tabular
chunked_tabular_generator
# 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...
PyTorch/Segmentation/MaskRCNN/pytorch/maskrcnn_benchmark/modeling/detector
detector
__init__
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. from .detectors import build_detection_model
TensorFlow/Detection/SSD/models/research/object_detection/samples/configs
configs
faster_rcnn_resnet50_pets
# Faster R-CNN with Resnet-50 (v1), configured for Oxford-IIIT Pets Dataset. # 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 # s...
PyTorch/SpeechRecognition/QuartzNet/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...
PyTorch/SpeechRecognition/wav2vec2/common/fairseq/modules
modules
fp32_group_norm
# 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...
DGLPyTorch/DrugDiscovery/SE3Transformer/se3_transformer/model/layers
layers
convolution
# 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/LanguageModeling/BERT/biobert/scripts
scripts
biobert_finetune_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 required...
PyTorch/Recommendation/DLRM/dlrm/cuda_src/dot_based_interact_ampere
dot_based_interact_ampere
dot_based_interact_pytorch_types
#include <torch/extension.h> #include <torch/types.h> #include <stdexcept> #include "../dot_based_interact/dot_based_interact_fp16_fwd.cu" #include "../dot_based_interact/dot_based_interact_fp16_bwd.cu" #include "../dot_based_interact/dot_based_interact_tf32_fwd.cu" #include "../dot_based_interact/dot_based_interact_t...
PyTorch/Segmentation/MaskRCNN/pytorch/configs/cityscapes
cityscapes
e2e_mask_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/SpeechSynthesis/Tacotron2/trtis_cpp/src/trt/util
util
binding
/* * 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...
CUDA-Optimized/FastSpeech/fastspeech/inferencer
inferencer
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...
PyTorch/SpeechSynthesis/Tacotron2/filelists
filelists
ljs_audio_text_test_filelist
LJSpeech-1.1/wavs/LJ045-0096.wav|Mrs. De Mohrenschildt thought that Oswald, LJSpeech-1.1/wavs/LJ049-0022.wav|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/wavs/LJ033-0042.wav|Between the hours of eight a...
PyTorch/LanguageModeling/BART/bart/modeling
modeling
modeling_outputs
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
TensorFlow2/Classification/ConvNets/model
model
efficientnet_model_v2
# Lint as: 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 # # Unless...
TensorFlow/Detection/SSD/models/research/object_detection/models
models
ssd_pnasnet_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/Segmentation/MaskRCNN/pytorch/demo
demo
predictor
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. import cv2 import torch from torchvision import transforms as T from maskrcnn_benchmark.modeling.detector import build_detection_model from maskrcnn_benchmark.utils.checkpoint import DetectronCheckpointer from maskrcnn_benchmark.structures.image_l...
Tools/PyTorch/TimeSeriesPredictionPlatform/triton/deployment_toolkit
deployment_toolkit
dump
# 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...
Tools/PyTorch/TimeSeriesPredictionPlatform/models/tft_pyt/triton/runner
runner
executor
# 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/core
core
keypoint_ops
# 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/trtis_cpp/src/trt/tacotron2
tacotron2
postNetBuilder
/* * 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/Segmentation/nnUNet/scripts
scripts
inference
# 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/Recommendation/VAE-CF
VAE-CF
requirements
git+https://github.com/NVIDIA/dllogger#egg=dllogger mpi4py sklearn pandas
PyTorch/SpeechSynthesis/Tacotron2/tacotron2
tacotron2
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/SpeechSynthesis/Tacotron2
Tacotron2
.gitignore
__pycache__/ /checkpoints/ /output/ nvlog.json
TensorFlow/Classification/ConvNets/utils/hooks
hooks
benchmark_hooks
#! /usr/bin/python # -*- coding: utf-8 -*- # 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/licens...
TensorFlow/Classification/ConvNets/resnet50v1.5/training
training
DGX1_RN50_FP32_250E
#!/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...
TensorFlow/Detection/SSD/models/research/object_detection/core
core
anchor_generator
# 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/SpeechRecognition/wav2vec2/common/fairseq/data/audio
audio
raw_audio_dataset
# 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...
TensorFlow2/Recommendation/WideAndDeep/triton/runner
runner
config_NVIDIA-T4
batching: dynamic checkpoints: - name: widedeep_tf2_amp_base_128k_nvtabular url: '' configurations: - checkpoint: widedeep_tf2_amp_base_128k_nvtabular parameters: backend_accelerator: amp checkpoint: widedeep_tf2_amp_base_128k_nvtabular device_kind: gpu export_format: tf-savedmodel export_precis...
PyTorch/SpeechSynthesis/Tacotron2/trtis_cpp/src/trt/util
util
pluginBuilder
/* * 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/Recommendation/DLRM_and_DCNv2/deployment/deployment_toolkit/triton_performance_runner/perf_analyzer
perf_analyzer
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/SpeechSynthesis/Tacotron2/platform
platform
DGXA100_waveglow_TF32_4NGPU_train
mkdir -p output python -m multiproc train.py -m WaveGlow -o output/ -lr 1e-4 --epochs 1001 -bs 4 --segment-length 8000 --weight-decay 0 --grad-clip-thresh 3.4028234663852886e+38 --cudnn-benchmark --cudnn-enabled --log-file nvlog.json
TensorFlow2/LanguageModeling/BERT/official/nlp/modeling/layers
layers
on_device_embedding
# 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/Detection/SSD/models/research/object_detection/samples/configs
configs
faster_rcnn_inception_resnet_v2_atrous_oid
# Faster R-CNN with Inception Resnet v2, Atrous version; # Configured for Open Images Dataset. # 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 t...
TensorFlow/LanguageModeling/Transformer-XL/tf
tf
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...
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...
Tools/PyTorch/TimeSeriesPredictionPlatform/triton
triton
model
# 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/object_detection/utils
utils
np_mask_ops
# 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/utils
utils
losses
# !/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 ...
TensorFlow2/Segmentation/MaskRCNN/mrcnn_tf2/model/models/resnet50
resnet50
bottleneck_group
import tensorflow as tf from mrcnn_tf2.model.models.resnet50 import BottleneckBlock class BottleneckGroup(tf.keras.layers.Layer): def __init__(self, blocks, filters, strides, trainable=True): super().__init__(trainable=trainable) self.blocks = [] for block_id in range(blocks): ...
PyTorch/Classification/GPUNet/triton/deployment_toolkit
deployment_toolkit
args
# 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/Classification/ConvNets/se-resnext101-32x4d/training
training
DGX2_SE-RNxt101-32x4d_FP32_250E
#!/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/Segmentation/Contrib/UNet3P
UNet3P
.gitignore
.idea __pycache__ checkpoint/tb_logs/* checkpoint/*.hdf5 checkpoint/*.csv !checkpoint/tb_logs/.gitkeep #data/* /data/**/*.png /data/**/*.jpg /data/**/*.nii !data/**/.gitkeep data_preparation/verify_preprocess_data.ipynb old_data_preperation/ others/ **/outputs
PyTorch/Translation/GNMT
GNMT
requirements
pytablewriter==0.64.0 sacrebleu==1.2.10 sacremoses==0.0.19 pynvml==8.0.4 git+https://github.com/rsennrich/subword-nmt.git@48ba99e657591c329e0003f0c6e32e493fa959ef
TensorFlow2/Detection/Efficientdet/model
model
efficientdet_keras
# 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...
CUDA-Optimized/FastSpeech/fastspeech/dataset
dataset
__init__
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice, this list of conditio...
PyTorch/Forecasting/TFT/triton/deployment_toolkit/perf_analyzer
perf_analyzer
__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...
TensorFlow/Detection/SSD/models/research/object_detection/builders
builders
dataset_builder
# 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/triton/runner/maintainer
maintainer
__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/DrugDiscovery/MoFlow/moflow/runtime
runtime
logger
# 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/examples
examples
SSD320_FP16_8GPU_BENCHMARK
# 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/trtis_cpp/src/trt/util
util
dropoutGenerator
/* * 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/Classification/GPUNet/triton/runner/maintainer/docker
docker
container
# 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/HiFiGAN/hifigan
hifigan
models
# 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/Translation/Transformer/fairseq
fairseq
criterions
import torch.nn.functional as F from torch.nn.modules.loss import _Loss class CrossEntropyCriterion(_Loss): def __init__(self, args): super().__init__() self.padding_idx = args.padding_idx def forward(self, norm_probs, target, reduce=True): """Compute the loss for the given sample. ...
PyTorch/LanguageModeling/BERT/triton/dist6l
dist6l
README
# Deploying the BERT 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 o...
DGLPyTorch/DrugDiscovery/SE3Transformer/se3_transformer/runtime
runtime
metrics
# 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...
PyTorch/Segmentation/MaskRCNN/pytorch/maskrcnn_benchmark/layers
layers
roi_pool
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. import torch from torch import nn from torch.autograd import Function from torch.autograd.function import once_differentiable from torch.nn.modules.utils import _pair from maskrcnn_benchmark import _C class _ROIPool(Function): @staticmethod ...
TensorFlow/Detection/SSD/models/research/object_detection/core
core
freezable_batch_norm
# 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/Classification/ConvNets/efficientnet_v1/B0/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...
TensorFlow/Detection/SSD/examples
examples
SSD320_FP16_4GPU_BENCHMARK
# 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/conversationalai/model_repo/jasper-trt-ensemble
jasper-trt-ensemble
config
name: "jasper-trt-ensemble" platform: "ensemble" max_batch_size: 1#MAX_BATCH input { name: "AUDIO_SIGNAL" data_type: TYPE_FP32 dims: -1#AUDIO_LENGTH } input { name: "NUM_SAMPLES" data_type: TYPE_INT32 dims: [ 1 ] } output { name: "TRANSCRIPT" data_type: TYPE_INT32 dims: [-1] } ensemble_schedulin...
TensorFlow2/Segmentation/nnUNet
nnUNet
main
# 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/runner
runner
preparer
# 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...
Tools/PyTorch/TimeSeriesPredictionPlatform/models/tft_pyt/triton/deployment_toolkit/perf_analyzer
perf_analyzer
perf_analyzer
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
TensorFlow/Classification/ConvNets/resnet50v1.5/training
training
DGXA100_RN50_TF32_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...
TensorFlow/Detection/SSD/models/research/object_detection/utils
utils
object_detection_evaluation
# 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/conf/model_dataset
model_dataset
auto_arima_electricity
# 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/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...
PyTorch/LanguageModeling/BART/bart/tokenization
tokenization
tokenization_roberta
# coding=utf-8 # Copyright (c) 2022 NVIDIA CORPORATION. All rights reserved. # Copyright 2018 The Open AI Team Authors and The HuggingFace 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 the Lice...