💦 CREATE AND FUCK YOUR OWN AI CUMSLUT 🔥 TRY NOW ♥
Create AI Cumsluts 💦
May 16, 2024

StreamDiffusionTD 0.1.11 🚀🎮🖼️ [ Changelog]

Get the TOX here >>> www.patreon.com/posts/104339390

Enables ControlNet via TOP in2

  • New 'ControlNet' parameter page

  • ControlNet active (Usecontrolnet) must be On when starting stream, but can be toggled when streaming to control if used during generation.

  • Weight parameter (Cnweight) will update the strength of controlnet when streaming

  • Model dropdown based on folder (hint: comfyui controlnet folder) + option to load from file path directly (last option in dropdown)

  • Limitations: ControlNet only works with 1.5 models for now and doesn't support tensorrt

  • NO preprocessors are included. You can create edge, depth, normal, canny, or other type of input images inside TouchDesigner network and connect to the second input of StreamDiffusionTD operator.

TensorRT non 512x512 resolution supported

  •  supported range is 256 - 1024 per side)

  • previous 512 engines should still work

  • Limitations: Windows only + tensorrt does not work with SDXL based model

Added Model Preset Config system

  • Easy way to save / switch between setups

  • Find the options at bottom of Models parameter page.

  • Each preset will save Main SD, ControlNet, LCM, VAE, LoRA models, and acceleration mode (tensorrt).

  • Saved/synced with your install at "..\StreamDiffusion\streamdiffusionTD\model_presets.json").

Improved Model Loading / Print outs

  • Improved logic to load local files

  • Easier to read command window that lists the models being loaded much more clearly

Comments (56)

R
Raja Singa · November 3, 2024

help me solve this problem, I'm quite frustrated looking for this problem : from huggingface_hub import HfFolder, cached_download, hf_hub_download, model_info ImportError: cannot import name 'cached_download' from 'huggingface_hub' (D:\StreamDiffusion\venv\lib\site-packages\huggingface_hub\__init__.py) [process exited with code 1 (0x00000001)] You can now close this terminal with Ctrl+D, or press Enter to restart.

R
Rotem Mor · August 17, 2024

Hey! Couldnt get the TensorRT to work, and can't find the Discord for support :)

I
Ismael Abrego · August 13, 2024

Hi, I've been experimenting with this this Tox for StreamDiffusion and really like it; except that the images that I'm getting are far from great (txt to img), no matter how well defined and detailed is the prompt that I am using. SD Turbo model works best that others but is still far from good images. Any advice?

P
Pixadoo Visuals · August 1, 2024

Its running perfectly, can anyone guide me how to use it on GPU. thank you

f
fergus laidlaw · July 31, 2024

absolutely STOKED to have controlnet added thank you so much!

P
Philippe Hughes · July 30, 2024

Hello DotSimulate. Thanks for the GREAT tool. Sadly I cannot run it. I have a Razer laptop with an RTX3080 Ti . Do not know if it's powerfull enough . Anyways the error I get when pulsing the "Start Stream" is ModuleNotFoundError: No module named 'diffuser' in the cmd window. (ps: it opens and closes quickly so I did a screen recording to read the error. ) Any clue on what this is ? I've searched this thread but not found any info. Thanks in advance

Y
Youssef El Idrissi · July 20, 2024

hey! I have a trouble running it. I followed the step-by-step tutorial, but it doesn't seem to work. Where can I tell you about the error? First it's "A matching Triton is not available, some optimizations will not be enabled. Error caught was: No module named 'triton'" and then while running the model ESRGAN (that work normally fine in automatic 1111), it shows me this exception 'OSError: Error no file named model_index.json found in directory D:\ARTISTIC PROJECTS\2024\Stable Diffusion AI\stable-diffusion-webui\models\ESRGAN.' & "UnboundLocalError: local variable 'pipe' referenced before assignment" Do you have any idea how to fix it? Thank you

C
Cheng Yuan Wang · July 12, 2024

Hi, your works are awesome! Can I get the discord link? Thank you very much

삭
삭 이 · July 5, 2024

I need a tutorial on how to change the model ID using the Hugging Face or Civitai website

Y
Yones R · July 2, 2024

