Skip to content

Add support for mod(remainder) op (#728) #234

Add support for mod(remainder) op (#728)

Add support for mod(remainder) op (#728) #234

Triggered via push November 19, 2024 08:55
Status Success
Total duration 6m 22s
Artifacts

docs.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors
test_ops.test_reduce_sum[-2-128]: forge/test/mlir/test_ops.py#L1071
assert False + where False = compare_with_golden_pcc(golden=tensor([[[[58.75421, 63.25041, 68.31551, ..., 67.77272, 68.26454, 64.23260]],\n\n [[66.75616, 66.46822, 64.5744... ..., 71.19468, 71.09355, 71.80548]],\n\n [[64.50789, 64.79104, 60.27160, ..., 65.48389, 63.18176, 64.94083]]]]), calculated=tensor([[[[ 0.00000, 0.00000, 0.00000, ..., 68.00000, 68.00000, 64.00000]],\n\n [[ 0.00000, 0.00000, 0.0000... ..., 71.50000, 71.50000, 72.00000]],\n\n [[64.50000, 64.50000, 60.50000, ..., 65.50000, 63.25000, 65.00000]]]]), pcc=0.99)
test_ops.test_reduce_mean[-2-input_shape0]: forge/test/mlir/test_ops.py#L1116
assert False + where False = compare_with_golden_pcc(golden=tensor([[[0.45339, 0.51142, 0.48452, 0.56395, 0.54185, 0.52026, 0.48198, 0.42940, 0.45984, 0.57155, 0.41306, 0.47903]]]), calculated=tensor([[[0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.]]]), pcc=0.99)
test_ops.test_reduce_mean[-2-input_shape1]: forge/test/mlir/test_ops.py#L1116
assert False + where False = compare_with_golden_pcc(golden=tensor([[[0.37341, 0.52518, 0.22964, 0.36143, 0.45662, 0.70250, 0.46210, 0.59364, 0.48098, 0.47490, 0.47584, 0.40745, ...0.44628, 0.55152, 0.37737, 0.49424, 0.44999, 0.53797, 0.48690, 0.56010, 0.51920, 0.50156, 0.55237, 0.42898, 0.58386]]]), calculated=tensor([[[0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, ...0.44336, 0.54688, 0.37500, 0.49219, 0.44727, 0.53516, 0.48242, 0.55859, 0.51562, 0.49805, 0.54688, 0.42578, 0.57812]]]), pcc=0.99)
test_ops.test_reduce_mean[-2-input_shape2]: forge/test/mlir/test_ops.py#L1116
assert False + where False = compare_with_golden_pcc(golden=tensor([[[0.49315, 0.50934, 0.47909, ..., 0.39525, 0.40379, 0.39246]]]), calculated=tensor([[[0.00000, 0.00000, 0.00000, ..., 0.39258, 0.40039, 0.39062]]]), pcc=0.99)
test_ops.test_reduce_mean[-2-input_shape5]: forge/test/mlir/test_ops.py#L1116
assert False + where False = compare_with_golden_pcc(golden=tensor([[[[0.45902, 0.49414, 0.53371, ..., 0.52947, 0.53332, 0.50182]],\n\n [[0.52153, 0.51928, 0.50449, ..., ...0.53271, ..., 0.55621, 0.55542, 0.56098]],\n\n [[0.50397, 0.50618, 0.47087, ..., 0.51159, 0.49361, 0.50735]]]]), calculated=tensor([[[[0.00000, 0.00000, 0.00000, ..., 0.53125, 0.53125, 0.50000]],\n\n [[0.00000, 0.00000, 0.00000, ..., ...0.53125, ..., 0.55859, 0.55859, 0.56250]],\n\n [[0.50391, 0.50391, 0.47266, ..., 0.51172, 0.49414, 0.50781]]]]), pcc=0.99)
test_ops.test_mean[1-7-7]: forge/test/mlir/test_ops.py#L1175
assert False + where False = compare_with_golden_pcc(golden=tensor([[0.48619, 0.39345, 0.52375, 0.51396, 0.45097, 0.49724, 0.29276]]), calculated=tensor([[0., 0., 0., 0., 0., 0., 0.]]), pcc=0.99)
test_ops.test_mean[1-7-32]: forge/test/mlir/test_ops.py#L1175
assert False + where False = compare_with_golden_pcc(golden=tensor([[0.47365, 0.48331, 0.52977, 0.41359, 0.51708, 0.52434, 0.39652]]), calculated=tensor([[0., 0., 0., 0., 0., 0., 0.]]), pcc=0.99)
test_ops.test_mean[1-41-7]: forge/test/mlir/test_ops.py#L1175
assert False + where False = compare_with_golden_pcc(golden=tensor([[0.64142, 0.32681, 0.37434, 0.40650, 0.29625, 0.51062, 0.61715, 0.42640, 0.53832, 0.55312, 0.47075, 0.61371, 0... 0.43796, 0.40881, 0.63955, 0.39271, 0.52820,\n 0.42017, 0.40940, 0.37651, 0.65114, 0.45894, 0.45523, 0.33619]]), calculated=tensor([[0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0... 0.43555, 0.40625, 0.63672, 0.39062, 0.52344,\n 0.41797, 0.40625, 0.37500, 0.64844, 0.45703, 0.45312, 0.33398]]), pcc=0.99)
test_ops.test_reduce_max[-2-input_shape1]: forge/test/mlir/test_ops.py#L1448
assert False + where False = compare_with_golden_pcc(golden=tensor([[[[0.99515, 0.99700, 0.95232, ..., 0.99915, 0.98834, 0.99917]],\n\n [[0.98533, 0.94390, 0.95252, ..., ...0.89165, ..., 0.98807, 0.98134, 0.97024]],\n\n [[0.98207, 0.95271, 0.94923, ..., 0.97693, 0.98546, 0.96302]]]]), calculated=tensor([[[[0.00000, 0.00000, 0.00000, ..., 0.00000, 0.00000, 0.00000]],\n\n [[0.00000, 0.00000, 0.00000, ..., ...0.89062, ..., 0.98438, 0.98047, 0.96875]],\n\n [[0.98047, 0.94922, 0.94922, ..., 0.97656, 0.98438, 0.96094]]]]), pcc=0.99)
test_ops.test_reduce_max[-2-input_shape3]: forge/test/mlir/test_ops.py#L1448
assert False + where False = compare_with_golden_pcc(golden=tensor([[[0.93510, 0.99917, 0.95369, 0.90248, 0.99981, 0.96301, 0.97367, 0.95143, 0.99700, 0.91240, 0.97146, 0.98831, ....89559, 0.98399, 0.94904, 0.99586, 0.98501, 0.98665, 0.98278, 0.98316, 0.97870,\n 0.80503, 0.98913, 0.96008]]]), calculated=tensor([[[0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, ....89453, 0.98047, 0.94531, 0.99219, 0.98438, 0.98438, 0.98047, 0.98047, 0.97656,\n 0.80469, 0.98828, 0.95703]]]), pcc=0.99)