mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-26 22:35:43 +00:00
Skip python arena shrinkage test on ppc (#10901)
This commit is contained in:
parent
de06d95096
commit
2dea7dc27f
1 changed files with 3 additions and 3 deletions
|
|
@ -1069,9 +1069,9 @@ class TestInferenceSession(unittest.TestCase):
|
|||
onnxrt.InferenceSession(get_name("mul_1.onnx"), sess_options=so2, providers=onnxrt.get_available_providers())
|
||||
|
||||
def testMemoryArenaShrinkage(self):
|
||||
if platform.architecture()[0] == '32bit':
|
||||
# on x86 builds, the CPU allocator does not use an arena
|
||||
print("Skipping testMemoryArenaShrinkage in 32bit platform.")
|
||||
if platform.architecture()[0] == '32bit' or 'ppc' in platform.machine() or 'powerpc' in platform.machine():
|
||||
# on x86 or ppc builds, the CPU allocator does not use an arena
|
||||
print("Skipping testMemoryArenaShrinkage in 32bit or powerpc platform.")
|
||||
else:
|
||||
x = np.array([[1.0, 2.0], [3.0, 4.0], [5.0, 6.0]], dtype=np.float32)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue