google / XNNPACK

High-efficiency floating-point neural network inference operators for mobile, server, and Web
Other
1.77k stars 339 forks source link

test/sigmoid_nc_test fails on Hexagon simulator #6305

Open steven-johnson opened 3 months ago

steven-johnson commented 3 months ago

When this test is built for Hexagon and executed on the simulator, a number of the test cases fail with wildly-incorrect output. (Interestingly, this is the only test under the test/ subdir that fails with incorrect results.)

(Haven't tested on hardware yet, will update this bug once I've done so.)

[==========] Running 49 tests from 5 test suites.
[----------] Global test environment set-up.
[----------] 5 tests from F32/SigmoidOperatorTesterF32
[ RUN      ] F32/SigmoidOperatorTesterF32.TestF32/unit_batch
[       OK ] F32/SigmoidOperatorTesterF32.TestF32/unit_batch (0 ms)
[ RUN      ] F32/SigmoidOperatorTesterF32.TestF32/small_batch
[       OK ] F32/SigmoidOperatorTesterF32.TestF32/small_batch (0 ms)
[ RUN      ] F32/SigmoidOperatorTesterF32.TestF32/small_batch_with_input_stride
[       OK ] F32/SigmoidOperatorTesterF32.TestF32/small_batch_with_input_stride (0 ms)
[ RUN      ] F32/SigmoidOperatorTesterF32.TestF32/small_batch_with_output_stride
[       OK ] F32/SigmoidOperatorTesterF32.TestF32/small_batch_with_output_stride (0 ms)
[ RUN      ] F32/SigmoidOperatorTesterF32.TestF32/strided_batch
[       OK ] F32/SigmoidOperatorTesterF32.TestF32/strided_batch (0 ms)
[----------] 5 tests from F32/SigmoidOperatorTesterF32 (0 ms total)

[----------] 5 tests from RunF32/SigmoidOperatorTesterRunF32
[ RUN      ] RunF32/SigmoidOperatorTesterRunF32.TestRunF32/unit_batch
[       OK ] RunF32/SigmoidOperatorTesterRunF32.TestRunF32/unit_batch (0 ms)
[ RUN      ] RunF32/SigmoidOperatorTesterRunF32.TestRunF32/small_batch
[       OK ] RunF32/SigmoidOperatorTesterRunF32.TestRunF32/small_batch (0 ms)
[ RUN      ] RunF32/SigmoidOperatorTesterRunF32.TestRunF32/small_batch_with_input_stride
[       OK ] RunF32/SigmoidOperatorTesterRunF32.TestRunF32/small_batch_with_input_stride (0 ms)
[ RUN      ] RunF32/SigmoidOperatorTesterRunF32.TestRunF32/small_batch_with_output_stride
[       OK ] RunF32/SigmoidOperatorTesterRunF32.TestRunF32/small_batch_with_output_stride (0 ms)
[ RUN      ] RunF32/SigmoidOperatorTesterRunF32.TestRunF32/strided_batch
[       OK ] RunF32/SigmoidOperatorTesterRunF32.TestRunF32/strided_batch (0 ms)
[----------] 5 tests from RunF32/SigmoidOperatorTesterRunF32 (0 ms total)

[----------] 5 tests from F16/SigmoidOperatorTesterF16
[ RUN      ] F16/SigmoidOperatorTesterF16.TestF16/unit_batch
third_party/XNNPACK/test/unary-operator-tester.cc:57: Skipped

Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

third_party/XNNPACK/test/unary-operator-tester.cc:57: Skipped

Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

[  SKIPPED ] F16/SigmoidOperatorTesterF16.TestF16/unit_batch (0 ms)
[ RUN      ] F16/SigmoidOperatorTesterF16.TestF16/small_batch
third_party/XNNPACK/test/unary-operator-tester.cc:57: Skipped

Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

third_party/XNNPACK/test/unary-operator-tester.cc:57: Skipped

Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

[  SKIPPED ] F16/SigmoidOperatorTesterF16.TestF16/small_batch (0 ms)
[ RUN      ] F16/SigmoidOperatorTesterF16.TestF16/small_batch_with_input_stride
third_party/XNNPACK/test/unary-operator-tester.cc:57: Skipped

Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

