Overseas access: www.kdjingpai.com
Bookmark Us
Current Position:fig. beginning " AI Answers

如何在Windows系统上安装AI Toolkit by Ostris?

2025-08-30 2.0 K

在Windows系统上安装AI Toolkit需要遵循以下关键步骤:

  1. clone warehouse:在命令提示符中执行git clone https://github.com/ostris/ai-toolkit.gitThen go to the project directorycd ai-toolkit
  2. Updating submodules: Rungit submodule update --init --recursive确保所有依赖库完整
  3. Creating a Virtual Environment: Use the commandpython -m venv venv创建隔离环境,并通过venvScriptsactivateactivation
  4. Installation of dependencies:需要特别注意:
    • 先安装特定版本的PyTorch(支持CUDA 12.4):pip install torch==2.5.1 torchvision==0.20.1 --index-url https://download.pytorch.org/whl/cu124
    • 再安装其他依赖项:pip install -r requirements.txt

安装完成后,用户可根据需要通过Gradio UI或命令行界面运行工具集。相比于Linux版本,Windows安装需要特别注意CUDA版本匹配问题,这是保证GPU加速功能正常工作的关键。

Recommended

Can't find AI tools? Try here!

Just type in the keyword Accessibility Bing SearchYou can quickly find all the AI tools on this site.

Top

en_USEnglish