python_code stringlengths 0 679k | repo_name stringlengths 9 41 | file_path stringlengths 6 149 |
|---|---|---|
# 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... | NeMo-text-processing-main | tests/nemo_text_processing/en/test_electronic.py |
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file 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... | NeMo-text-processing-main | tests/nemo_text_processing/en/test_roman.py |
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file 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... | NeMo-text-processing-main | tests/nemo_text_processing/en/test_telephone.py |
# 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... | NeMo-text-processing-main | tests/nemo_text_processing/en/test_cardinal.py |
# 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... | NeMo-text-processing-main | tests/nemo_text_processing/en/test_date.py |
# Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file 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... | NeMo-text-processing-main | tests/nemo_text_processing/en/test_range.py |
# 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... | NeMo-text-processing-main | tests/nemo_text_processing/en/test_word.py |
# 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... | NeMo-text-processing-main | tests/nemo_text_processing/en/test_special_text.py |
# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file 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... | NeMo-text-processing-main | tests/nemo_text_processing/en/test_math.py |
# 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... | NeMo-text-processing-main | tests/nemo_text_processing/en/test_money.py |
# Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file 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... | NeMo-text-processing-main | tests/nemo_text_processing/en/test_text_split.py |
# 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... | NeMo-text-processing-main | tests/nemo_text_processing/en/test_whitelist.py |
"""
"""
import sys
import os
from pkg_resources import VersionConflict, require
try:
require("setuptools>=42")
except VersionConflict:
print("Error: version of setuptools is too old (<42)!")
sys.exit(1)
if __name__ == "__main__":
import skbuild
PytorchNvCodec = "PytorchNvCodec @ git+https://g... | VideoProcessingFramework-master | setup.py |
#
# Copyright 2021 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 w... | VideoProcessingFramework-master | tests/test_PyFfmpegDemuxer.py |
#
# Copyright 2021 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 w... | VideoProcessingFramework-master | tests/test_PySurface.py |
#
# Copyright 2021 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 w... | VideoProcessingFramework-master | tests/test_PyNvEncoder.py |
import PyNvCodec as nvc
import numpy as np
import unittest
from os.path import join, dirname
def test_issue_455():
gpuID = 0
nvEnc = nvc.PyNvEncoder({'bitrate': '30K', 'fps': '10', 'codec': 'hevc', 's': '256x256'}, gpuID)
nvDec = nvc.PyNvDecoder(256, 256, nvc.PixelFormat.NV12, nvc.CudaVideoCodec.HEVC, gp... | VideoProcessingFramework-master | tests/test_reported_bugs.py |
#
# Copyright 2021 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 w... | VideoProcessingFramework-master | tests/test_PyNvDecoder.py |
import os
import sys
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.intersphinx",
"sphinx.ext.autosummary",
"sphinx.ext.napoleon",
]
autosummary_generate = True
autosummary_imported_members = True
autodoc_default_options = {"members": True, "memer-order": "bysource"}
source_suffix = ".rst"
master_... | VideoProcessingFramework-master | docs/conf.py |
#
# Copyright 2021 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 w... | VideoProcessingFramework-master | samples/SampleTensorRTResnet.py |
#
# Copyright 2020 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 w... | VideoProcessingFramework-master | samples/SampleEncodeMultiThread.py |
#
# Copyright 2019 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 w... | VideoProcessingFramework-master | samples/SampleDecodeRTSP.py |
#
# Copyright 2021 Kognia Sports Intelligence
# Copyright 2021 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 ... | VideoProcessingFramework-master | samples/SamplePyTorch.py |
#
# Copyright 2020 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 w... | VideoProcessingFramework-master | samples/SampleDecodeMultiThread.py |
#
# Copyright 2019 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 w... | VideoProcessingFramework-master | samples/SampleEncode.py |
#
# Copyright 2023 @royinx
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, so... | VideoProcessingFramework-master | samples/SampleCupy.py |
#
# Copyright 2020 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 w... | VideoProcessingFramework-master | samples/SampleRemap.py |
#
# Copyright 2019 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 w... | VideoProcessingFramework-master | samples/SampleDecode.py |
import sys
import logging
SERVICE_LOGGING_FORMAT = (
"[{filename:s}][{funcName:s}:{lineno:d}]" + "[{levelname:s}] {message:s}"
)
SERVICE_LOGGING_STREAM = sys.stdout
def get_logger(logger_name, log_level="info"):
SERVICE_LOGGING_LEVEL = getattr(logging, log_level.upper(), None)
logger = logging.getLogge... | VideoProcessingFramework-master | samples/utils.py |
#
# Copyright 2022 @Yves33, @sandhawalia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file 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 i... | VideoProcessingFramework-master | samples/SampleOpenGL.py |
#
# Copyright 2019 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 w... | VideoProcessingFramework-master | samples/SampleTypeConversionTest.py |
#
# Copyright 2020 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 w... | VideoProcessingFramework-master | samples/SampleDecodeSw.py |
#
# Copyright 2019 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 w... | VideoProcessingFramework-master | samples/SampleMeasureVideoQuality.py |
#
# 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 w... | VideoProcessingFramework-master | samples/SampleTorchSegmentation.py |
#
# Copyright 2019 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 w... | VideoProcessingFramework-master | samples/SampleDemuxDecode.py |
#
# Copyright 2021 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 w... | VideoProcessingFramework-master | samples/SampleTorchResnet.py |
"""
"""
__author__ = "NVIDIA"
__copyright__ = "Copyright 2022, NVIDIA"
__credits__ = []
__license__ = "Apache 2.0"
__version__ = "0.1.0"
__maintainer__ = "NVIDIA"
__email__ = "TODO"
__status__ = "Production"
try:
import torch # has to be imported to have libc10 available
# Import native module
from _Pyt... | VideoProcessingFramework-master | src/PytorchNvCodec/__init__.py |
from setuptools import setup
from torch.utils.cpp_extension import BuildExtension, CUDAExtension
if __name__ == "__main__":
setup(
name="PytorchNvCodec",
install_requires=["torch"],
ext_modules=[CUDAExtension("_PytorchNvCodec", ["src/PytorchNvCodec.cpp"])],
packages=["PytorchNvCod... | VideoProcessingFramework-master | src/PytorchNvCodec/setup.py |
"""
"""
__author__ = "NVIDIA"
__copyright__ = "Copyright 2022, NVIDIA"
__credits__ = []
__license__ = "Apache 2.0"
__version__ = "0.1.0"
__maintainer__ = "NVIDIA"
__email__ = "TODO"
__status__ = "Production"
try:
# Import native module
from ._PyNvCodec import * # noqa
except ImportError:
import distuti... | VideoProcessingFramework-master | src/PyNvCodec/__init__.py |
# 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 appli... | NeMo-Megatron-Launcher-master | auto_configurator/main.py |
NeMo-Megatron-Launcher-master | auto_configurator/tests/__init__.py | |
NeMo-Megatron-Launcher-master | auto_configurator/tests/base_configs_tests/__init__.py | |
from omegaconf import OmegaConf
class TestBaseConfigs:
def test_gpt3_base_config(self):
conf = OmegaConf.load("base_configs/gpt3.yaml")
s = """
run:
name: gpt3_126m
results_dir: ${base_results_dir}/${.name}
time_limit: "1-00:00:00"
dependency: "singl... | NeMo-Megatron-Launcher-master | auto_configurator/tests/base_configs_tests/test_base_configs.py |
from omegaconf import OmegaConf
class TestConfig:
def test_config(self):
conf = OmegaConf.load("conf/config.yaml")
s = """
defaults:
- _self_
- cluster: bcm
- search_config: gpt3/5b
- override hydra/job_logging: stdout
hydra:
run:
... | NeMo-Megatron-Launcher-master | auto_configurator/tests/config_tests/test_main_config.py |
NeMo-Megatron-Launcher-master | auto_configurator/tests/config_tests/__init__.py | |
from omegaconf import OmegaConf
class TestGPT3Config:
def test_gpt3_config_0_126b(self):
conf = OmegaConf.load("conf/search_config/gpt3/0.126b.yaml")
s = """
train_settings:
model_size_in_b: 0.126 # unit in billion parameters
num_nodes: 8
gpus_per_node: 8
... | NeMo-Megatron-Launcher-master | auto_configurator/tests/config_tests/test_gpt3_config.py |
from omegaconf import OmegaConf
class TestClusterConfig:
def test_cluster_bcm_config(self):
conf = OmegaConf.load("conf/cluster/bcm.yaml")
s = """
partition: null
account: null
exclusive: True
gpus_per_task: null
gpus_per_node: 8
mem: 0
job_n... | NeMo-Megatron-Launcher-master | auto_configurator/tests/config_tests/test_cluster_config.py |
from omegaconf import OmegaConf
class TestmT5Config:
def test_mt5_config_0_17b(self):
conf = OmegaConf.load("conf/search_config/mt5/0.17b.yaml")
s = """
train_settings:
model_size_in_b: 0.17
num_nodes: 4
gpus_per_node: 8
gpu_memory_gb: 80
m... | NeMo-Megatron-Launcher-master | auto_configurator/tests/config_tests/test_mt5_config.py |
from omegaconf import OmegaConf
class TestT5Config:
def test_t5_config_0_22b(self):
conf = OmegaConf.load("conf/search_config/t5/0.22b.yaml")
s = """
train_settings:
model_size_in_b: 0.22
num_nodes: 4
gpus_per_node: 8
gpu_memory_gb: 80
max_... | NeMo-Megatron-Launcher-master | auto_configurator/tests/config_tests/test_t5_config.py |
from omegaconf import OmegaConf
class TestBERTConfig:
def test_bert_config_0_11b(self):
conf = OmegaConf.load("conf/search_config/bert/0.11b.yaml")
s = """
train_settings:
model_size_in_b: 0.11 # unit in billion parameters
num_nodes: 8
gpus_per_node: 8
... | NeMo-Megatron-Launcher-master | auto_configurator/tests/config_tests/test_bert_config.py |
import os
import pytest
from omegaconf import OmegaConf
import autoconfig.training_config as tc
class TestCalculateTpPpMbsGrid:
margin = 0.05
@pytest.mark.parametrize(
"model_size,layers,seq_length,model_name,train_cfg,expected",
[
# GPT-3 tests
(0.126, 12, 2048, "g... | NeMo-Megatron-Launcher-master | auto_configurator/tests/code_tests/test_training_config.py |
import os
import pytest
from omegaconf import OmegaConf
import autoconfig.utils as ut
class TestCalculateModelSize:
margin = 0.05
@pytest.mark.parametrize(
"vocab,seq_len,hs,layers,ffn,kv,att,model_name,expected",
[
# GPT-3 tests
(51200, 2048, 768, 12, 768*4, None, ... | NeMo-Megatron-Launcher-master | auto_configurator/tests/code_tests/test_utils.py |
NeMo-Megatron-Launcher-master | auto_configurator/tests/code_tests/__init__.py | |
import os
import pytest
from omegaconf import OmegaConf
import autoconfig.base_config as bc
class TestEstimateModelSize:
margin = 0.05
@pytest.mark.parametrize(
"training_days,gpus,tflops,tokens,model_name,expected",
[
# GPT-3 tests
# T5 tests
(10, 4 * 8... | NeMo-Megatron-Launcher-master | auto_configurator/tests/code_tests/test_base_config.py |
# 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 appli... | NeMo-Megatron-Launcher-master | auto_configurator/autoconfig/base_config.py |
# 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 appli... | NeMo-Megatron-Launcher-master | auto_configurator/autoconfig/__init__.py |
# 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 appli... | NeMo-Megatron-Launcher-master | auto_configurator/autoconfig/utils.py |
# 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 appli... | NeMo-Megatron-Launcher-master | auto_configurator/autoconfig/training_config.py |
# 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 appli... | NeMo-Megatron-Launcher-master | auto_configurator/autoconfig/train.py |
# 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 appli... | NeMo-Megatron-Launcher-master | auto_configurator/autoconfig/inference_sweep.py |
# 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 appli... | NeMo-Megatron-Launcher-master | auto_configurator/autoconfig/inference_summary.py |
# 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 appli... | NeMo-Megatron-Launcher-master | auto_configurator/autoconfig/search_config.py |
import csv
import os
import re
import sys
from shutil import copyfile
import hydra
import pandas as pd
from omegaconf import OmegaConf
from tensorboard.backend.event_processing import event_accumulator
@hydra.main(config_path="../../conf", config_name="config")
def main(cfg):
auto_configurator_path = cfg.auto_co... | NeMo-Megatron-Launcher-master | auto_configurator/autoconfig/scripts/compare_throughput.py |
NeMo-Megatron-Launcher-master | launcher_scripts/__init__.py | |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/main.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/__init__.py |
# 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 appli... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/core/rlhf_stages.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/core/__init__.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/core/data_stages.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/core/logger.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/core/launchers.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/core/stages.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/core/export_stages.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/utils/job_utils.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/utils/__init__.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/utils/file_utils.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/utils/data_utils/__init__.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/utils/data_utils/download_squad.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/utils/data_utils/prepare_squad.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/utils/data_utils/prompt_learning_squad_preprocessing.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/collections/gpu_affinity.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/collections/__init__.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/collections/numa_mapping.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/collections/auto_blend.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/collections/hparams_override.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/collections/checkpoint_search.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/collections/pause_and_prime_dns_connections.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/collections/conditional_cfgs.py |
NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/collections/export_scripts/__init__.py | |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/collections/export_scripts/prepare_triton_model_config.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/collections/eval_harness/download.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/collections/eval_harness/__init__.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/collections/eval_harness/evaluate.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/collections/eval_harness/lm_eval/metrics.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/collections/eval_harness/lm_eval/__init__.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/collections/eval_harness/lm_eval/utils.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/collections/eval_harness/lm_eval/evaluator.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/collections/eval_harness/lm_eval/base.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/collections/eval_harness/lm_eval/tasks/lambada.py |
# 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... | NeMo-Megatron-Launcher-master | launcher_scripts/nemo_launcher/collections/eval_harness/lm_eval/tasks/winogrande.py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.