Guest User

Wan Lora Manual Ai-Toolkit Install

a guest
Jul 20th, 2025
4,997
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.26 KB | None | 0 0
  1. Manual Install Method from my last Youtube Video: https://youtu.be/lRg5sPBXTZE
  2. Link to get the loras, workflow and installers : https://www.patreon.com/c/aitrepreneur
  3.  
  4.  
  5. 1. Install prereqs manually:
  6. – CUDA 12.8 (RTX-50) OR CUDA 12.6 (RTX-40/30/20/GTX)
  7. – Git, Python 3.10 64-bit, Node 18/20 LTS
  8.  
  9.  
  10. git clone https://github.com/ostris/ai-toolkit.git
  11. cd ai-toolkit
  12.  
  13. python -m venv venv
  14. call venv\Scripts\activate.bat
  15. python -m pip install -U pip
  16.  
  17. RTX-50 (CUDA 12.8)
  18. pip install --no-cache-dir torch==2.7.0 torchvision==0.22.0 --index-url https://download.pytorch.org/whl/cu128
  19.  
  20.  
  21. RTX-40/30/20/GTX 16/10 (CUDA 12.6)
  22. ip install --no-cache-dir torch==2.7.0 torchvision==0.22.0 --index-url https://download.pytorch.org/whl/cu126
  23.  
  24. pip install -r requirements.txt
  25.  
  26. cd ui
  27. npm install
  28. npm run build_and_start
  29.  
  30. open localhost
  31.  
  32.  
  33. Optional password
  34. set AI_TOOLKIT_AUTH=mypwd && npm run build_and_start
  35.  
  36.  
  37.  
  38. RUNPOD:
  39. Create account at: https://bit.ly/runpodAi
  40.  
  41.  
  42. 0) Optional: sudo apt update -y
  43. sudo apt install -y git python3 python3-venv python3-pip build-essential curl
  44.  
  45. git clone https://github.com/ostris/ai-toolkit.git
  46. cd ai-toolkit
  47.  
  48. python3 -m venv venv
  49. source venv/bin/activate
  50. pip install -U pip
  51.  
  52. Pick one:
  53. • 5000-series (CUDA 12.8 wheels)
  54. pip install --no-cache-dir torch==2.7.0+cu128 torchvision==0.22.0+cu128 --index-url https://download.pytorch.org/whl/cu128
  55. • Older GPUs (CUDA 12.6 wheels)
  56. pip install --no-cache-dir torch==2.7.0 torchvision==0.22.0 --index-url https://download.pytorch.org/whl/cu126
  57.  
  58. pip install -r requirements.txt
  59.  
  60. curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
  61. source ~/.nvm/nvm.sh
  62. nvm install 22 && nvm use 22
  63.  
  64. cd ui
  65. npm install
  66. npm run build_and_start
  67.  
  68.  
  69.  
  70.  
  71.  
  72. Chatgpt prompt:
  73.  
  74. I will upload a few images, wait until I finished uploading them all.
  75.  
  76. These are photos of Margot Robbie, analyze those images and caption them correctly for a Lora training using "Margot Robbie" as the caption token and convert each single caption into a .txt file and name them all in the same order, Margot Robbie_0001.txt, Margot Robbie_0002.txt, etc... and then finally zip them up all into a single zip file I can download
  77.  
  78.  
  79. portrait of margot robbie, clean studio headshot, 85 mm lens, soft beauty lighting, photorealistic
  80.  
  81. margot robbie, film‑noir portrait, dramatic hard key light, deep shadows, black‑and‑white photo
  82.  
  83. oil painting portrait of margot robbie in the style of John Singer Sargent, loose brushwork, warm palette
  84.  
  85. margot robbie cyberpunk portrait, neon rim‑lights, rain‑soaked city backdrop, vivid colors, photoreal
  86.  
  87. 1940s Hollywood glamour portrait of margot robbie, sepia tone, classic butterfly lighting, vintage lens flare
  88.  
  89. pop‑art portrait of margot robbie, bold halftone dots, saturated primary colors, Andy Warhol style
  90.  
  91. ukiyo‑e woodblock portrait of margot robbie, flat colors, delicate linework, Edo‑period aesthetic
  92.  
  93. renaissance oil portrait of margot robbie, chiaroscuro lighting, rich velvet dress, baroque background
  94.  
  95. futuristic holographic portrait of margot robbie, volumetric light, translucent interface elements, sci‑fi realism
  96.  
  97. candid Polaroid portrait of margot robbie, pastel color shift, soft film grain, natural window light
  98.  
  99.  
Add Comment
Please, Sign In to add comment