From ce5f4143e2352829afdc1f752dd3231b76bfbd1f Mon Sep 17 00:00:00 2001 From: FizzleDorf <1fizzledorf@gmail.com> Date: Tue, 7 Nov 2023 23:40:30 -0500 Subject: [PATCH] Update README.md added installs that are compile compatible. --- README.md | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9b58b9a..c4eb5f6 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # ComfyUI-AIT -A ComfyUI implementation of Facebook Meta's [AITemplate](https://github.com/facebookincubator/AITemplate) repo for faster inference using cpp/cuda. The old AIT repo is still available for reference. You can find it [here](https://github.com/FizzleDorf/AIT). The node in the UI is located under loaders->AIT. This new repo is behiond but is a much more stable foundation to keep AIT online. *Please be patient as the repo will eventually include the same features as before.* +A [ComfyUI](https://github.com/comfyanonymous/ComfyUI) implementation of Facebook Meta's [AITemplate](https://github.com/facebookincubator/AITemplate) repo for faster inference using cpp/cuda. The old AIT repo is still available for reference. You can find it [here](https://github.com/FizzleDorf/AIT). The node in the UI is located under loaders->AIT. This new repo is behiond but is a much more stable foundation to keep AIT online. *Please be patient as the repo will eventually include the same features as before.* ## Installation @@ -8,10 +8,24 @@ This repo can be downloaded using [ComfyUI manager](https://github.com/ltdrdata/ To install the repo manually, simply git bash inside the `custom_nodes` directory and use the command `git clone https://github.com/FizzleDorf/ComfyUI-AIT.git` -Install the requirements using `pip install -r requirements.txt` if you cloned your ComfyUI install. If you are using a virtual environment, make sure it's activated. - -For Windows users using the packeged ComfyUI install, use `.\python_embed\python.exe -s -m pip install -r requirements.txt` while pathed in the ComfyUI-AIT directory. +###Linux +*This is for compilation only, you can do the Linux install for inference only* +- open a terminal pathed to the current folder and use `git clone --recursive https://github.com/facebookincubator/AITemplate`. +- path to `cd python`. +- run `python setup.py bdist_wheel`. +- **If you are using a virtual environment, make sure it's activated before installing the wheel.** +- `pip install dist/*.whl --force-reinstall` +- copy and paste the `3rdparty` directory to the `Lib` directory of your venv or python install. +###Windows +*This is for compilation only, you can do the Linux install for inference only* +- Extract the `ait_windows.zip` file in `\ComfyUI-AIT\compile` directory. +- open a cmd pathed to the current folder and use `git clone --recursive ait_windows.bundle -b fixes`. +- path to `cd ait_windows/python`. +- run `python setup.py bdist_wheel`. +- **If you cloned your ComfyUI install and you are using a virtual environment, make sure it's activated before installing the wheel.** +- `pip install dist/*.whl --force-reinstall` for cloned comfy installs or `.\python_embed\python.exe -s -m pip install` for packaged comfy. +- copy and paste the `3rdparty` directory to the `Lib` directory of your venv or python install. ## Modules