Guest User

Manual AI-Toolkit Install

a guest
Jul 6th, 2025
1,906
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. Manual Install Method from my last Youtube Video: https://youtu.be/s9eXc8PmOos
  2.  
  3.  
  4. 1. Install prereqs manually:
  5. – CUDA 12.8 (RTX-50) OR CUDA 12.6 (RTX-40/30/20/GTX)
  6. – Git, Python 3.10 64-bit, Node 18/20 LTS
  7.  
  8.  
  9. git clone https://github.com/ostris/ai-toolkit.git
  10. cd ai-toolkit
  11.  
  12. python -m venv venv
  13. call venv\Scripts\activate.bat
  14. python -m pip install -U pip
  15.  
  16. RTX-50 (CUDA 12.8)
  17. pip install --no-cache-dir torch==2.7.0 torchvision==0.22.0 --index-url https://download.pytorch.org/whl/cu128
  18.  
  19.  
  20. RTX-40/30/20/GTX 16/10 (CUDA 12.6)
  21. ip install --no-cache-dir torch==2.7.0 torchvision==0.22.0 --index-url https://download.pytorch.org/whl/cu126
  22.  
  23. pip install -r requirements.txt
  24.  
  25. cd ui
  26. npm install
  27. npm run build_and_start
  28.  
  29. open localhost
  30.  
  31.  
  32. Optional password
  33. set AI_TOOLKIT_AUTH=mypwd && npm run build_and_start
  34.  
  35.  
  36.  
  37. RUNPOD:
  38. Create account at: https://bit.ly/runpodAi
  39.  
  40.  
  41. 0) Optional: sudo apt update -y
  42. sudo apt install -y git python3 python3-venv python3-pip build-essential curl
  43.  
  44. git clone https://github.com/ostris/ai-toolkit.git
  45. cd ai-toolkit
  46.  
  47. python3 -m venv venv
  48. source venv/bin/activate
  49. pip install -U pip
  50.  
  51. Pick one:
  52. • 5000-series (CUDA 12.8 wheels)
  53. pip install --no-cache-dir torch==2.7.0+cu128 torchvision==0.22.0+cu128 --index-url https://download.pytorch.org/whl/cu128
  54. • Older GPUs (CUDA 12.6 wheels)
  55. pip install --no-cache-dir torch==2.7.0 torchvision==0.22.0 --index-url https://download.pytorch.org/whl/cu126
  56.  
  57. pip install -r requirements.txt
  58.  
  59. curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
  60. source ~/.nvm/nvm.sh
  61. nvm install 22 && nvm use 22
  62.  
  63. cd ui
  64. npm install
  65. npm run build_and_start
  66.  
  67.  
Add Comment
Please, Sign In to add comment