mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-03-15 00:07:28 +00:00
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 <bdashore3@proton.me>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user