Set test owners for jit tests (#66808)

Summary:
Action following https://github.com/pytorch/pytorch/issues/66232

Pull Request resolved: https://github.com/pytorch/pytorch/pull/66808

Reviewed By: mrshenli

Differential Revision: D31761414

Pulled By: janeyx99

fbshipit-source-id: baf8c49ff9c4bcda7b0ea0f6aafd26380586e72d
This commit is contained in:
Jane Xu 2021-10-25 07:48:17 -07:00 committed by Facebook GitHub Bot
parent 364c4959c3
commit 09c7771e9c
72 changed files with 144 additions and 0 deletions

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import io
import os
import sys

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import torch
from torch.testing._internal.common_utils import TestCase

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
from torch.testing import FileCheck
from torch.testing._internal.jit_utils import JitTestCase
import torch

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys
import unittest

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys
import unittest

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
from torch.testing._internal.jit_utils import JitTestCase
import io
import os

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import torch
from torch.testing import FileCheck
from torch.testing._internal.jit_utils import JitTestCase

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys
import inspect

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import io
import os
import sys

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import torch
import os
import sys

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys
import unittest

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys
import gc

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys
import unittest

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys
import unittest

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import io
import os
import shutil

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import io
import unittest
from itertools import product

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import torch
from torch.testing._internal.jit_utils import JitTestCase

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
from torch.testing._internal.jit_utils import JitTestCase
import torch
import torch._C

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys
import unittest

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import torch
from typing import List, Tuple

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys
import torch

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys
import unittest

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys
from textwrap import dedent

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys
import inspect

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
from typing import Any, Dict, List, Optional, Tuple
from torch.testing._internal.jit_utils import JitTestCase, make_global

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys
import unittest

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import torch
import os
import sys

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
# flake8: noqa
# TODO: enable linting check for this file

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import torch
import os
import sys

View File

@ -1,3 +1,5 @@
# Owner(s): ["module: onnx"]
import io
import os
import sys

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: mobile"]
import torch
import torch._C
import torch.backends.xnnpack

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import torch
from torch import nn

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys
import torch

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import torch
from torch.testing._internal.jit_utils import JitTestCase, RUN_CUDA, _inline_everything
from torch import nn

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import torch
from torch.testing._internal.jit_utils import JitTestCase

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys
import tempfile

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import torch
from torch.testing._internal.jit_utils import JitTestCase

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys
import types

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
from itertools import product as product
from typing import NamedTuple, Optional
import io

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys
import warnings

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import torch
from torch.testing._internal.jit_utils import JitTestCase, execWrapper
import operator

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import io
import os
import sys

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import unittest
import io
import os

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys
import io

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
from collections import namedtuple
from typing import Dict, List, Optional, Tuple

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import io
import os
import sys

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys
import io

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import os
import sys

View File

@ -1,4 +1,6 @@
# -*- coding: utf-8 -*-
# Owner(s): ["oncall: jit"]
import torch
# This is how we include tests located in test/jit/...

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import unittest
import os
import random

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import sys
import os
import contextlib

View File

@ -1,4 +1,6 @@
# -*- coding: utf-8 -*-
# Owner(s): ["oncall: jit"]
import unittest
import os
import sys

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import sys
sys.argv.append("--jit_executor=legacy")
from test_jit_fuser import * # noqa: F403

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import sys
sys.argv.append("--jit_executor=legacy")
from test_jit import * # noqa: F403

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import sys
sys.argv.append("--jit_executor=profiling")
from test_jit import * # noqa: F403

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
import sys
sys.argv.append("--jit_executor=simple")
from test_jit import * # noqa: F403

View File

@ -1,3 +1,5 @@
# Owner(s): ["oncall: jit"]
from test_jit import JitTestCase
from torch.testing._internal.common_utils import run_tests