Skip to content

Commit

Permalink
microsoft/testsuites/gpu/gpusuite.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry Li committed May 1, 2024
1 parent 5e6a41d commit 3440b7d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions microsoft/testsuites/gpu/gpusuite.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,9 @@ def _install_driver(node: Node, log_path: Path, log: Logger) -> None:

__install_driver_using_sdk(node, log, log_path)

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


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

0 comments on commit 3440b7d

Please sign in to comment.