add seed in CPU UTs to avoid flaky failure (#7333)

This commit is contained in:
Chunyuan WU
2025-06-18 19:12:14 -07:00
committed by GitHub
parent 20a503c7d1
commit 9179ea1595
10 changed files with 20 additions and 0 deletions
+2
View File
@@ -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 TestExtendAttention(CustomTestCase):