third_party/XNNPACK/test/unary-operator-tester.cc:57: Skipped

Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

[  SKIPPED ] F16/SigmoidOperatorTesterF16.TestF16/small_batch_with_input_stride (0 ms)
[ RUN      ] F16/SigmoidOperatorTesterF16.TestF16/small_batch_with_output_stride
third_party/XNNPACK/test/unary-operator-tester.cc:57: Skipped

Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

third_party/XNNPACK/test/unary-operator-tester.cc:57: Skipped

Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

[  SKIPPED ] F16/SigmoidOperatorTesterF16.TestF16/small_batch_with_output_stride (0 ms)
[ RUN      ] F16/SigmoidOperatorTesterF16.TestF16/strided_batch
third_party/XNNPACK/test/unary-operator-tester.cc:57: Skipped

Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

third_party/XNNPACK/test/unary-operator-tester.cc:57: Skipped

Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

[  SKIPPED ] F16/SigmoidOperatorTesterF16.TestF16/strided_batch (0 ms)
[----------] 5 tests from F16/SigmoidOperatorTesterF16 (1 ms total)

[----------] 17 tests from QS8/SigmoidOperatorTesterQS8
[ RUN      ] QS8/SigmoidOperatorTesterQS8.TestQS8/unit_batch
[       OK ] QS8/SigmoidOperatorTesterQS8.TestQS8/unit_batch (0 ms)
[ RUN      ] QS8/SigmoidOperatorTesterQS8.TestQS8/unit_batch_with_qmin
[       OK ] QS8/SigmoidOperatorTesterQS8.TestQS8/unit_batch_with_qmin (0 ms)
[ RUN      ] QS8/SigmoidOperatorTesterQS8.TestQS8/unit_batch_with_qmax
[       OK ] QS8/SigmoidOperatorTesterQS8.TestQS8/unit_batch_with_qmax (0 ms)
[ RUN      ] QS8/SigmoidOperatorTesterQS8.TestQS8/unit_batch_with_input_scale
./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 0 / 1, channel 0 / 1, input 108 (115)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 0 / 1, channel 0 / 1, input 108 (115)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

[  FAILED  ] QS8/SigmoidOperatorTesterQS8.TestQS8/unit_batch_with_input_scale, where GetParam() = {test_name: 'unit_batch', batch_size: 1, input_scale: [0.010000:100.000000:10.000000]} (2 ms)
[ RUN      ] QS8/SigmoidOperatorTesterQS8.TestQS8/unit_batch_with_input_zero_point
./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 0 / 1, channel 0 / 1, input 41 (126.75)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 0 / 1, channel 0 / 1, input 18 (109.5)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 0 / 1, channel 0 / 1, input 108 (177)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

[  FAILED  ] QS8/SigmoidOperatorTesterQS8.TestQS8/unit_batch_with_input_zero_point, where GetParam() = {test_name: 'unit_batch', batch_size: 1, input_zero_point: [0:255:51]} (1 ms)
[ RUN      ] QS8/SigmoidOperatorTesterQS8.TestQS8/small_batch
[       OK ] QS8/SigmoidOperatorTesterQS8.TestQS8/small_batch (0 ms)
[ RUN      ] QS8/SigmoidOperatorTesterQS8.TestQS8/small_batch_with_input_stride
[       OK ] QS8/SigmoidOperatorTesterQS8.TestQS8/small_batch_with_input_stride (0 ms)
[ RUN      ] QS8/SigmoidOperatorTesterQS8.TestQS8/small_batch_with_output_stride
[       OK ] QS8/SigmoidOperatorTesterQS8.TestQS8/small_batch_with_output_stride (0 ms)
[ RUN      ] QS8/SigmoidOperatorTesterQS8.TestQS8/small_batch_with_qmin
[       OK ] QS8/SigmoidOperatorTesterQS8.TestQS8/small_batch_with_qmin (0 ms)
[ RUN      ] QS8/SigmoidOperatorTesterQS8.TestQS8/small_batch_with_qmax
[       OK ] QS8/SigmoidOperatorTesterQS8.TestQS8/small_batch_with_qmax (0 ms)
[ RUN      ] QS8/SigmoidOperatorTesterQS8.TestQS8/small_batch_with_input_scale
./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 1 / 3, channel 0 / 1, input 110 (117)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 95, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to -128,
static_cast<float>(y) evaluates to -33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 2 / 3, channel 0 / 1, input -97 (-90)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 1 / 3, channel 0 / 1, input 105 (112)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 2 / 3, channel 0 / 1, input 100 (107)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 1 / 3, channel 0 / 1, input 110 (117)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 95, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to -128,
static_cast<float>(y) evaluates to -33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 2 / 3, channel 0 / 1, input -97 (-90)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 1 / 3, channel 0 / 1, input 105 (112)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 2 / 3, channel 0 / 1, input 100 (107)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

