Guest User

update_python_dependencies.bat

a guest
Feb 18th, 2026
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. @echo off
  2. SET TEMP=D:\tmp
  3. SET TMP=D:\tmp
  4. SET PIP_CACHE_DIR=D:\tmp\pip-cache
  5.  
  6. .\python_embeded\python.exe -m pip install virtualenv
  7. .\python_embeded\python.exe -m virtualenv venv
  8. call .\venv\Scripts\activate.bat
  9.  
  10. python.exe -s -m pip install torch==2.6.0 torchvision==0.21.0 --index-url https://download.pytorch.org/whl/cu124
  11. python.exe -s -m pip install --upgrade -r requirements.txt
  12. python.exe -s -m pip install xformers --index-url https://download.pytorch.org/whl/cu124
  13. python.exe -s -m pip install -U "triton-windows==3.1.0.post17"
  14. python.exe -m xformers.info
  15.  
  16. REM закомментировать потом
  17. accelerate.exe config
  18.  
  19.  
  20. REM python_embeded\python.exe -s -m pip install -U https://github.com/woct0rdho/SageAttention/releases/download/v2.2.0-windows.post4/sageattention-2.2.0+cu128torch2.9.0andhigher.post4-cp39-abi3-win_amd64.whl
  21.  
  22. pause
Advertisement
Add Comment
Please, Sign In to add comment