Guest User

Manual Fluxgym Install

a guest
Feb 15th, 2025
7,529
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. Manual Install Method for Fluxgym from my last Youtube Video: https://youtu.be/LILai5jIW1w
  2.  
  3. LOCAL INSTALL:
  4. install Python 3.10.11
  5. install Git
  6.  
  7. Clone main repository
  8. git clone https://github.com/cocktailpeanut/fluxgym
  9.  
  10. Change directory and clone sd-scripts
  11.  
  12. cd fluxgym
  13. git clone -b sd3 https://github.com/kohya-ss/sd-scripts
  14.  
  15. Create and activate virtual environment
  16.  
  17. python -m venv env
  18. call env\Scripts\activate
  19.  
  20.  
  21. Install SD Scripts dependencies
  22. cd sd-scripts
  23. pip install -r requirements.txt
  24.  
  25.  
  26. Install main project dependencies
  27. cd ..
  28. pip install -r requirements.txt
  29.  
  30. Install PyTorch
  31. echo Installing PyTorch with CUDA 12.1...
  32. pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
  33.  
  34. Launch application
  35. python app.py
  36.  
  37.  
  38.  
  39.  
  40.  
  41. RUNPOD INSTALL:
  42.  
  43. Clone repositories
  44. git clone https://github.com/cocktailpeanut/fluxgym
  45. cd fluxgym
  46. git clone -b sd3 https://github.com/kohya-ss/sd-scripts
  47.  
  48. Install dependencies
  49. cd sd-scripts
  50. pip install -r requirements.txt
  51.  
  52. cd ..
  53. pip install -r requirements.txt
  54.  
  55. Install PyTorch with CUDA 12.1
  56. pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
  57.  
  58.  
  59. Modify app.py to enable public sharing
  60. modify last line to add the share=True
  61.  
  62.  
  63. Launch the application
  64. python app.py
Advertisement
Add Comment
Please, Sign In to add comment