comfyanonymous
comfyanonymous
You could create an empty comfyui model and set the weights to point to the one from the a1111 model.
It's possible to share memory between processes but I don't know how it would work with pytorch.
Make a pull request if you want me to properly look at it. It makes it easier for me to keep track of things.
Open this PNG file in comfyui, put the style t2i adapter in models/style_models and the clip vision model https://huggingface.co/openai/clip-vit-large-patch14/blob/main/pytorch_model.bin in models/clip_vision 
Yes, read the top of: https://github.com/comfyanonymous/ComfyUI/blob/master/script_examples/basic_api_example.py And this is how you can use the websockets: https://github.com/comfyanonymous/ComfyUI/blob/master/script_examples/websockets_api_example.py
comfyui caches the node outputs of the last workflow so you submit the same workflow twice it won't execute anything in it. Set a random seed instead of the fixed...
The max is: 18446744073709551616
For the websocket example: pip install websocket-client and make sure you don't have another package named "websocket" installed.
>WebSocket.init() missing 3 required positional arguments: 'environ', 'socket', and 'rfile' That means you have "websocket" installed not "websocket-client"