DoujinStars
Lyell Hintz
Lyell Hintz

patreon


StreamDiffusionTD 0.2.3🚀🖼️ [ Changelog ]

Get the TOX here >>> https://www.patreon.com/posts/113644784/

Fixes:

  • Resolved common installation issue - FIXED "module 'huggingface_hub.utils' has no attribute '_errors'" - this should no longer be an issue. No need to reinstall if you have been stuck on this.

  • Fixed SD-Turbo specific LoRA weight adjustment for real-time changes

  • Fixed v2v Loading and optimized performance in main stream loop

Improvements:

  • ControlNet support for SDXL models added via "Download ControlNet" option (openpose, canny, scribble, depth)

    • reminder - other ControlNets can be loaded via local files + Huggingface IDs via the Select Controlnet file option

  • Main SD Model Dropdown will see files in the model folder

    • Added Sdmodelsfolder parameter (default to models/Model)

      • You can set this parameter any folder on your computer to the model files inside.

    • New model folder - models/checkpoints - will also be looked at for main SD models. I suggest downloading to this folder

  • FPS counter added when operator is running in the UI icons

  • Small qol improvements throughout

Comments

hey i am having the same problem.... Were u able to resolve it and if yes how ?

vaishnavi shevde

I have a problem is : TensorRT is not found in the virtual environment

AZIZA ABDELHAK

Eagerly waiting for this week's update!

Daniel Gary

HeyHo, as I start a new realtime AI project these days: any news on the new version. I am really curious about what you have been cooking and if it's worth to wait some days before I start.

Christopher Lensing

Also, can I get a discord invite?

Hardik Dhingra

Hey! been trying the streamdiff tool. It's pretty amazing. got an issue though. tensorrt doesn't work after changing the resolution. default 512*512 resolution works fine though. is there any workaround for this?

Hardik Dhingra

did u ever get this resolved?

mr Zpacely

Hey guys, is there a video about huggingface / other models / lora / checkpoints downloaded from different sites (civitai, ecc) ?? I'm really curious about experimenting, and the base SD model from the component works but I'd love to customize more with other models

Stefano Settembrini

Is it possible to choose which GPU it uses if I have more than one

seboya

Wonderful! Looking forward to it!!!

Daniel Gary

PERFECT!!!

Daniel Gary

hey ! ive got a new version coming out this week. And tensorrt supports up to 1024 per side.

dotsimulate

this week. putting final touches / release notes together currently.

dotsimulate

supporting python 3.11.9 on the next version (and still compatible with 3.10.9) cuda support stays on 11.8/12.1 at the moment.

dotsimulate

Yes ive got an update coming this week. Just working on documentation and final fixes for apple support.

dotsimulate

Was wondering if there is going to be an update for compability with new cuda and python versions?

Sergej G

Is this project abandoned? If not, when is the next release?

Daniel Gary

"Add Python, CUDA, and Git to your system's PATH during installation." What does this mean? I just installed it normally to my computer system. What else do i need to do? I didn't see any questions like that when i was installing all three components... Please help me

Leon Krykhtin

Hello :) Where can I install new models?

Dharuma Trejo

Loving this component so far! Great work. I'm interested in training a custom LoRA - any advice on how to get started? Also, can you please share any other LoRA known to work well with this TOX?

Oscar Ingham

I would check your huggingface folder location on the installation page.

Nick Bogannam

Hello, I am trying to change the 'SD model id/ path' on the stream setting page to that of a model stored locally on my computer, however it is unable to run giving me an error that it needs to be a URL path to a huggingface model. Any direction of this would greatly be apreciated

Miranda