Such a great tool. Are there any resources on how to run completely local, no internet? I have everything running ok I think, max 16fps on 3090 with a single Step Schedule. Should be more, ya? Very much appreciate any leads on these.

M
Mark · July 2, 2024

Hey loving this tool thankyou for making. I'm having trouble loading a controlnet model. I get the following error \Users\markw\OneDrive\Documents\Touch\StreamDiffusion\streamdiffusionTD\pipeline_td.py", line 499, in predict_x0_batch control_image = torch.cat((control_image, self.control_image_buffer), dim=0) TypeError: expected Tensor as element 1 in argument 0, but got NoneType

C
CICI · June 26, 2024

你好,我点击start stream pulse之后,一直显示Loading pipeline components...: 20%|██████████▍ | 1/5 [00:00<00:02, 1.75it/s]和RuntimeError: Numpy is not available和UnboundLocalError: local variable 'pipe' referenced before assignment,请问怎么解决?

E
E-Mons · July 12, 2024

I'm currently having the same problem as you, and it worked normally before.

A
Arvol Dingess · June 20, 2024

Hello, Thank you for making this tool <3 In terms of processing power and hardware, do you know what hardware we should buy to make this more efficient? Does a gaming GPU outperform a Quadro? (OpenCL vs OpenGL) Or would an AI card be better? Would having more CPU power and ram vs GPU help? We're getting about 15-20 fps on a 4090 and I'd love to buy something that would give us better fps, but we don't know WHAT we need to buy for better performance? Any insight would be greatly appreciated. :)

M
Matias Gomez De Falcis · June 16, 2024

Dot it could be that the Guidance Scale parameter of Stream Setting 1, when it exceeds the value 1 in this version, it breaks?

L
Leon · July 25, 2024

Same thing for me

w
wang haiqiang · June 14, 2024

我在TD里运行 view installlation guide ,出现黑屏。

D
DotSimulate · June 14, 2024

Hey. Try again with the operator in this post (I made a tiny change and reuploaded just now.)

B
Benlloyd Goldstein · June 12, 2024

a video on correct tensort implementation would be amazing!

B
Benlloyd Goldstein · June 17, 2024

