C:\Program Files\Autodesk\3ds Max 2025>setlocal C:\Program Files\Autodesk\3ds Max 2025>set PYTHONPATH=C:\ProgramData\tyFlow\tyDiffusion\Tools/python C:\Program Files\Autodesk\3ds Max 2025>pushd "C:\ProgramData\tyFlow\tyDiffusion\Tools/python" C:\ProgramData\tyFlow\tyDiffusion\Tools\python>python --version Python 3.10.6 C:\ProgramData\tyFlow\tyDiffusion\Tools\python>python get-pip.py Collecting pip C:\ProgramData\tyFlow\tyDiffusion\Tools\python>python -m pip install virtualenv C:\ProgramData\tyFlow\tyDiffusion\Tools\python>python -m pip install gitpython --no-cache-dir C:\ProgramData\tyFlow\tyDiffusion\Tools\python>python -m pip install wget C:\ProgramData\tyFlow\tyDiffusion\Tools\python>call C:\ProgramData\tyFlow\tyDiffusion\Tools/python/lib/site-packages/virtualenv/activation/batch/activate C:\ProgramData\tyFlow\tyDiffusion\Tools\python>set PATH=C:\Program Files\Autodesk\3ds Max 2025\Python\Lib\site-packages\PySide6;C:\Program Files\Autodesk\3ds Max 2025\Python;C:\VulkanSDK\1.3.239.0\Bin;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\iCLS\;C:\Program Files\Intel\Intel(R) Management Engine Components\iCLS\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Common Files\Autodesk Shared\;C:\Users\Admin\AppData\Local\Microsoft\WindowsApps;C:\adb;C:\Program Files (x86)\Autodesk\Backburner\;C:\Program Files (x86)\Brackets\command;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\dotnet\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\Git\cmd;C:\Users\soheil.falahi\AppData\Local\Programs\Python\Launcher\;C:\Users\soheil.falahi\AppData\Local\Microsoft\WindowsApps;C:\Users\soheil.falahi\.dotnet\tools;C:\Program Files\Git;C:\Program Files\Git\bin;C:\Users\soheil.falahi\AppData\Local\Programs\Python\Python312\Scripts;C:\Program Files\Autodesk\3ds Max 2025\;C:\ProgramData\Autodesk\ApplicationPlugins\MAXtoA_2025\bin;c:\programdata\autodesk\applicationplugins\maxtoa_2025;C:\ProgramData\Autodesk\ApplicationPlugins\VRay3dsMax2025\bin\vray_usd_basic;C:\ProgramData\tyFlow\tyDiffusion\Tools/mingit/cmd/ C:\ProgramData\tyFlow\tyDiffusion\Tools\python>set GIT_SSL_NO_VERIFY=true C:\ProgramData\tyFlow\tyDiffusion\Tools\python>REM -------- C:\ProgramData\tyFlow\tyDiffusion\Tools\python>rmdir "C:/ProgramData/tyFlow/tyDiffusion/Engines/ComfyUI/_ComfyUI" /q /s C:\ProgramData\tyFlow\tyDiffusion\Tools\python>git clone https://github.com/tyDiffusion/ComfyUI.git "C:/ProgramData/tyFlow/tyDiffusion/Engines/ComfyUI/_ComfyUI" C:\ProgramData\tyFlow\tyDiffusion\Tools\python>git clone https://github.com/tyDiffusion/ComfyUI-AnimateDiff-Evolved.git "C:/ProgramData/tyFlow/tyDiffusion/Engines/ComfyUI/_ComfyUI/custom_nodes/ComfyUI-AnimateDiff-Evolved" C:\ProgramData\tyFlow\tyDiffusion\Tools\python>git clone https://github.com/tyDiffusion/comfyui_controlnet_aux.git "C:/ProgramData/tyFlow/tyDiffusion/Engines/ComfyUI/_ComfyUI/custom_nodes/comfyui_controlnet_aux" C:\ProgramData\tyFlow\tyDiffusion\Tools\python>git clone https://github.com/tyDiffusion/ComfyUI_IPAdapter_plus.git "C:/ProgramData/tyFlow/tyDiffusion/Engines/ComfyUI/_ComfyUI/custom_nodes/ComfyUI_IPAdapter_plus" C:\ProgramData\tyFlow\tyDiffusion\Tools\python>git clone https://github.com/tyDiffusion/ComfyUI-Advanced-ControlNet.git "C:/ProgramData/tyFlow/tyDiffusion/Engines/ComfyUI/_ComfyUI/custom_nodes/ComfyUI-Advanced-ControlNet" C:\ProgramData\tyFlow\tyDiffusion\Tools\python>git clone https://github.com/tyDiffusion/comfyui-tooling-nodes.git "C:/ProgramData/tyFlow/tyDiffusion/Engines/ComfyUI/_ComfyUI/custom_nodes/comfyui-tooling-nodes" C:\ProgramData\tyFlow\tyDiffusion\Tools\python>git clone https://github.com/tyDiffusion/comfyui-easyapi-nodes.git "C:/ProgramData/tyFlow/tyDiffusion/Engines/ComfyUI/_ComfyUI/custom_nodes/comfyui-easyapi-nodes" C:\ProgramData\tyFlow\tyDiffusion\Tools\python>git clone https://github.com/tyDiffusion/ComfyUI_UltimateSDUpscale.git "C:/ProgramData/tyFlow/tyDiffusion/Engines/ComfyUI/_ComfyUI/custom_nodes/ComfyUI_UltimateSDUpscale" --recursive Submodule path 'repositories/ultimate_sd_upscale': checked out '2322caa480535b1011a1f9c18126d85ea444f146' C:\ProgramData\tyFlow\tyDiffusion\Tools\python>git clone https://github.com/tyDiffusion/ComfyUI-Image-Filters.git "C:/ProgramData/tyFlow/tyDiffusion/Engines/ComfyUI/_ComfyUI/custom_nodes/ComfyUI-Image-Filters C:\ProgramData\tyFlow\tyDiffusion\Tools\python>git clone https://github.com/tyDiffusion/ComfyUI-Frame-Interpolation.git "C:/ProgramData/tyFlow/tyDiffusion/Engines/ComfyUI/_ComfyUI/custom_nodes/ComfyUI-Frame-Interpolation C:\ProgramData\tyFlow\tyDiffusion\Tools\python>git clone https://github.com/tyDiffusion/ComfyUI-VideoHelperSuite.git "C:/ProgramData/tyFlow/tyDiffusion/Engines/ComfyUI/_ComfyUI/custom_nodes/ComfyUI-VideoHelperSuite C:\ProgramData\tyFlow\tyDiffusion\Tools\python>git clone https://github.com/tyDiffusion/ComfyUI_FizzNodes.git "C:/ProgramData/tyFlow/tyDiffusion/Engines/ComfyUI/_ComfyUI/custom_nodes/ComfyUI_FizzNodes C:\ProgramData\tyFlow\tyDiffusion\Tools\python>git clone https://github.com/tyDiffusion/comfyui-inpaint-nodes.git "C:/ProgramData/tyFlow/tyDiffusion/Engines/ComfyUI/_ComfyUI/custom_nodes/comfyui-inpaint-nodes C:\ProgramData\tyFlow\tyDiffusion\Tools\python>xcopy "C:/ProgramData/tyFlow/tyDiffusion/Engines/ComfyUI/_ComfyUI" "C:/ProgramData/tyFlow/tyDiffusion/Engines/ComfyUI/ComfyUI" /e /h /y /i /q 2375 File(s) copied C:\ProgramData\tyFlow\tyDiffusion\Tools\python>rmdir "C:/ProgramData/tyFlow/tyDiffusion/Engines/ComfyUI/_ComfyUI" /q /s C:\ProgramData\tyFlow\tyDiffusion\Tools\python>git config --global --add safe.directory "C:/ProgramData/tyFlow/tyDiffusion/Engines/ComfyUI/ComfyUI" C:\ProgramData\tyFlow\tyDiffusion\Tools\python>REM -------- C:\ProgramData\tyFlow\tyDiffusion\Tools\python>set PYTHONPATH=C:\ProgramData\tyFlow\tyDiffusion\Tools/python;C:/ProgramData/tyFlow/tyDiffusion/Engines/ComfyUI/ComfyUI C:\ProgramData\tyFlow\tyDiffusion\Tools\python>set PYTHON=C:\ProgramData\tyFlow\tyDiffusion\Tools/python/python.exe C:\ProgramData\tyFlow\tyDiffusion\Tools\python>REM -------- installing torch/torchvision/etc this way prevents flash attention errors during generation C:\ProgramData\tyFlow\tyDiffusion\Tools\python>python -m pip install torch==2.1.2 torchvision==0.16.2 torchaudio==2.1.2 --index-url https://download.pytorch.org/whl/cu121 C:\ProgramData\tyFlow\tyDiffusion\Tools\python>python -m pip install -r "C:/ProgramData/tyFlow/tyDiffusion/Engines/ComfyUI/ComfyUI/requirements.txt" C:\ProgramData\tyFlow\tyDiffusion\Tools\python>python -m pip install -r "C:/ProgramData/tyFlow/tyDiffusion/Engines/ComfyUI/ComfyUI/custom_nodes/comfyui-easyapi-nodes/requirements.txt" C:\ProgramData\tyFlow\tyDiffusion\Tools\python>python -m pip install -r "C:/ProgramData/tyFlow/tyDiffusion/Engines/ComfyUI/ComfyUI/custom_nodes/comfyui_controlnet_aux/requirements.txt" C:\ProgramData\tyFlow\tyDiffusion\Tools\python>python -m pip install -r "C:/ProgramData/tyFlow/tyDiffusion/Engines/ComfyUI/ComfyUI/custom_nodes/ComfyUI-Image-Filters/requirements.txt" C:\ProgramData\tyFlow\tyDiffusion\Tools\python>python -m pip install -r "C:/ProgramData/tyFlow/tyDiffusion/Engines/ComfyUI/ComfyUI/custom_nodes/ComfyUI-Frame-Interpolation/requirements-with-cupy.txt" C:\ProgramData\tyFlow\tyDiffusion\Tools\python>python -m pip install -r "C:/ProgramData/tyFlow/tyDiffusion/Engines/ComfyUI/ComfyUI/custom_nodes/ComfyUI-VideoHelperSuite/requirements.txt" C:\ProgramData\tyFlow\tyDiffusion\Tools\python>python -m pip install -r "C:/ProgramData/tyFlow/tyDiffusion/Engines/ComfyUI/ComfyUI/custom_nodes/ComfyUI_FizzNodes/requirements.txt" C:\ProgramData\tyFlow\tyDiffusion\Tools\python>REM -------- the following are requirements for DWPose preprocessor to use CUDA 12+ C:\ProgramData\tyFlow\tyDiffusion\Tools\python>python -m pip install coloredlogs flatbuffers numpy packaging protobuf sympy C:\ProgramData\tyFlow\tyDiffusion\Tools\python>python -m pip install ort-nightly-gpu --index-url=https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/ort-cuda-12-nightly/pypi/simple/ C:\ProgramData\tyFlow\tyDiffusion\Tools\python>python -m pip install onnxruntime-gpu==1.17.0 --index-url=https://pkgs.dev.azure.com/onnxruntime/onnxruntime/_packaging/onnxruntime-cuda-12/pypi/simple/ C:\ProgramData\tyFlow\tyDiffusion\Tools\python>REM -------- the following are requirements for DWPose (setuptools >= 70 generates error with pkg_resources library) C:\ProgramData\tyFlow\tyDiffusion\Tools\python>python -m pip install setuptools==69.5.1 C:\ProgramData\tyFlow\tyDiffusion\Tools\python>pushd "C:/ProgramData/tyFlow/tyDiffusion/Engines/ComfyUI/ComfyUI" C:\ProgramData\tyFlow\tyDiffusion\Engines\ComfyUI\ComfyUI>REM -------- use CPU flag during install launch, to avoid installation errors that can occur if the machine doesn't have a torch-compatible device C:\ProgramData\tyFlow\tyDiffusion\Engines\ComfyUI\ComfyUI>"C:\ProgramData\tyFlow\tyDiffusion\Tools/python/python.exe" main.py --cpu