[  FAILED  ] QS8/SigmoidOperatorTesterQS8.TestQS8/small_batch_with_input_scale, where GetParam() = {test_name: 'small_batch', batch_size: 3, input_scale: [0.010000:100.000000:10.000000]} (3 ms)
[ RUN      ] QS8/SigmoidOperatorTesterQS8.TestQS8/small_batch_with_input_zero_point
./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 0 / 3, channel 0 / 1, input 41 (126.75)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 1 / 3, channel 0 / 1, input 110 (178.5)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 2 / 3, channel 0 / 1, input -7 (90.75)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 0 / 3, channel 0 / 1, input 32 (120)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 0 / 3, channel 0 / 1, input 37 (123.75)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 1 / 3, channel 0 / 1, input 105 (174.75)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 2 / 3, channel 0 / 1, input 100 (171)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

[  FAILED  ] QS8/SigmoidOperatorTesterQS8.TestQS8/small_batch_with_input_zero_point, where GetParam() = {test_name: 'small_batch', batch_size: 3, input_zero_point: [0:255:51]} (2 ms)
[ RUN      ] QS8/SigmoidOperatorTesterQS8.TestQS8/strided_batch
[       OK ] QS8/SigmoidOperatorTesterQS8.TestQS8/strided_batch (0 ms)
[ RUN      ] QS8/SigmoidOperatorTesterQS8.TestQS8/strided_batch_with_qmin
[       OK ] QS8/SigmoidOperatorTesterQS8.TestQS8/strided_batch_with_qmin (0 ms)
[ RUN      ] QS8/SigmoidOperatorTesterQS8.TestQS8/strided_batch_with_qmax
[       OK ] QS8/SigmoidOperatorTesterQS8.TestQS8/strided_batch_with_qmax (0 ms)
[ RUN      ] QS8/SigmoidOperatorTesterQS8.TestQS8/strided_batch_with_input_scale
./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 2 / 3, channel 0 / 1, input 83 (90)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 0 / 3, channel 0 / 1, input 92 (99)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 2 / 3, channel 0 / 1, input 101 (108)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 2 / 3, channel 0 / 1, input 90 (97)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 2 / 3, channel 0 / 1, input 83 (90)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 0 / 3, channel 0 / 1, input 92 (99)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 2 / 3, channel 0 / 1, input 101 (108)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 2 / 3, channel 0 / 1, input 90 (97)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

[  FAILED  ] QS8/SigmoidOperatorTesterQS8.TestQS8/strided_batch_with_input_scale, where GetParam() = {test_name: 'strided_batch', batch_size: 3, input_stride: 129, output_stride: 117, input_scale: [0.010000:100.000000:10.000000]} (4 ms)
[ RUN      ] QS8/SigmoidOperatorTesterQS8.TestQS8/strided_batch_with_input_zero_point
./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 0 / 3, channel 0 / 1, input 41 (126.75)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 1 / 3, channel 0 / 1, input 37 (123.75)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 2 / 3, channel 0 / 1, input 83 (158.25)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 0 / 3, channel 0 / 1, input 92 (165)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 1 / 3, channel 0 / 1, input 75 (152.25)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 2 / 3, channel 0 / 1, input 101 (171.75)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 0 / 3, channel 0 / 1, input -10 (88.5)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:199: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQS8(y_ref), where
y_ref evaluates to 127,
static_cast<float>(y) evaluates to 33, and
AbsTolQS8(y_ref) evaluates to 0.60000002384185791.
at batch 2 / 3, channel 0 / 1, input 90 (163.5)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

