Real time Stable Diffusion in TouchDesigner

  Рет қаралды 15,452

VJ SCHOOL

VJ SCHOOL

Күн бұрын

Пікірлер: 95
@burakuville
@burakuville 3 ай бұрын
amazing job explaining the entire process...
@lematchafrappe
@lematchafrappe 15 күн бұрын
Thanks for making this free, much love
@alessandrosaracino5463
@alessandrosaracino5463 3 ай бұрын
this is great! lean and clean, thank you!
@Remvisuals
@Remvisuals 3 ай бұрын
instnaly fast and so nice to be in 512, congrats on this one, cant wait for more features!
@VJSCHOOL
@VJSCHOOL 3 ай бұрын
Custom resolutions already available, but keep in mind, that it will affect FPS.
@Remvisuals
@Remvisuals 3 ай бұрын
@@VJSCHOOL I tried building a model with different res and more steps, but it wouldn't finish... Super impressed with the speed, it's still super jittery and "stabley", but that's just animdif in general I geuss, excited to try out control net!!
@arshinazizi
@arshinazizi 23 күн бұрын
Thanks for sharing your knowledge , i appreciate it 🎉
@marlus
@marlus 3 ай бұрын
Thanks for this great solution! Amazing performance on 4070 12GB! SD Turbo and 1 sample step. I will test making other engine now. 3 sample steps were slow on 4070.
@MohamedAli-nb9qk
@MohamedAli-nb9qk Ай бұрын
THIS video talks about the portable version and NOT the manual installation. If you try following this installation for the manual installation, you are going to face errors related to models and engines not being found, for example "cannot access local variable 'pipe' where it is not associated with a value", because the paths for the portable version and the manual version are slightly different. That's why I recommend using the portable version
@grayfover
@grayfover Ай бұрын
Hi, I've downloaded the portable version when i use the webui.bat, should I still set the python location to my local file? thanks
@cayetanojozami4067
@cayetanojozami4067 3 ай бұрын
Amazing
@detailsstudio
@detailsstudio 3 ай бұрын
Thanks bro
@oakland439
@oakland439 Ай бұрын
does this work with MacOS Silicone?
@touchdesigner2967
@touchdesigner2967 17 күн бұрын
I was wondering the same thing...
@lematchafrappe
@lematchafrappe 15 күн бұрын
I was able to run streamdiffusion by it self, works great
@lematchafrappe
@lematchafrappe 15 күн бұрын
Okay. So basically this utilizes a tensorrt engine to render in Touchdesinger. This needs an Nvidia card so no for a mac.
@천재영-l1f
@천재영-l1f 3 ай бұрын
Nevertheless I got finished engine preparation and selected the file which webui includes, it doesnt work.. I tried to press load engine and refresh engine several times, but it dosent work.. how to resolve this :(
@eurria
@eurria Ай бұрын
Hello, first of all congratulations on the tremendous work I have been using the DSD patch for a long time without any problems, but now I have a constant error that I cannot solve As soon as I open the project it tells me that I have a problem with the line 4 of the TouchDiffusionExt operator that does not find the Torch module within the project...
@GIANNIANER
@GIANNIANER Ай бұрын
thank you so much! great tutorial. is it possible to use other kind of models?
@SatSitSat
@SatSitSat 3 ай бұрын
I don't understand how it's posssible to have multiple frames per second with 20 steps. Why don't we use TensorRT on normal UI's like Automatic or Comfy ? Sorry in advance for having such a vague question but i find this quite amazing haha.
@VJSCHOOL
@VJSCHOOL 3 ай бұрын
Real-time can be achieved with Turbo models and Acceleration Lora, on low steps like 1-4 with TensorRT. TouchDesigner allow to copy data from and to GPU, that decrease latency.
@prictor
@prictor 3 ай бұрын
hi, i followed every step and there are no erros, but in touchdesigner when i hit pulse on "load engine" nothing happens, can anybody help me?
@VJSCHOOL
@VJSCHOOL 3 ай бұрын
Create issue on GitHub or Discord and share full log.
@m.s.kostin
@m.s.kostin 12 күн бұрын
Did you find the solution? Same issue
@pocong9867
@pocong9867 Ай бұрын
I have tried it.. but say try experimenting with my video camera will it not work?
@channelbolabaru
@channelbolabaru Ай бұрын
OSError: [WinError 126] The specified module could not be found. Error loading "C:\Users\PC ABU-ABU\Desktop\TouchDiffusion-main\TouchDiffusion-main\.venv\Lib\site-packages\torch\lib\fbgemm.dll" or one of its dependencies. No launch file found please help
@nataliafajardomolina9719
@nataliafajardomolina9719 24 күн бұрын
Hey! Did u find the answer? I have the same problem
@苏传宇-o8q
@苏传宇-o8q 3 ай бұрын
Very interesting, but when I clicked load engine in touchdesigner, I got an error like "cannot access local variable 'pipe' where it is not associated with a value". What is the problem?
@VJSCHOOL
@VJSCHOOL 3 ай бұрын
That’s mean either model or engine can’t be found
@yanyu813
@yanyu813 3 ай бұрын
Have you solved it?
@VJSCHOOL
@VJSCHOOL 3 ай бұрын
@@yanyu813 download portable version on Github and try with it.
@StanislavDrca
@StanislavDrca 19 күн бұрын
@@VJSCHOOL Tried the portable as well as the manual version. Same error. It may be because Runway shut down their SD1.5 repositories on huggingface? Posted the full log on GitHub Issue. Thanks!
@hppdms
@hppdms 2 ай бұрын
Thank you ! I made it work but it just creates the image only when i press load engine button and its a stable image. How can i make it live =?
@王梓
@王梓 Ай бұрын
excuse me, i follow every step you said, but when i click the webui button, it was going to fail, would you tell me why? here are the flows: Downloading StreamDiffusion... Cloning into 'StreamDiffusion'... remote: Enumerating objects: 2735, done. remote: Counting objects: 100% (1115/1115), done. remote: Compressing objects: 100% (294/294), done. error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8) error: 7789 bytes of body are still expected fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack: invalid index-pack output Failed to download StreamDiffusion
@zukabaazov8014
@zukabaazov8014 8 күн бұрын
where i prerating models?
@dleon9781
@dleon9781 3 ай бұрын
hi ,i have followed your tutorial and every step went well .But in TouchDesigner,the log shows :cannot access local variable 'pipe' where it is not associated with a value.I don't know how did it happened
@VJSCHOOL
@VJSCHOOL 3 ай бұрын
Create issue on GitHub or Discord with full log
@leonidkrykhtin
@leonidkrykhtin 3 ай бұрын
How to increase CFG to 7-10 instead of 1? The quality of generations is very low at 1.
@VJSCHOOL
@VJSCHOOL 3 ай бұрын
You should try to increase sampling steps (batch size)
@jeremietoussaint4085
@jeremietoussaint4085 25 күн бұрын
I got this error when i click on Make Engine "UnboundLocalError: cannot access local variable 'pipe' where it is not associated with a value"
@joaopedrofireman8180
@joaopedrofireman8180 12 күн бұрын
same here. Were you able to solve it?
@jeremietoussaint4085
@jeremietoussaint4085 12 күн бұрын
@@joaopedrofireman8180 Yes i have installed the portable version without any error
@kafidov
@kafidov 3 ай бұрын
As I understand it, this miracle cannot be run under Mac?
@VJSCHOOL
@VJSCHOOL 3 ай бұрын
Only PC & Windows
@MaxiCrows
@MaxiCrows Ай бұрын
its posible with 8gvram?
@mahmoud0800
@mahmoud0800 2 ай бұрын
thats amazing but i got an ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (tensorrt) please help!
@mahmoud0800
@mahmoud0800 2 ай бұрын
"No module named 'tensorrt'"
@michaelkollar6299
@michaelkollar6299 2 ай бұрын
the webui.bat did not create any folders (venv, streamdiffusion, models, engines) but tells me they already exist after relaunching, what am I doing wrong?
@dylanroscover939
@dylanroscover939 Ай бұрын
the .venv folder is hidden so make sure you have Show Hidden Folders turned on in Windows Explorer. It didn't create the models/engines directories for me either, I just copied and pasted them manually from the StreamDiffusion folder once it was generated and that did the trick.
@alexdoho
@alexdoho 3 ай бұрын
What's the difference between this and streamdiffusion?
@VJSCHOOL
@VJSCHOOL 3 ай бұрын
Explained in first 3 min of video It’s near x2 faster
@pocong9867
@pocong9867 Ай бұрын
HOW MUCH FPS YOU GET MY FRIEND
@MichelleCarrasco
@MichelleCarrasco 2 ай бұрын
Hellllooooo, I just arrive untill 4:05 and this happen : NameError: name 'StreamDiffusionWrapper' is not defined Any idea how to fix this ?
@VJSCHOOL
@VJSCHOOL 2 ай бұрын
There is portable version on GitHub, better to try with it
@placebo_yue
@placebo_yue 3 ай бұрын
does it have to be python 311? i have 310 and i don't wanna break all my other installations to try this...
@VJSCHOOL
@VJSCHOOL 3 ай бұрын
1) everything installed in venv, so it not affecting main Python env. 2) if you want to try with Python 3.10, then provide path to it in webui & use TouchDesigner version before 2023
@tadaizm
@tadaizm 27 күн бұрын
норм
@developmentmotion4765
@developmentmotion4765 3 ай бұрын
amazing... this is realy faster, can we put lora and vae to the folder? what lora and vae for the best creation
@developmentmotion4765
@developmentmotion4765 3 ай бұрын
and why icant change the seed ?
@VJSCHOOL
@VJSCHOOL 3 ай бұрын
Tiny VAE already baked in for best performance. Loras not supported yet.
@VJSCHOOL
@VJSCHOOL 3 ай бұрын
Seed can be changed in TouchDesigner with seed parameter
@TheDciel1
@TheDciel1 3 ай бұрын
Git is installed. Creating .venv directory... The filename, directory name, or volume label syntax is incorrect. Failed to create virtual environment. What is the problem?
@ogunkayikci7751
@ogunkayikci7751 3 ай бұрын
chech where the python with "where python" command and copy paste in to webui.bat like he said
@radinayotova5510
@radinayotova5510 4 күн бұрын
you need to install python first; if you don't have it - it won't be able to create virtual environment
@PeterBowlesify
@PeterBowlesify 3 ай бұрын
Cool! Can it work with controlnet?
@VJSCHOOL
@VJSCHOOL 2 ай бұрын
No support for now
@N92601
@N92601 2 ай бұрын
amazing fast speeds would you know why using my null of the render tops of my td projects as input isnt working? im getting flashing white and black with some cat images but noise top works normally, denoising value dosent change this would we have to repeat the webui model proceses with higher steps seems like it could be that or a different problem if so how should i do that thanks!
@N92601
@N92601 2 ай бұрын
seems the same problem with a default moveifileintop
@N92601
@N92601 2 ай бұрын
I figured out I had to reinitalize pulse touchddiffusion folder and possibly clear log too I did both then reload engine
@th3curator
@th3curator 3 ай бұрын
I am getting an error: name 'StreamDiffusionWrapper' is not defined. Any ideas?
@carloslavina9779
@carloslavina9779 2 ай бұрын
same over here :( did you solve it?
@VJSCHOOL
@VJSCHOOL 2 ай бұрын
Try portable version
@alexandraganiari706
@alexandraganiari706 2 ай бұрын
any progress with portable version? I can not download it
@DenizKurt-q1k
@DenizKurt-q1k 2 ай бұрын
Hi! Does it also work with Mac?
@VJSCHOOL
@VJSCHOOL 2 ай бұрын
Only NVIDIA GPU
@SwoleKitchen
@SwoleKitchen 2 ай бұрын
Can you do this with AMD Ryzen Somehow?
@VJSCHOOL
@VJSCHOOL 2 ай бұрын
For now there is no way
@SwoleKitchen
@SwoleKitchen 2 ай бұрын
@@VJSCHOOL yeah I got it to run stable diffusion but it was quite slow, and then I couldn’t figure out how to put it in touch designer, I’ll just bite the bullet return this computer and get one with an nvidia videographics card
@Tanya_Mist
@Tanya_Mist 2 ай бұрын
@@SwoleKitchen yep 😄
@SwoleKitchen
@SwoleKitchen 3 ай бұрын
I really need a computer to do this. is there a way I could offload that GPU onto Google Collab?
@VJSCHOOL
@VJSCHOOL 3 ай бұрын
TouchDiffusion component required TouchDesigner, so it can’t run in Google Collab. You can try with original StreamDiffusion repo.
@SwoleKitchen
@SwoleKitchen 3 ай бұрын
@@VJSCHOOL - Sigh guess i just need better hardware.
@SwoleKitchen
@SwoleKitchen 3 ай бұрын
@@VJSCHOOLsweet I’ll try that
@SwoleKitchen
@SwoleKitchen Ай бұрын
@@VJSCHOOL I got a new computer with a 3060 Ti =D
@OrpheusMusicOffice
@OrpheusMusicOffice 2 ай бұрын
how about mac~ pls❤
@VJSCHOOL
@VJSCHOOL 2 ай бұрын
Only NVIDIA GPU
@ed6280
@ed6280 2 ай бұрын
anybody test 4080 laptop fps?
@VJSCHOOL
@VJSCHOOL 2 ай бұрын
4070 Laptop - 24 FPS with SD Turbo 512x512
@galaxyfrog-dot-org
@galaxyfrog-dot-org 2 ай бұрын
Faster than stream diffusion?
@alexandraganiari706
@alexandraganiari706 2 ай бұрын
I get this error "Error installing packages: torch==2.1.0, Failed to install TensorRT" during the installation process. Any ideas how to fix this?
@VJSCHOOL
@VJSCHOOL 2 ай бұрын
Try with portable version
@alexandraganiari706
@alexandraganiari706 2 ай бұрын
@@VJSCHOOL I fixed this error but again, when I click on the "make engine" button, It does not work and a simple "error" appears without any info about it.
How to connect everything to Stable Diffusion
11:21
VJ SCHOOL
Рет қаралды 25 М.
Интерактивный Stable Diffusion в TouchDesigner
8:11
Как мы играем в игры 😂
00:20
МЯТНАЯ ФАНТА
Рет қаралды 3,4 МЛН
She's very CREATIVE💡💦 #camping #survival #bushcraft #outdoors #lifehack
00:26
Setting up your system for StreamDiffusion TD
15:25
Blake Marques Carrington
Рет қаралды 9 М.
ControlNet in TouchDesigner - StreamDiffusionTD 0.2.2
25:58
dotsimulate
Рет қаралды 4,8 М.
Volumetric Raymarching in TouchDesigner Explained
26:21
Josef Pelz
Рет қаралды 465
StreamDiffusionTD 0.2.0 [ Installation + Setup ]
10:49
dotsimulate
Рет қаралды 7 М.
Render like a professional in Blender (ACES, View Layers, Passes)
34:21
This Free AI Tool Will Create Beautiful Graphics in Seconds
13:17
Rick Mulready
Рет қаралды 82 М.