Skip to content

Commit 7dd4ceb

Browse files
committed
softmax
Signed-off-by: Justin Chu <[email protected]>
1 parent 9211f26 commit 7dd4ceb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/function_libs/torch_lib/ops_test_data.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,11 @@ def _where_input_wrangler(
459459
tolerance={torch.float64: (2e-6, 2e-6), torch.float32: (3e-2, 3e-4)},
460460
),
461461
TorchLibOpInfo("ops.aten._local_scalar_dense", core_ops.aten__local_scalar_dense),
462-
TorchLibOpInfo("ops.aten._log_softmax", core_ops.aten__log_softmax),
462+
TorchLibOpInfo(
463+
"ops.aten._log_softmax",
464+
core_ops.aten__log_softmax,
465+
tolerance={torch.float16: (1e-3, 1e-3)},
466+
),
463467
TorchLibOpInfo("ops.aten._softmax", core_ops.aten__softmax),
464468
TorchLibOpInfo("all_dim", core_ops.aten_all_dim).skip(
465469
matcher=lambda sample: not (len(sample.kwargs) > 0)

0 commit comments

Comments
 (0)