[  FAILED  ] QS8/SigmoidOperatorTesterQS8.TestQS8/strided_batch_with_input_zero_point, where GetParam() = {test_name: 'strided_batch', batch_size: 3, input_stride: 129, output_stride: 117, input_zero_point: [0:255:51]} (3 ms)
[----------] 17 tests from QS8/SigmoidOperatorTesterQS8 (26 ms total)

[----------] 17 tests from QU8/SigmoidOperatorTesterQU8
[ RUN      ] QU8/SigmoidOperatorTesterQU8.TestQU8/unit_batch
[       OK ] QU8/SigmoidOperatorTesterQU8.TestQU8/unit_batch (0 ms)
[ RUN      ] QU8/SigmoidOperatorTesterQU8.TestQU8/unit_batch_with_qmin
[       OK ] QU8/SigmoidOperatorTesterQU8.TestQU8/unit_batch_with_qmin (0 ms)
[ RUN      ] QU8/SigmoidOperatorTesterQU8.TestQU8/unit_batch_with_qmax
[       OK ] QU8/SigmoidOperatorTesterQU8.TestQU8/unit_batch_with_qmax (0 ms)
[ RUN      ] QU8/SigmoidOperatorTesterQU8.TestQU8/unit_batch_with_input_scale
./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 0 / 1, channel 0 / 1, input 236 (115)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 0 / 1, channel 0 / 1, input 236 (115)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

[  FAILED  ] QU8/SigmoidOperatorTesterQU8.TestQU8/unit_batch_with_input_scale, where GetParam() = {test_name: 'unit_batch', batch_size: 1, input_scale: [0.010000:100.000000:10.000000]} (2 ms)
[ RUN      ] QU8/SigmoidOperatorTesterQU8.TestQU8/unit_batch_with_input_zero_point
./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 0 / 1, channel 0 / 1, input 169 (126.75)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 0 / 1, channel 0 / 1, input 146 (109.5)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 0 / 1, channel 0 / 1, input 236 (177)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

[  FAILED  ] QU8/SigmoidOperatorTesterQU8.TestQU8/unit_batch_with_input_zero_point, where GetParam() = {test_name: 'unit_batch', batch_size: 1, input_zero_point: [0:255:51]} (1 ms)
[ RUN      ] QU8/SigmoidOperatorTesterQU8.TestQU8/small_batch
[       OK ] QU8/SigmoidOperatorTesterQU8.TestQU8/small_batch (0 ms)
[ RUN      ] QU8/SigmoidOperatorTesterQU8.TestQU8/small_batch_with_input_stride
[       OK ] QU8/SigmoidOperatorTesterQU8.TestQU8/small_batch_with_input_stride (0 ms)
[ RUN      ] QU8/SigmoidOperatorTesterQU8.TestQU8/small_batch_with_output_stride
[       OK ] QU8/SigmoidOperatorTesterQU8.TestQU8/small_batch_with_output_stride (0 ms)
[ RUN      ] QU8/SigmoidOperatorTesterQU8.TestQU8/small_batch_with_qmin
[       OK ] QU8/SigmoidOperatorTesterQU8.TestQU8/small_batch_with_qmin (0 ms)
[ RUN      ] QU8/SigmoidOperatorTesterQU8.TestQU8/small_batch_with_qmax
[       OK ] QU8/SigmoidOperatorTesterQU8.TestQU8/small_batch_with_qmax (0 ms)
[ RUN      ] QU8/SigmoidOperatorTesterQU8.TestQU8/small_batch_with_input_scale
./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 1 / 3, channel 0 / 1, input 238 (117)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 95, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 2.0976662252112661e-37,
static_cast<float>(y) evaluates to 95, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 2 / 3, channel 0 / 1, input 31 (-90)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 1 / 3, channel 0 / 1, input 233 (112)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 2 / 3, channel 0 / 1, input 228 (107)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 1 / 3, channel 0 / 1, input 238 (117)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 95, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 2.0976662252112661e-37,
static_cast<float>(y) evaluates to 95, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 2 / 3, channel 0 / 1, input 31 (-90)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 1 / 3, channel 0 / 1, input 233 (112)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 2 / 3, channel 0 / 1, input 228 (107)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

