Metadata-Version: 2.3
Name: transceiver
Version: 0.1.2
Summary: transceiver is a Python library that swiftly exchanges complex data structures such as numpy arrays and PIL images between processes, optimizing AI inference tasks that utilize ComfyUI.
Project-URL: Homepage, https://github.com/nat-chan/transceiver
Project-URL: Issues, https://github.com/nat-chan/transceiver/issues
Author-email: nat-chan <ogino.natsuki.tm@alumni.tsukuba.ac.jp>
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.10
Requires-Dist: fs>=2.4.16
Requires-Dist: numpy>=1.26.4
Requires-Dist: pyarrow>=16.0.0
Description-Content-Type: text/markdown

# transceiver

transceiver is a Python library that swiftly exchanges complex data structures such as numpy arrays and PIL images between processes, optimizing AI inference tasks that utilize ComfyUI.

## why?

When processing a large number of requests, the SaveImage and LoadImage nodes may be IO-limited, and using shared memory improves performance by passing images only through memory access, not through IO.

## install

```
cd /path/to/ComfyUI
source venv/bin/activate
cd custom_nodes
git clone https://github.com/nat-chan/comfyui-in-memory-transceiver
cd comfyui-in-memory-transceiver
pip install -e .
cd ../.. # cd /path/to/ComfyUI
python main.py # launch
```
## features

### SaveImageMem

todo

### LoadImageMem

todo
