mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Add test owner to distributed files starting with test_ (#66797)
Summary: Action based on https://github.com/pytorch/pytorch/issues/66232 cc pietern mrshenli pritamdamania87 zhaojuanmao satgera rohan-varma gqchen aazzolini osalpekar jiayisuse SciPioneer H-Huang Pull Request resolved: https://github.com/pytorch/pytorch/pull/66797 Reviewed By: gchanan Differential Revision: D31761389 Pulled By: janeyx99 fbshipit-source-id: c27c9ab4acec1eb71d5edd4538cd113b770dfc6c
This commit is contained in:
committed by
Facebook GitHub Bot
parent
94afbd158c
commit
34051d74da
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
@ -102,6 +102,10 @@ jobs:
|
||||
if: always()
|
||||
run: |
|
||||
(! git --no-pager grep -I -no $'cudaStreamSynchronize' -- ./aten ./c10 ':(exclude)aten/src/ATen/test' ':(exclude)c10/cuda/CUDAFunctions.h' || (echo "The above files call raw cuda APIs directly; please use at::cuda wrappers instead"; false))
|
||||
- name: Ensure all test files have header containing ownership information
|
||||
if: always()
|
||||
run: |
|
||||
(! git grep -L "# Owner(s): \[" test/distributed/**/test_*.py) || (printf "The above test files are missing a comment header with ownership information; please add the following line\n\n# Owner(s): [\"<owner: label>\"]\n\nto the top of each test file. The owner should be an existing pytorch/pytorch label."; false)
|
||||
|
||||
clang-format:
|
||||
runs-on: ubuntu-18.04
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
import sys
|
||||
import torch
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
import math
|
||||
import io
|
||||
import itertools
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
import torch
|
||||
from torch.testing._internal.common_utils import TestCase
|
||||
from torch.distributed._sharding_spec import (
|
||||
|
@ -1,3 +1,4 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
import torch
|
||||
import os
|
||||
import torch.cuda
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
import contextlib
|
||||
import os
|
||||
import sys
|
||||
|
@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
# Copyright (c) Facebook, Inc. and its affiliates.
|
||||
# All rights reserved.
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
import functools
|
||||
import sys
|
||||
|
||||
|
@ -1,4 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
import pathlib
|
||||
import sys
|
||||
import unittest
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
#
|
||||
# This source code is licensed under the BSD license found in the
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
# Copyright 2019 Kakao Brain
|
||||
#
|
||||
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
# Copyright 2019 Kakao Brain
|
||||
#
|
||||
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
# Copyright 2019 Kakao Brain
|
||||
#
|
||||
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
# Copyright 2019 Kakao Brain
|
||||
#
|
||||
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
# Copyright 2019 Kakao Brain
|
||||
#
|
||||
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
# Copyright 2019 Kakao Brain
|
||||
#
|
||||
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
# Copyright 2019 Kakao Brain
|
||||
#
|
||||
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
# Copyright 2019 Kakao Brain
|
||||
#
|
||||
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
# Copyright 2019 Kakao Brain
|
||||
#
|
||||
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
# Copyright 2019 Kakao Brain
|
||||
#
|
||||
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
# Copyright 2019 Kakao Brain
|
||||
#
|
||||
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
# Copyright 2019 Kakao Brain
|
||||
#
|
||||
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
# Copyright 2019 Kakao Brain
|
||||
#
|
||||
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
# Copyright 2019 Kakao Brain
|
||||
#
|
||||
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
||||
|
@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
import sys
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
import sys
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
import sys
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
import copy
|
||||
import os
|
||||
import sys
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
import copy
|
||||
import logging
|
||||
import math
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
import copy
|
||||
import math
|
||||
import os
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
import copy
|
||||
import os
|
||||
import sys
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
import sys
|
||||
import test_c10d_spawn
|
||||
import torch
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
import contextlib
|
||||
import io
|
||||
from copy import deepcopy
|
||||
|
@ -1,3 +1,4 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
import tempfile
|
||||
import sys
|
||||
import torch
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
import os
|
||||
import sys
|
||||
from contextlib import closing
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
import sys
|
||||
import torch
|
||||
import torch.cuda.nccl as nccl
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
import os
|
||||
import sys
|
||||
from datetime import timedelta
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
import os
|
||||
import random
|
||||
import sys
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Owner(s): ["oncall: distributed"]
|
||||
|
||||
import torch
|
||||
import torch.nn as nn
|
||||
import torch.nn.functional as F
|
||||
|
Reference in New Issue
Block a user