[  FAILED  ] QU8/SigmoidOperatorTesterQU8.TestQU8/small_batch_with_input_scale, where GetParam() = {test_name: 'small_batch', batch_size: 3, input_scale: [0.010000:100.000000:10.000000]} (3 ms)
[ RUN      ] QU8/SigmoidOperatorTesterQU8.TestQU8/small_batch_with_input_zero_point
./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 0 / 3, channel 0 / 1, input 169 (126.75)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 1 / 3, channel 0 / 1, input 238 (178.5)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 2 / 3, channel 0 / 1, input 121 (90.75)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 0 / 3, channel 0 / 1, input 160 (120)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 0 / 3, channel 0 / 1, input 165 (123.75)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 1 / 3, channel 0 / 1, input 233 (174.75)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 2 / 3, channel 0 / 1, input 228 (171)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

[  FAILED  ] QU8/SigmoidOperatorTesterQU8.TestQU8/small_batch_with_input_zero_point, where GetParam() = {test_name: 'small_batch', batch_size: 3, input_zero_point: [0:255:51]} (2 ms)
[ RUN      ] QU8/SigmoidOperatorTesterQU8.TestQU8/strided_batch
[       OK ] QU8/SigmoidOperatorTesterQU8.TestQU8/strided_batch (0 ms)
[ RUN      ] QU8/SigmoidOperatorTesterQU8.TestQU8/strided_batch_with_qmin
[       OK ] QU8/SigmoidOperatorTesterQU8.TestQU8/strided_batch_with_qmin (0 ms)
[ RUN      ] QU8/SigmoidOperatorTesterQU8.TestQU8/strided_batch_with_qmax
[       OK ] QU8/SigmoidOperatorTesterQU8.TestQU8/strided_batch_with_qmax (0 ms)
[ RUN      ] QU8/SigmoidOperatorTesterQU8.TestQU8/strided_batch_with_input_scale
./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 2 / 3, channel 0 / 1, input 211 (90)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 0 / 3, channel 0 / 1, input 220 (99)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 2 / 3, channel 0 / 1, input 229 (108)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 2 / 3, channel 0 / 1, input 218 (97)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 2 / 3, channel 0 / 1, input 211 (90)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 0 / 3, channel 0 / 1, input 220 (99)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 2 / 3, channel 0 / 1, input 229 (108)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 2 / 3, channel 0 / 1, input 218 (97)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

[  FAILED  ] QU8/SigmoidOperatorTesterQU8.TestQU8/strided_batch_with_input_scale, where GetParam() = {test_name: 'strided_batch', batch_size: 3, input_stride: 129, output_stride: 117, input_scale: [0.010000:100.000000:10.000000]} (4 ms)
[ RUN      ] QU8/SigmoidOperatorTesterQU8.TestQU8/strided_batch_with_input_zero_point
./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 0 / 3, channel 0 / 1, input 169 (126.75)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 1 / 3, channel 0 / 1, input 165 (123.75)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 2 / 3, channel 0 / 1, input 211 (158.25)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 0 / 3, channel 0 / 1, input 220 (165)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 1 / 3, channel 0 / 1, input 203 (152.25)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 2 / 3, channel 0 / 1, input 229 (171.75)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 0 / 3, channel 0 / 1, input 118 (88.5)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

./third_party/XNNPACK/test/unary-operator-tester.h:207: Failure
The difference between y_ref and static_cast<float>(y) is 94, which exceeds AbsTolQU8(y_ref), where
y_ref evaluates to 255,
static_cast<float>(y) evaluates to 161, and
AbsTolQU8(y_ref) evaluates to 0.60000002384185791.
at batch 2 / 3, channel 0 / 1, input 218 (163.5)
Google Test trace:
third_party/XNNPACK/test/replicable_random_device.h:34: To replicate this failure, re-run the test with `--gunit_random_seed=16`.

