Add noqa to prevent lint warnings (#127545)

This is to prevent the import from being removed due to unused import. What's annoying about this is that it's not consistently running: lintrunner doesn't warn me on this PR even without the comment, but it does on other PRs

Pull Request resolved: https://github.com/pytorch/pytorch/pull/127545
Approved by: https://github.com/masnesral
This commit is contained in:
James Wu
2024-05-30 10:33:38 -07:00
committed by PyTorch MergeBot
parent 12d6446507
commit f9937afd4f
9 changed files with 9 additions and 9 deletions

View File

@ -5,7 +5,7 @@ import re
import unittest
import functools
from subprocess import CalledProcessError
import torch._inductor.async_compile
import torch._inductor.async_compile # noqa: F401 required to warm up AsyncCompile pools
from torch._inductor.codecache import CppCodeCache
from torch.utils._triton import has_triton
from torch.testing._internal.common_utils import (