add seed in CPU UTs to avoid flaky failure (#7333)
This commit is contained in:
@@ -10,6 +10,8 @@ from sglang.srt.layers.rotary_embedding import (
|
||||
)
|
||||
from sglang.test.test_utils import CustomTestCase
|
||||
|
||||
torch.manual_seed(0)
|
||||
|
||||
|
||||
class TestROPE(CustomTestCase):
|
||||
def test_deepseek_v2_rope(self):
|
||||
|
||||
Reference in New Issue
Block a user