ACCC1380's picture
Upload lora-scripts/install.ps1 with huggingface_hub
a97233f verified
raw
history blame
530 Bytes
$Env:HF_HOME = "huggingface"
if (!(Test-Path -Path "venv")) {
Write-Output "Creating venv for python..."
python -m venv venv
}
.\venv\Scripts\activate
Write-Output "Installing deps..."
Set-Location .\scripts
pip install torch==2.4.1 torchvision==0.19.1 --extra-index-url https://download.pytorch.org/whl/cu124
pip install -U -I --no-deps xformers==0.0.28.post1
pip install --upgrade -r requirements.txt
Set-Location ..
pip install --upgrade -r requirements.txt
Write-Output "Install completed"
Read-Host | Out-Null ;