[  FAILED  ] QU8/SigmoidOperatorTesterQU8.TestQU8/strided_batch_with_input_zero_point, where GetParam() = {test_name: 'strided_batch', batch_size: 3, input_stride: 129, output_stride: 117, input_zero_point: [0:255:51]} (3 ms)
[----------] 17 tests from QU8/SigmoidOperatorTesterQU8 (26 ms total)

[----------] Global test environment tear-down
[==========] 49 tests from 5 test suites ran. (55 ms total)
[  PASSED  ] 32 tests.
[  SKIPPED ] 5 tests, listed below:
[  SKIPPED ] F16/SigmoidOperatorTesterF16.TestF16/unit_batch
[  SKIPPED ] F16/SigmoidOperatorTesterF16.TestF16/small_batch
[  SKIPPED ] F16/SigmoidOperatorTesterF16.TestF16/small_batch_with_input_stride
[  SKIPPED ] F16/SigmoidOperatorTesterF16.TestF16/small_batch_with_output_stride
[  SKIPPED ] F16/SigmoidOperatorTesterF16.TestF16/strided_batch
[  FAILED  ] 12 tests, listed below:
[  FAILED  ] QS8/SigmoidOperatorTesterQS8.TestQS8/unit_batch_with_input_scale, where GetParam() = {test_name: 'unit_batch', batch_size: 1, input_scale: [0.010000:100.000000:10.000000]}
[  FAILED  ] QS8/SigmoidOperatorTesterQS8.TestQS8/unit_batch_with_input_zero_point, where GetParam() = {test_name: 'unit_batch', batch_size: 1, input_zero_point: [0:255:51]}
[  FAILED  ] QS8/SigmoidOperatorTesterQS8.TestQS8/small_batch_with_input_scale, where GetParam() = {test_name: 'small_batch', batch_size: 3, input_scale: [0.010000:100.000000:10.000000]}
[  FAILED  ] QS8/SigmoidOperatorTesterQS8.TestQS8/small_batch_with_input_zero_point, where GetParam() = {test_name: 'small_batch', batch_size: 3, input_zero_point: [0:255:51]}
[  FAILED  ] QS8/SigmoidOperatorTesterQS8.TestQS8/strided_batch_with_input_scale, where GetParam() = {test_name: 'strided_batch', batch_size: 3, input_stride: 129, output_stride: 117, input_scale: [0.010000:100.000000:10.000000]}
[  FAILED  ] QS8/SigmoidOperatorTesterQS8.TestQS8/strided_batch_with_input_zero_point, where GetParam() = {test_name: 'strided_batch', batch_size: 3, input_stride: 129, output_stride: 117, input_zero_point: [0:255:51]}
[  FAILED  ] QU8/SigmoidOperatorTesterQU8.TestQU8/unit_batch_with_input_scale, where GetParam() = {test_name: 'unit_batch', batch_size: 1, input_scale: [0.010000:100.000000:10.000000]}
[  FAILED  ] QU8/SigmoidOperatorTesterQU8.TestQU8/unit_batch_with_input_zero_point, where GetParam() = {test_name: 'unit_batch', batch_size: 1, input_zero_point: [0:255:51]}
[  FAILED  ] QU8/SigmoidOperatorTesterQU8.TestQU8/small_batch_with_input_scale, where GetParam() = {test_name: 'small_batch', batch_size: 3, input_scale: [0.010000:100.000000:10.000000]}
[  FAILED  ] QU8/SigmoidOperatorTesterQU8.TestQU8/small_batch_with_input_zero_point, where GetParam() = {test_name: 'small_batch', batch_size: 3, input_zero_point: [0:255:51]}
[  FAILED  ] QU8/SigmoidOperatorTesterQU8.TestQU8/strided_batch_with_input_scale, where GetParam() = {test_name: 'strided_batch', batch_size: 3, input_stride: 129, output_stride: 117, input_scale: [0.010000:100.000000:10.000000]}
[  FAILED  ] QU8/SigmoidOperatorTesterQU8.TestQU8/strided_batch_with_input_zero_point, where GetParam() = {test_name: 'strided_batch', batch_size: 3, input_stride: 129, output_stride: 117, input_zero_point: [0:255:51]}

12 FAILED TESTS
steven-johnson commented 2 months ago

Update: this also fails (in a similar way) when running on a Samsung S22.