pytorch/test/cpp
Sahdev Zala 110919c984 Check QNNPACK support for the platform before running test (#119139)
Do not run test ConstantPropagation.CustomClassesCanBePropagated on a platform where QNNPACK is not supported.

For example, this test fails on M1 Mac because QNNPACK is not supported on M1 Mac:
[----------] 1 test from ConstantPropagation
[ RUN      ] ConstantPropagation.CustomClassesCanBePropagated
unknown file: Failure
as described in more details in the issue #88613.

After the PR, test passes successfully as below:
[----------] 1 test from ConstantPropagation
[ RUN      ] ConstantPropagation.CustomClassesCanBePropagated
[       OK ] ConstantPropagation.CustomClassesCanBePropagated (0 ms)
[----------] 1 test from ConstantPropagation (0 ms total)

Fixes #88613

Pull Request resolved: https://github.com/pytorch/pytorch/pull/119139
Approved by: https://github.com/jcaip
2024-02-12 20:21:07 +00:00
..
aot_inductor [AOTInductor] Add Runtime Constant-folding for AOTInductor (#118765) 2024-02-01 04:54:25 +00:00
api Add torch check for dtype within bilinear (#118900) 2024-02-03 00:02:00 +00:00
c10d [c10d] PGNCCL refactor part 2: Simplify ProcessGroupNCCL into single-device style (#119421) 2024-02-12 18:45:49 +00:00
common
dist_autograd Remove unneeded linking in CMake targets (#109192) 2023-09-15 19:43:25 +00:00
jit Check QNNPACK support for the platform before running test (#119139) 2024-02-12 20:21:07 +00:00
lazy test_lazy: skip HashTest.Scalar (#112747) 2023-11-16 01:22:58 +00:00
lite_interpreter_runtime [2/N] Cleanup header inclusions in torch_cpu by iwyu (#109964) 2023-11-19 20:56:32 +00:00
monitor
profiler [c10] Move profiler clock to libc10 for timestamps (#111972) 2023-10-27 16:18:40 +00:00
rpc Fix typo under test directory (#111304) 2023-10-16 23:06:06 +00:00
tensorexpr [ROCm] remove HCC references (#111975) 2023-10-26 02:39:10 +00:00
__init__.py