:(

Daniel Gary

When is the new version coming out? What's the newest and highest resolution model that I can run with the current (and upcoming) release, with tensorrt enabled?

Daniel Gary

it works now but i loocking for a solution the model is taken so many GB when i hit pulse "startstream"

Pascal P

What's the newest and highest resolution model that I can run with the current (and upcoming) release, with tensorrt enabled?

Daniel Gary

sdxl turbo did not work for me with tensorrt, normally it works.. Also, almost none of the models that I get from civit.ai work - they either throw and error or generate bad output

Daniel Gary

which new models? some recent bigger image models have a different architecture and are quite heavy - like sd 3.5 and flux which won't be supported in next release. but things are changing always and im keeping my eye out.

dotsimulate

New version? We can't use new models with this one. Will the new version support new models?

Daniel Gary

Before installing tensorRT try to Pulse Manual Activate VENV and execute the following commang in terminal: pip install --upgrade huggingface_hub==0.24 after that tensorRT will install ok.

Roman Rusavsky

Hi Mate! Thank you for version 0.2.3. However, I'm encountering an issue with TensorRT—it seems to be missing in the virtual environment. I need to resolve this. Do you have any tips or tricks to fix it? Please let me know. Thanks! have a nice day!

Andrea

Thank you, artist. To use the 0.2.3 version, do I not proceed to the Cuda 12.6 version, but to use the latest version, do I need to change it to 12.1 and install it? Or will it proceed with 12.6 version without any problems?

구도의밭

Hello, this is a wonderfull TOX! Quick question: Is it possible to use the new SD 3.5 large turbo model?

Lukas Matthys

I was stuck here too. The .tox install pulses seem to use the latest python version installed. What finally worked for me was uninstalling everything leaving only 3.10, then the 2. Install [ venv + all req ] step completes without errors for torch and then the 3. Install TensorRT will complete. I also opened the venv in Powershell and ran "pip install tensorrt-cu11 tensorrt-lean-cu11", to see if I needed to install TensorRT according to this page: https://docs.nvidia.com/deeplearning/tensorrt/install-guide/index.html but I'm not sure if that is related

Jeroen Hofs

Great news. I played around with SD TD after quite some time the other day and was wondering if there is still something going on with this tool, as it is so very, very cool to play with. No intention to push you included. Stream Diffusion itself seems to be out of development for month now and I was wondering if everyone just left the party for some other stuff....

Christopher Lensing

Yep! Ive been working on revamped mac support and embeddings for streamdiffusion (coming in about a week once I can record a video). Mostly just been busy due to recently moving apartments and traveling most of November/December. also have been developing a full new operator class that has been taking more dev time.

dotsimulate

I appreciate this and your work so much. Thanks for giving us this, Dot.

monokuromasu

Is this actually still a thing. Do you still work on this?

Christopher Lensing

hey ! this link should work - https://discord.gg/mk2Tc9wM

dotsimulate

Does anyone know how I can join the Discord Group? I paid for patreon so that I could use Stream Diffusion but it wont even install because of something called TensorRT. I googled it but now I have to know how to use coding to install from github. I dont understand any of it.

Keli'i Centurion

When I pulse Start Stream I got the following error: requests.exceptions.ConnectionError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /CompVis/stable-diffusion/main/configs/stable-diffusion/v1-inference.yaml (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))

Andrei Ionut Apopei

Ho lo stesso identico problema

Mattia Piatti

I'm trying to use this version but the only way can get it to work is using 144x144 pixels, and tensorrt is kinda weird, when it works it says that it does not have enough memory, when it doesn't the images start to generate (just in 144x144px)

joão penna

Hi everyone, I'm trying to download streamdiffusion I'm just missing the tesorRT, the problem is that when I try to download it it gives me this error: from huggingface_hub import HfFolder, cached_download, hf_hub_download, model_info ImportError: cannot import name 'cached_download' from 'huggingface_hub' (C:\StreamD\StreamDiffusion\venv\lib\site-packages\huggingface_hub\__init__.py). Has this happened to anyone? Do you know how to fix it? Because without downloading this it doesn't even let me start the prompts. If I try to start one it still tries to download the tesorRT without success.

Alessandro Sasso

how do you fix this issue ?

Justin

hey guys! i was using the operator pretty smoothly, but it seems to be stuck when building the tensorrt engine. I know it takes a while but ive waited now way longer than i used to. tried building an engine for 512 x 512 and then 960 x 512 but no luck in either.

Adrian Stein

same issue

Christopher Davenport

Seems like Hugging Face might change API links. There is problem then installing TensorRT on a new location, (ImportError: cannot import name 'cached_download' from 'huggingface_hub' , Did you mean: 'hf_hub_download') also there is new error, happend when streamdiffusion install ( subprocess-exited-with-error × git clone --filter=blob:none --quiet https://github.com/dotsimulate/StreamDiffusion.git ) - when you install from a this tox into new location also.

Tony Q

The same issue with 0.2.3

Serhii Panin

Hellooo :) How can i add a negative prompt? :)

