mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
enable test_x86inductor_quantizer.py UTs on Windows. (#138937)
This UTs are failed months ago, but due to the main branch move forward, some PRs fixed it. Let's turn on them. Local test passed: <img width="863" alt="image" src="https://github.com/user-attachments/assets/a2ec160c-cdf1-404d-bc24-2f60faa8d791"> Pull Request resolved: https://github.com/pytorch/pytorch/pull/138937 Approved by: https://github.com/jansel
This commit is contained in:
parent
a3aca24ae5
commit
043864afdf
|
|
@ -1,7 +1,6 @@
|
||||||
# Owner(s): ["oncall: quantization"]
|
# Owner(s): ["oncall: quantization"]
|
||||||
import copy
|
import copy
|
||||||
import itertools
|
import itertools
|
||||||
import sys
|
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
|
|
||||||
import torch
|
import torch
|
||||||
|
|
@ -25,12 +24,7 @@ from torch.testing._internal.common_quantization import (
|
||||||
skipIfNoX86,
|
skipIfNoX86,
|
||||||
)
|
)
|
||||||
from torch.testing._internal.common_quantized import override_quantized_engine
|
from torch.testing._internal.common_quantized import override_quantized_engine
|
||||||
from torch.testing._internal.common_utils import IS_CI, IS_WINDOWS, skipIfTorchDynamo
|
from torch.testing._internal.common_utils import skipIfTorchDynamo
|
||||||
|
|
||||||
|
|
||||||
if IS_WINDOWS and IS_CI:
|
|
||||||
sys.stderr.write("Windows CI still has some issue to be fixed.\n")
|
|
||||||
sys.exit(0)
|
|
||||||
|
|
||||||
|
|
||||||
class NodePosType(Enum):
|
class NodePosType(Enum):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user