add seed in CPU UTs to avoid flaky failure (#7333)
This commit is contained in:
@@ -6,6 +6,8 @@ from torch.nn.functional import scaled_dot_product_attention
|
||||
|
||||
from sglang.test.test_utils import CustomTestCase
|
||||
|
||||
torch.manual_seed(0)
|
||||
|
||||
|
||||
class TestDecodeAttention(CustomTestCase):
|
||||
def _run_sdpa_forward_decode(
|
||||
|
||||
Reference in New Issue
Block a user