Daniel Heitmüller

Hi there! Sorry if this is a silly question, but how can I output an image with the same dimensions as my input? My output size is currently fixed at 512x512 px, but I’d like to output an image at 1920x1080.

Yiwen Wang

Hey there - how is this going? Would love to get this working on Mac. Hope all is well!

A Olis

Has anyone figured out how to enable the safety checker? Trying to keep it very strict SFW

Josh Mutscheller

I'm failing at getting StreamDiffusionTD to behave with either SDXL 1.5 or SDXL-Turbo, with xformers. I managed to patch StreamDiffusion myself for a Linux build of it, and it works over there, but it looks like the LCM-LoRA doesn't get loaded (I also tried giving a custom one): I need a very large step count for the model to produce an image corresponding to the input image, and it doesn't appear to follow the prompt. Swapping back to SD-Turbo makes it all work again. Are there instructions somewhere for how to configure the node to work with SDXL 1.5 or SDXL-Turbo?

Matias Piipari

Yeah I am sure, I tried redownloading aswell but every time it connects to server and when I click streamdiffusion, it crashes. I am happy to send you a video from DM if you have free time. Ive already sent you a text

Ada Kanlıbaş

Hi! have you been able to do this? I have the same problem, with a 4060 I only have 2 or 3 fps the nvidia has 8gb of ram it uses 3gb

maria carame lucenilla

hey ! which model are you running? sd-turbo is 2.1 based and won't be compatible with 1.5 loras. if not sd-turbo and using a 1.5 model if you can send me links or something to the base SD model as well I can try and recreate.

dotsimulate

Hey Ada. I am not quite sure. Is there any chance that your project is in the OneDrive location on your pc?

dotsimulate

did any of you succeed with making a LoRA work? Could you please link it to me and tell me your specs? 🙏🏼 thanks

Lorenzo HMZ

Does anyone have issues loading any kind of LoRA? I'm running on a Windows 11, RTX 4080 SUPER, python 3.10.9, cuda 12.1 a SD1.5 model with 3 steps and V2V. Every LoRA has a slightly different type of error; this LoRA here [https://civitai.com/models/109043/skin-and-hands-malefemale-from-polyhedron] should be able to support SD1.5, but I still get a long error starting with this: Error loading LoRA 'polyhedron_new_skin_v1point1': Error(s) in loading state_dict for UNet2DConditionModel: size mismatch for down_blocks.0.attentions.0.proj_in.lora_A.polyhedron_new_skin_v1point1.weight: copying a param with shape torch.Size([128, 320, 1, 1]) from checkpoint, the shape in current model is torch.Size([128, 320]). Anyone that could help?

Lorenzo HMZ

I was running streamdiffusion smoothly but fow some reason it just started to crash whenever I start streaming. It connects to the server without problem but for some reason every time I press stream, it crashes and says it is due to touchdesigner/project1/streamdiffusionSD/numphy_share_out. Is it only happening for me, or do I do something wrong???

Ada Kanlıbaş

Hi Dot i want to ask what is this error, i change pc, try to insall 0.2.3 and this happend " cloning into 'C:/ StreamDiff/StreamDiffusion'... error: RPC failed; curl 92 HTTP/2 stream 5 was not closen cleanly : CANCEL (err 8) error: 6465 bytes of body are still expected fetch-pack: unexpected disconnect while Reading sideband packet fatal: early EOF fatal: fetch-pack:invalid index-pack output "

Julii Haid

I'm running streamdiffusion on AWS - is it possible to use that server inside touchdesigner?

Armin Schl

Well I tried setting up a new project and had to do tensorrt optimisation again and now it's easily hitting 24fps so I'm happy, also haven't encountered any crashes so pretty happy so far. But I admit I did a bit of a dumb and it seems resolume was ALSO running on the rtx and that was supposed to run on the quadro. But what I get from your answer is that 8 fps is normal for an rtx3090?

RocketShip Trips

tensorRT doesnt work with contronet, if you have controlnet active TensorRT will be automatically diabled and youll onoly get the 8fps. Look at the CMD window when its loaded and it will tell you

James Clarke

