[Submodule] Remove deprecated USE_TBB option and TBB submodule (#127051)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/127051
Approved by: https://github.com/cpuhrsch, https://github.com/malfet
This commit is contained in:
cyy
2024-05-29 11:58:03 +00:00
committed by PyTorch MergeBot
parent 02b1cdab23
commit 699db7988d
34 changed files with 19 additions and 863 deletions

View File

@ -39,7 +39,6 @@ from torch.testing._internal.common_device_type import tol, toleranceOverride
from torch.testing._internal.common_methods_invocations import DecorateInfo
from torch.testing._internal.common_utils import (
_TestParametrizer,
set_single_threaded_if_parallel_tbb,
skipIfMps,
skipIfTorchDynamo,
TEST_WITH_TORCHDYNAMO,
@ -161,7 +160,7 @@ class OptimizerInfo:
self.supports_fused_on = supports_fused_on
def get_decorators(self, test_class, test_name, device, dtype, param_kwargs):
result = [set_single_threaded_if_parallel_tbb]
result = []
for decorator in self.decorators:
if isinstance(decorator, DecorateInfo):
if decorator.is_active(