Skip to content

Commit bf84032

Browse files
committed
fix test
1 parent c99c4b4 commit bf84032

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_shardformer/test_model/test_shard_t5.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def check_forward_backward(model_fn, data_gen_fn, output_transform_fn, loss_fn,
7979
# TODO he precision in weight checking is too significant.
8080
atol, rtol = 1e-3, 1e-3
8181
else:
82-
atol, rtol = 5e-3, 5e-3
82+
atol, rtol = 6e-3, 0
8383
if stage_manager is None or stage_manager.is_first_stage():
8484
check_weight(
8585
t5,

0 commit comments

Comments
 (0)