i have cuda 11.8 , but when i run install i get this error : ------------------------------------- 991.4/991.4 kB 30.7 MB/s eta 0:00:00 Collecting nvidia-cudnn-cu116 (from nvidia-cudnn-cu11->tensorrt_libs==9.0.1.post11.dev4) Downloading nvidia-cudnn-cu116-0.0.1.dev5.tar.gz (4.4 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'error' error: subprocess-exited-with-error python setup.py egg_info did not run successfully. exit code: 1 [17 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\benll\AppData\Local\Temp\pip-install-ugh06s25\nvidia-cudnn-cu116_5b65ba7b510e46268f7994b13fc547a8\setup.py", line 152, in raise RuntimeError(open("ERROR.txt", "r").read()) RuntimeError: ########################################################################################### The package you are trying to install is only a placeholder project on PyPI.org repository. This package is hosted on NVIDIA Python Package Index. This package can be installed as: ``` $ pip install nvidia-pyindex $ pip install nvidia-cudnn-cu116 ``` ########################################################################################### [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed Encountered error while generating package metadata. See above for output.

a
arunr6600 . · June 11, 2024

Hi, I am getting this error. Any fix? ...Loading ControlNet model: controlnet_sd15_depth_f16.safetensors Failed to load ControlNet model E:/Stable Diffusion/stable-diffusion-webui/extensions/sd-webui-controlnet/models/controlnet_sd15_depth_f16.safetensors using from Huggingface (from_pretrained) due to: It looks like the config file at 'E:/Stable Diffusion/stable-diffusion-webui/extensions/sd-webui-controlnet/models/controlnet_sd15_depth_f16.safetensors' is not a valid JSON file. Failed to load ControlNet model from local directory (from_single_file) E:/Stable Diffusion/stable-diffusion-webui/extensions/sd-webui-controlnet/models/controlnet_sd15_depth_f16.safetensors due to: 'time_embed.0.weight' Thank you

p
publicoprivado · June 26, 2024

Stuck in the same place, I was using sd-Turbo seems to be based on 2.1 so I thought to try the correct canny processor but no success. Is there anything I am missing?https://www.patreon.com/posts/streamdiffusiont-104339324

B
Benlloyd Goldstein · June 11, 2024

how would you go about applying motion loras to this ?

L
Lucas · June 7, 2024

Hello there! I tried installing/reinstalling/deleting venv folder/ installing different version of python/... but I keep getting the following error: Failed to load SD model from both local and Hugging Face due to: No module named 'pytorch_lightning' Any idea on how to resolve this? Thanks a lot!

a
aviv oz · June 4, 2024

hey i need help i can only use openai/turbo-sd model any other 1.5 or xl turbo xl etc. cant work? also non of my control net models are being accepted

J
Jasmine Rose Federer · June 7, 2024

Believe it only works with 1.5 models for now but please correct me if I'm wrong - I would also love to get XL working

S
Stella Speziali · June 3, 2024

Hello! Is there a way to see the result of the control net? as an output

D
DotSimulate · June 3, 2024

The result from the model is always going to be the output from the diffusion process. The controlnet input must go in already preprocessed (in depth map form if using depth, or with edge lines if using softedge, etc).

J
Jasmine Rose Federer · June 2, 2024

heyy - could you please reshare the discord link? thanks

D
DotSimulate · June 3, 2024

Link is available via any of the operators I’ve released in the about page (about me>discord)

J
JuanJo Casallas Contreras · May 31, 2024

hey! I´m havin issues running it, i know CUDA is necessary but I have a nvidia 330 so i don´t know if the issues come from it

A
Arthur Deleu · May 30, 2024

"Failed to build tensorrt ERROR: Could not build wheels for tensorrt, which is required to install pyproject.toml-based projects", seems like a common error, would you have any workaround?

A
Arthur Deleu · May 30, 2024

Hey man, having issues with tensorrt...

k
kit lee · May 30, 2024

Hello, Thank you for providing amazing TOX! I would like to know how to change the output resolution? I try to get into [StreamDiffusion TD component] and change the [ndiout] but still doesn't work.

L
Lucas Chen · May 29, 2024

Thank you!

J
Joseph Armen · May 29, 2024

Hello and thank you! I've installed everything successfully and get a stream info output, but my StreamDiffusionTD is blank. The only error I see is: StreamDiffusion\streamdiffusionTD\main_sdtd.py:393: RuntimeWarning: invalid value encountered in cast processed_np = (processed_np * 255).astype(np.uint8)

L
Luis Guillermo Helfer · May 29, 2024

Hello Would you help me install LORA on your latest Tox from streamdiffusion? I get the following error " ERROR loading LoRA Models: Cannot load because down.weight expected shape tensor(..., device='meta', size=(32, 320)), but got torch.Size([32, 320, 1, 1]). If you want to instead overwrite randomly initialized weights, please make sure to pass both `low_cpu_mem_usage=False` and `ignore_mismatched_sizes=True`. For more information, see also: https://github.com/huggingface/diffusers/issues/1619#issuecomment-1345604389 as an example. "

W
We_ Make · May 28, 2024

thanks amazing work

R
Raul Leal · May 27, 2024

I just downloaded the tox and followed the installation but when I try to start the stream the console opens and closes immediately. I see an error "no module named torchvision"

D
Dilip Ramírez · May 27, 2024

Any ideas on when are we getting NDI support back?

A
Anton Thomsen · May 25, 2024

silly question - where is the link for discord? Am i blind?

D
DotSimulate · May 27, 2024

it is the about section of each of my operators and I think in about me as well.

G
Guglielmo Guarnera · May 22, 2024

I often touch 40fps but it doesn't seem to be using the gpu a 20 percent is using it parsec to remote the machine. when i install tensorcore it gives error but then if out of venv i install the correct version it seems to go. it gives me an error if i turn on cfg type it doesn't seem to work any controlnet so I wonder, did you put the page in without explaining which ones you can use because they don't work yet? I would need help but I didn't understand if I have to send a private message to Dotsimulate, if I have to go to discord, if I have to post every question publicly, I would really need feedback but I am not familiar with the rules. https://imgur.com/a/dotsimulate-streamdiffusion-krd-test-v1-1-4xw3Xvr

D
DotSimulate · May 26, 2024

I should have a bit clearer info on how to dm or contact for support. I am planning on a video soon for a controlnet update. sd-turbo won't work with controlnet currently. but hoping to get that working soon as well. You need to use 1.5 main sd model and a 1.5 controlnet model at the moment.

A
Alex England · May 21, 2024

I thought when I subscribed to your Patreon I was going to be in and out just to download the operator, but I've stayed for the constant updates. You really work hard on this and I love the new features in each update!

A
Andrea Tamburrini · May 21, 2024

Hi! I have this issue when i try to install tensorT: RuntimeError: ########################################################################################### The package you are trying to install is only a placeholder project on PyPI.org repository. This package is hosted on NVIDIA Python Package Index. This package can be installed as: ``` $ pip install nvidia-pyindex $ pip install nvidia-cudnn-cu116 ``` ###########################################################################################

N
Noam F. · May 20, 2024

Hi! First of all, thanks for your work!! I have a few questions. The first one: When I press the "Install (venv + all req)" button, I encounter a series of errors throughout the installation: Building wheel for n-vidia-pyindex (project.toml) ... error error: subprocess-exited-with-error Building wheel for n-vidia-pyindex (project.toml) did not run successfully. exit code: 1 /88 lines of output RuntimeError Traceback (most recent call last): File "" , line 1, in ModuleNotFoundError: No module named 'pip' ModuleNotFoundError: No module named 'setuptools' note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for nvidia-pyindex Failed to build nvidia-pyindex ERROR: Could not build wheels for nvidia-pyindex, which is required to install pyproject.toml-based projects Installing dependencies with pip from the activated virtual environment... Requirement already satisfied: pip in c:\users\flore\downloads\fran\x\streamdiffusion\venv\lib\site-packages (24.0) Looking in indexes: https://download.pytorch.org/whl/cu118 ERROR: Could not find a version that satisfies the requirement torch==2.1.0 (from versions: 2.2.0+cu118, 2.2.1+cu118, 2.2.2+cu118, 2.3.0+cu118) ERROR: No matching distribution found for torch==2.1.0 The second is that (despite the errors I get at the beginning) when I click on "Start Stream", a window opens with some text that I can't read because it closes immediately. In "Log Message" it says "started streaming using CMD" and in "stream Info" it says "not streaming". I hope you can help me. best regards!

F
Felix Reiterer · May 24, 2024

I have exactly the same issue! Did you manage to solve it yet?

A
ArtNotes · May 17, 2024

Hi, I managed to load a Controlnet model: "Successfully loaded ControlNet model from local directory". But creating a model dropdown does not work - only a single file. When starting I get many error messages about specific files, under the title Process-3. And ultimately also a RuntimeError: "mat1 and mat2 shapes cannot by multiplied (154x2048 and 768x320)". I don't know exactly what to do with input 2 either. Can you show a working example? Kind regards, Pieter

D
DotSimulate · May 26, 2024

this is because of model mismatch. you will want to use 1.5 controlnet model and 1.5 sd main moderl

K
Kelly Warner · May 16, 2024

This is fantastic! Where can I learn about installing Controlnet specifically for StreamDiffusionTD?

J
JJ JV · May 16, 2024

Ouuu, this is a big one here! Appreciate your hard work my dude 🙏🏽

J
João Silva · May 16, 2024

Everything works fine, the fps count its around 0,5 and by pc specs are a Intel Core i5-10300H, have 8g of ram and have a rtx 1650, but i have a problem in wich the screen becomes black or rainbow color and the model does not load up, Does someone knows how to fix it?

R
Rapid Carrot · May 16, 2024

I am using cuda 12.1 . I had a cuda version error which is fixed with dotsimulate's pull request on the streamdiffusion GitHub page. I also had a no module found error for cuda and onnxruntime , which can be fixed by activating the venv ( pulse in streamdiffusiontd didn't work for me ) and pip install cuda-python and onnxruntime. I don't think I had other errors on rttensors install. Thanks dotsimulate btw , nice work.

D
Daniel Potes · May 16, 2024

Has anyone else had any issues with building TensorRT? It keeps giving me errors and failing to build.

D
DotSimulate · May 16, 2024

send me some screenshots on discord. there are a few things that could be happening