Skip to content

Commit

Permalink
Start: Add option to not install wheels
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
kingbri1 committed Dec 25, 2023
1 parent 09ae71a commit 670ccac
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions start.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Arg parsing
param(
[switch]$ignore_upgrade = $false,
[switch]$nowheel = $false,
[switch]$activate_venv = $false
)

Expand All @@ -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

Expand Down

0 comments on commit 670ccac

Please sign in to comment.