Skip to content

Commit 152a360

Browse files
authored
Fix unit test break for mlperf (#321)
* Fix issue in VC versioning * Fix test * save
1 parent 20b6c8d commit 152a360

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.pipelines/azure-pipelines-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ resources:
1616
options: --entrypoint=""
1717

1818
variables:
19-
VcVersion : 1.14.29
19+
VcVersion : 1.14.30
2020
ROOT: $(Build.SourcesDirectory)
2121
CDP_DEFINITION_BUILD_COUNT: $[counter('', 0)] # needed for onebranch.pipeline.version task https://aka.ms/obpipelines/versioning
2222
ENABLE_PRS_DELAYSIGN: 1

.pipelines/azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pool:
1818
vmImage: windows-latest
1919

2020
variables:
21-
VcVersion : 1.14.29
21+
VcVersion : 1.14.30
2222
ROOT: $(Build.SourcesDirectory)
2323
CDP_DEFINITION_BUILD_COUNT: $[counter('', 0)] # needed for onebranch.pipeline.version task https://aka.ms/obpipelines/versioning
2424
ENABLE_PRS_DELAYSIGN: 1

src/VirtualClient/VirtualClient.Actions.FunctionalTests/MLPerfProfileTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ public async Task MLPerfWorkloadProfileExecutesTheExpectedDependenciesAndReboot(
4646
{
4747
$"sudo apt update",
4848
$"sudo apt install build-essential -yq",
49-
$"sudo wget https://developer.download.nvidia.com/compute/cuda/12.0.0/local_installers/cuda_12.0.0_525.60.13_linux.run",
50-
$"sudo sh cuda_12.0.0_525.60.13_linux.run --silent",
49+
$"sudo wget https://developer.download.nvidia.com/compute/cuda/12.4.1/local_installers/cuda_12.4.1_550.54.15_linux.run",
50+
$"sudo sh cuda_12.4.1_550.54.15_linux.run --silent",
5151
$"sudo bash -c \"echo 'export PATH=/usr/local/cuda-11.6/bin${{PATH:+:${{PATH}}}}' | sudo tee -a /home/[a-z]+/.bashrc\"",
5252
$"bash -c \"echo 'export LD_LIBRARY_PATH=/usr/local/cuda-11.6/lib64${{LD_LIBRARY_PATH:+:${{LD_LIBRARY_PATH}}}}' " +
5353
"| sudo tee -a /home/[a-z]+/.bashrc\""

src/VirtualClient/VirtualClient.Actions.FunctionalTests/SuperBenchmarkProfileTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ public async Task SuperBenchmarkWorkloadProfileExecutesTheExpectedDependenciesAn
4646
{
4747
$"sudo apt update",
4848
$"sudo apt install build-essential -yq",
49-
$"sudo wget https://developer.download.nvidia.com/compute/cuda/12.0.0/local_installers/cuda_12.0.0_525.60.13_linux.run",
50-
$"sudo sh cuda_12.0.0_525.60.13_linux.run --silent",
49+
$"sudo wget https://developer.download.nvidia.com/compute/cuda/12.4.1/local_installers/cuda_12.4.1_550.54.15_linux.run",
50+
$"sudo sh cuda_12.4.1_550.54.15_linux.run --silent",
5151
$"sudo bash -c \"echo 'export PATH=/usr/local/cuda-12.0/bin${{PATH:+:${{PATH}}}}' | sudo tee -a /home/[a-z]+/.bashrc\"",
5252
$"bash -c \"echo 'export LD_LIBRARY_PATH=/usr/local/cuda-12.0/lib64${{LD_LIBRARY_PATH:+:${{LD_LIBRARY_PATH}}}}' | " +
5353
$"sudo tee -a /home/[a-z]+/.bashrc\""

src/VirtualClient/VirtualClient.Dependencies.UnitTests/CUDAAndNvidiaGPUDriverInstallationTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class CUDAAndNvidiaGPUDriverInstallationTests
3737
$"sudo tee -a /home/anyuser/.bashrc\"";
3838

3939
private const string UpgradeCommand = "apt upgrade -y";
40-
private const string InstallDriverCommand = "apt install nvidia-driver-510 nvidia-dkms-510 -y";
40+
private const string InstallDriverCommand = "apt install nvidia-driver-510-server nvidia-dkms-510-server -y";
4141
private const string InstallFabricManagerCommand = "apt install cuda-drivers-fabricmanager-510 -y";
4242

4343
private MockFixture fixture;

0 commit comments

Comments
 (0)