From 9ce58542badf497617ff5358538733fc3ce2aba0 Mon Sep 17 00:00:00 2001 From: Sergii Dymchenko Date: Sat, 27 Apr 2024 20:14:00 +0000 Subject: [PATCH] Ignore torch/distributed/_tensor/_collective_utils.py for TOR901 (#125082) Fixes https://github.com/pytorch/pytorch/issues/125050 Pull Request resolved: https://github.com/pytorch/pytorch/pull/125082 Approved by: https://github.com/malfet, https://github.com/Skylion007 --- .flake8 | 1 + 1 file changed, 1 insertion(+) diff --git a/.flake8 b/.flake8 index be0e741a51f..e3a90f36aaf 100644 --- a/.flake8 +++ b/.flake8 @@ -54,6 +54,7 @@ per-file-ignores = torch/ao/quantization/fx/_decomposed.py: TOR901 torch/distributed/_functional_collectives.py: TOR901 torch/distributed/_spmd/data_parallel.py: TOR901 + torch/distributed/_tensor/_collective_utils.py: TOR901 optional-ascii-coding = True exclude = ./.git,