1 Star 6 Fork 2

stable diffusion webui/lora-scripts

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
install.ps1 696 Bytes
一键复制 编辑 原始数据 按行查看 历史
akiba 提交于 2年前 . update install script
$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 .\sd-scripts
pip install torch==2.0.0+cu118 torchvision==0.15.1+cu118 --extra-index-url https://download.pytorch.org/whl/cu118
pip install -U -I --no-deps xformers==0.0.19
Write-Output "Installing bitsandbytes for windows..."
pip install bitsandbytes==0.41.1 --index-url https://jllllll.github.io/bitsandbytes-windows-webui
pip install --upgrade -r requirements.txt
Set-Location ..
pip install --upgrade -r requirements_win.txt
Write-Output "Install completed"
Read-Host | Out-Null ;
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PowerShell
1
https://gitee.com/stable_diffusion/lora-scripts.git
git@gitee.com:stable_diffusion/lora-scripts.git
stable_diffusion
lora-scripts
lora-scripts
main

搜索帮助