mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 13:44:15 +08:00
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:
committed by
PyTorch MergeBot
parent
12d6446507
commit
f9937afd4f
@ -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 (
|
||||
|
Reference in New Issue
Block a user