From 670ccac19a480f5c0edfbe43156570a05c8d90c9 Mon Sep 17 00:00:00 2001 From: kingbri Date: Mon, 25 Dec 2023 11:49:56 -0500 Subject: [PATCH] Start: Add option to not install wheels Building from source is a case for many wheels, so add an option to skip wheel upgrades/installation if the user uses the start script. Signed-off-by: kingbri --- start.ps1 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/start.ps1 b/start.ps1 index 3919f5e..6642db9 100644 --- a/start.ps1 +++ b/start.ps1 @@ -1,6 +1,7 @@ # Arg parsing param( [switch]$ignore_upgrade = $false, + [switch]$nowheel = $false, [switch]$activate_venv = $false ) @@ -12,6 +13,12 @@ function GetRequirementsFile { exit } + # Install nowheel if specified + if ($nowheel) { + Write-Output "Not installing wheels due to user request." + return "requirements-nowheel" + } + $CudaPath = $env:CUDA_PATH $CudaVersion = Split-Path $CudaPath -Leaf