mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[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:
@ -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(
|
||||
|
Reference in New Issue
Block a user