Add platform manual_seed_all API (#38468)

Signed-off-by: Yan Ma <yan.ma@intel.com>
This commit is contained in:
Yan Ma
2026-04-10 13:43:50 +08:00
committed by GitHub
parent 13e6b1b908
commit ec68d53b2b
18 changed files with 57 additions and 44 deletions
+5
View File
@@ -391,6 +391,11 @@ class Platform:
"""
raise NotImplementedError
@classmethod
def manual_seed_all(cls, seed: int) -> None:
"""Set RNG seed across all devices for the current platform."""
raise NotImplementedError
@classmethod
def pre_register_and_update(
cls, parser: FlexibleArgumentParser | None = None