Skip to content

Commit 3440b7d

Browse files
author
Henry Li
committed
microsoft/testsuites/gpu/gpusuite.py
1 parent 5e6a41d commit 3440b7d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

microsoft/testsuites/gpu/gpusuite.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,9 @@ def _install_driver(node: Node, log_path: Path, log: Logger) -> None:
415415

416416
__install_driver_using_sdk(node, log, log_path)
417417

418+
# Enabling nvidia persistence mode which is recommended by NVIDIA
419+
node.execute(f"sudo nvidia-persistenced --persistence-mode")
420+
418421

419422
def _gpu_provision_check(min_pci_count: int, node: Node, log: Logger) -> None:
420423
lspci = node.tools[Lspci]

0 commit comments

Comments
 (0)