So I have some performance related issues. Running v2.3 and latest td on RTX3090 and getting only 8ish fps regular and maybe 5fps in v2v/controlnet (dont know if these are normal fps numbers but I think thats pretty low for rtx3090). When I enable tensorrt I got 15fps (although it looked like far more) so great! But ONLY the first time, now every other time after I start it WITH tensortrt enabled I only get 8ish again. Weird thing was, I didn't even close td, I just stopped the stream and started it again later without changing anything. Since then I obviously did reboots and such to make sure that wasn't it, ran it without any other apps open (although when I got higher fps I had a lot of stuff open and running). Should I remove rensorrt and redo the optimizations or just redo the whole streamdiffusion installation? What is the best approach?

RocketShip Trips

Is it no longer possible to control the Denoise Schedule of Input 1?

Mirko Ditroia

does this work for mac?

Jeff Fay

Hey. If you have troubles with the python window, there is a debug toggle in the settings 2 page that will pause the cmd window on any errors, allowing you to see the issue. Best place to check would be the discord once you know what is going wrong. Check or post to the troubleshoot forum !

dotsimulate

seems to be from when installing Tensor getting an error about module streamdiffusion not found

Dan Fallen

I'm getting this error "TensorRT not found in the virtual environment" even though I installed it from the operator

Dan Fallen

triton is only on linux version of streamdiffusion, that is not causing your problem

Guglielmo Guarnera

Hi is there any document on how to download hugging face models and use only the newly downloaded models for StreamDiffusionTD?

giang.it

with StreamDiffusionTD 0.2.3 I'm getting this error: A matching Triton is not available, some optimizations will not be enabled. Error caught was: No module named 'triton' I'm not sure however if this is causing the traceback error that is causing the larger failure which is a show-stopper for me.

Dr. Mindset

Hello! What’s the best way to troubleshoot? Start Stream brings up a terminal window for half a second before the window closes and status remains Not Streaming.

Cate

hello, did you figure out how to increase it? I have 16gb too and it shows that currently only 1gb is utilized. thanks!

eclectictasteofbot

Trying to get this working on Mac and keep running into this error: Preparing Stream... Process Process-4: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/Users/ethan/SD223/StreamDiffusion/streamdiffusionTD/main_sdtd.py", line 369, in image_generation_process pinned_input_buffer = torch.empty((height, width, 3), dtype=torch.uint8, pin_memory=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: Need to provide pin_memory allocator to use pin memory. Please help

Ethan Gates

Hello, there is an issue with memory allocation if I try to use any other nvidia stuff, like bg removal, stream diffusion will lock out the node, mediapipe gpu will act the same if I try segmentation. I think this might be an issue for the streamdiffusion git repo. I got a 4070ti and the gpu memory is around 6.3/12gb with the tox running an sdxl turbo with control net at 512x512px. cannot create Cuda stream - an illegal memory access encountered.

Dromp Alex

Hello, everything is working perfectly, thank you very much. However, I have a question: how can I increase the amount of VRAM I am using? I have a 4060 with 16GB, but I am currently only utilizing 4GB to run the Tox

Andres Felipe

I Love this update, just hit 56fps on 512x512 SDTurbo with TensorRT Thank you! so Incredible! Please support FLUX.1-schnell soon, this would really take my projects to the next level. and it seems the 4090 has enough headroom for it! Error : KeyError: 'time_embed.0.weight' Failed to load C:\Projects\StreamDiffusionTD-0.2.3\models\Model\FLUX.1-schnell\flux1-schnell.safetensors / SD1.5 + LCM LoRA model from both local and Hugging Face due to: 'time_embed.0.weight'

Sebastain Graf

how can I get better fps?, sometimes get 5. fps but after and mostly get 0. etc. fps thanks man

Mario Vishne

TY!

Victor E Morales

Banger!! Thanks a lot !!!!

virusvjvisuals

Amazing. Thank you 🙏

Kamil Nogowski

Not fully confirmed to be currently. I should have time to push that soon.

dotsimulate

Amazing. Thanks for adding the FPS counter:) cool stuff

Jesse van Aalderen

Nice! Thank you! :D

Alex Klauck

is this Mac compatible?

Victor E Morales

Woo hoo! An update that arrives when I actually have time to test it. Thank you for all your hard work!

Kevin Friel


More Creators