Real time Stable Diffusion in TouchDesigner

Поделиться
HTML-код
  • Опубликовано: 4 ноя 2024

Комментарии • 113

  • @burakuville
    @burakuville 4 месяца назад +2

    amazing job explaining the entire process...

  • @birderwang
    @birderwang 2 дня назад

    Thank you very much for sharing this video!

  • @andreyeduardo4169
    @andreyeduardo4169 7 дней назад

    Increible trabajo bro, saludos desde Costa Rica

  • @alessandrosaracino5463
    @alessandrosaracino5463 4 месяца назад +2

    this is great! lean and clean, thank you!

  • @Remvisuals
    @Remvisuals 4 месяца назад +2

    instnaly fast and so nice to be in 512, congrats on this one, cant wait for more features!

    • @VJSCHOOL
      @VJSCHOOL  4 месяца назад +1

      Custom resolutions already available, but keep in mind, that it will affect FPS.

    • @Remvisuals
      @Remvisuals 4 месяца назад

      @@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!!

  • @marlus
    @marlus 4 месяца назад

    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.

  • @lematchafrappe
    @lematchafrappe Месяц назад

    Thanks for making this free, much love

  • @zohebmamoo2031
    @zohebmamoo2031 20 дней назад

    Amazing video, what are the steps to have live feedback from the camera, remove background then generate on what's left? Like reacting to someone moving live

    • @birderwang
      @birderwang 2 дня назад

      you can use TOOP> 'Nvidia Background'

  • @arshinazizi
    @arshinazizi Месяц назад

    Thanks for sharing your knowledge , i appreciate it 🎉

  • @Cosmimesis
    @Cosmimesis 26 дней назад

    amazing and quick tutorial! DO you know how to fix the stable immage? becasue in my case is not generating new ones.. THANKS!

  • @julianhaidbaner1634
    @julianhaidbaner1634 День назад

    Hi, i want to tell if there is some solucion to this, when a press load engine, nothing happens at all, thanks you very much for the sharing this video is great !

  • @GIANNIANER
    @GIANNIANER 2 месяца назад

    thank you so much! great tutorial. is it possible to use other kind of
    models?

  • @eurria
    @eurria 2 месяца назад

    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...

  • @MohamedAli-nb9qk
    @MohamedAli-nb9qk 3 месяца назад +1

    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 2 месяца назад

      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

  • @RajaSinga-w6u
    @RajaSinga-w6u 2 дня назад

    "Dependencies not installed" how do i solve this problem?

  • @archlabofficial
    @archlabofficial 11 дней назад

    i have windows 10 so i will install cudas 10 version right ?

  • @alicekebornel2599
    @alicekebornel2599 6 дней назад

    when i hit pulse to refresh the engine nothing happens, engine is missing inside TD but not inside folder "checkpoints". started the pc and TD several times, doesnt help :( what could it be?

  • @cayetanojozami4067
    @cayetanojozami4067 4 месяца назад +1

    Amazing

  • @cozysun5377
    @cozysun5377 24 дня назад

    Can I use Lora module to make a engine?😢

  • @SatSitSat
    @SatSitSat 4 месяца назад

    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  4 месяца назад

      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.

  • @TheKunal97
    @TheKunal97 2 дня назад

    [W] Model does not contain ONNX domain opset information! Using default opset.
    UNet: original .. 0 nodes, 0 tensors, 0 inputs, 0 outputs
    UNet: cleanup .. 0 nodes, 0 tensors, 0 inputs, 0 outputs
    [I] Folding Constants | Pass 1
    [W] Model does not contain ONNX domain opset information! Using default opset.
    Only support models of onnx opset 7 and above.
    getting this error, while creating the engine from model, anybody knows the fix?

  • @channelbolabaru
    @channelbolabaru 2 месяца назад +1

    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

  • @천재영-l1f
    @천재영-l1f 4 месяца назад +1

    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 :(

  • @RStudioV53
    @RStudioV53 27 дней назад +1

    Hello, I thought the video was excellent, thanks for sharing the info. I'm on the last step, but when I put an image in TD it doesn't generate the video as fluidly as you do, it gets stuck and only broken images appear, and it says "Error- No module named "steamDiffusion" what can I do?

  • @hppdms
    @hppdms 3 месяца назад +1

    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 =?

    • @Cosmimesis
      @Cosmimesis 26 дней назад

      ehi, i have the same issue.. did u find out how to fix it?

  • @prictor
    @prictor 4 месяца назад +2

    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  4 месяца назад

      Create issue on GitHub or Discord and share full log.

    • @m.s.kostin
      @m.s.kostin Месяц назад

      Did you find the solution? Same issue

  • @pocong9867
    @pocong9867 2 месяца назад

    I have tried it.. but say try experimenting with my video camera will it not work?

  • @oakland439
    @oakland439 2 месяца назад +2

    does this work with MacOS Silicone?

    • @touchdesigner2967
      @touchdesigner2967 Месяц назад

      I was wondering the same thing...

    • @lematchafrappe
      @lematchafrappe Месяц назад

      I was able to run streamdiffusion by it self, works great

    • @lematchafrappe
      @lematchafrappe Месяц назад +2

      Okay. So basically this utilizes a tensorrt engine to render in Touchdesinger. This needs an Nvidia card so no for a mac.

  • @苏传宇-o8q
    @苏传宇-o8q 4 месяца назад +2

    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  4 месяца назад

      That’s mean either model or engine can’t be found

    • @yanyu813
      @yanyu813 4 месяца назад

      Have you solved it?

    • @VJSCHOOL
      @VJSCHOOL  4 месяца назад

      @@yanyu813 download portable version on Github and try with it.

    • @StanislavDrca
      @StanislavDrca Месяц назад

      @@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!

  • @zukabaazov8014
    @zukabaazov8014 Месяц назад

    where i prerating models?

  • @maryamdevries8073
    @maryamdevries8073 17 дней назад

    I keep getting an error when i want to create the engine. Any one know what NameError: name 'StreamDiffusionWrapper' is not defined means?

  • @detailsstudio
    @detailsstudio 4 месяца назад +1

    Thanks bro

  • @developmentmotion4765
    @developmentmotion4765 4 месяца назад

    amazing... this is realy faster,
    can we put lora and vae to the folder?
    what lora and vae for the best creation

    • @developmentmotion4765
      @developmentmotion4765 4 месяца назад

      and why icant change the seed ?

    • @VJSCHOOL
      @VJSCHOOL  4 месяца назад

      Tiny VAE already baked in for best performance. Loras not supported yet.

    • @VJSCHOOL
      @VJSCHOOL  4 месяца назад

      Seed can be changed in TouchDesigner with seed parameter

  • @PeterBowlesify
    @PeterBowlesify 4 месяца назад

    Cool! Can it work with controlnet?

    • @VJSCHOOL
      @VJSCHOOL  3 месяца назад

      No support for now

  • @MaxiCrows
    @MaxiCrows 2 месяца назад

    its posible with 8gvram?

  • @王梓
    @王梓 2 месяца назад

    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

  • @mahmoud0800
    @mahmoud0800 3 месяца назад

    thats amazing but i got an ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (tensorrt) please help!

    • @mahmoud0800
      @mahmoud0800 3 месяца назад

      "No module named 'tensorrt'"

  • @alexdoho
    @alexdoho 4 месяца назад

    What's the difference between this and streamdiffusion?

    • @VJSCHOOL
      @VJSCHOOL  4 месяца назад +1

      Explained in first 3 min of video
      It’s near x2 faster

  • @leonidkrykhtin
    @leonidkrykhtin 4 месяца назад

    How to increase CFG to 7-10 instead of 1?
    The quality of generations is very low at 1.

    • @VJSCHOOL
      @VJSCHOOL  4 месяца назад

      You should try to increase sampling steps (batch size)

  • @kafidov
    @kafidov 4 месяца назад

    As I understand it, this miracle cannot be run under Mac?

    • @VJSCHOOL
      @VJSCHOOL  4 месяца назад

      Only PC & Windows

  • @pocong9867
    @pocong9867 2 месяца назад

    HOW MUCH FPS YOU GET MY FRIEND

  • @N92601
    @N92601 3 месяца назад

    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 3 месяца назад

      seems the same problem with a default moveifileintop

    • @N92601
      @N92601 3 месяца назад

      I figured out I had to reinitalize pulse touchddiffusion folder and possibly clear log too I did both then reload engine

  • @dleon9781
    @dleon9781 4 месяца назад

    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  4 месяца назад

      Create issue on GitHub or Discord with full log

  • @michaelkollar6299
    @michaelkollar6299 3 месяца назад

    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 2 месяца назад

      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.

  • @placebo_yue
    @placebo_yue 4 месяца назад

    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  4 месяца назад

      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

  • @TheDciel1
    @TheDciel1 4 месяца назад

    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 4 месяца назад

      chech where the python with "where python" command and copy paste in to webui.bat like he said

    • @radinayotova5510
      @radinayotova5510 Месяц назад

      you need to install python first; if you don't have it - it won't be able to create virtual environment

  • @MichelleCarrasco
    @MichelleCarrasco 3 месяца назад

    Hellllooooo, I just arrive untill 4:05 and this happen : NameError: name 'StreamDiffusionWrapper' is not defined
    Any idea how to fix this ?

    • @VJSCHOOL
      @VJSCHOOL  3 месяца назад

      There is portable version on GitHub, better to try with it

  • @SwoleKitchen
    @SwoleKitchen 3 месяца назад

    Can you do this with AMD Ryzen Somehow?

    • @VJSCHOOL
      @VJSCHOOL  3 месяца назад

      For now there is no way

    • @SwoleKitchen
      @SwoleKitchen 3 месяца назад +1

      @@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 3 месяца назад

      @@SwoleKitchen yep 😄

  • @DenizKurt-q1k
    @DenizKurt-q1k 4 месяца назад

    Hi! Does it also work with Mac?

    • @VJSCHOOL
      @VJSCHOOL  3 месяца назад

      Only NVIDIA GPU

  • @SwoleKitchen
    @SwoleKitchen 4 месяца назад

    I really need a computer to do this. is there a way I could offload that GPU onto Google Collab?

    • @VJSCHOOL
      @VJSCHOOL  4 месяца назад

      TouchDiffusion component required TouchDesigner, so it can’t run in Google Collab. You can try with original StreamDiffusion repo.

    • @SwoleKitchen
      @SwoleKitchen 4 месяца назад

      @@VJSCHOOL - Sigh guess i just need better hardware.

    • @SwoleKitchen
      @SwoleKitchen 4 месяца назад

      @@VJSCHOOLsweet I’ll try that

    • @SwoleKitchen
      @SwoleKitchen 2 месяца назад

      @@VJSCHOOL I got a new computer with a 3060 Ti =D

  • @th3curator
    @th3curator 4 месяца назад

    I am getting an error: name 'StreamDiffusionWrapper' is not defined. Any ideas?

    • @carloslavina9779
      @carloslavina9779 3 месяца назад

      same over here :( did you solve it?

    • @VJSCHOOL
      @VJSCHOOL  3 месяца назад

      Try portable version

    • @alexandraganiari706
      @alexandraganiari706 3 месяца назад

      any progress with portable version? I can not download it

  • @jeremietoussaint4085
    @jeremietoussaint4085 Месяц назад +3

    I got this error when i click on Make Engine "UnboundLocalError: cannot access local variable 'pipe' where it is not associated with a value"

  • @OrpheusMusicOffice
    @OrpheusMusicOffice 3 месяца назад

    how about mac~ pls❤

    • @VJSCHOOL
      @VJSCHOOL  3 месяца назад

      Only NVIDIA GPU

  • @tadaizm
    @tadaizm Месяц назад

    норм

  • @ed6280
    @ed6280 3 месяца назад

    anybody test 4080 laptop fps?

    • @VJSCHOOL
      @VJSCHOOL  3 месяца назад

      4070 Laptop - 24 FPS with SD Turbo 512x512

  • @galaxyfrog-dot-org
    @galaxyfrog-dot-org 3 месяца назад

    Faster than stream diffusion?

  • @alexandraganiari706
    @alexandraganiari706 3 месяца назад

    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  3 месяца назад

      Try with portable version

    • @alexandraganiari706
      @alexandraganiari706 3 месяца назад

      @@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.

    • @drash59
      @drash59 26 дней назад

      ​@@VJSCHOOL ​ Did you find a solution? I have the same problem... "Invalid Engine; Please ensure the engine was built correctly"
      I've Nvidia Quadro P4000...

    • @drash59
      @drash59 26 дней назад

      @@alexandraganiari706 Did you find a solution? I have the same problem... "Invalid Engine; Please ensure the engine was built correctly"
      I've Nvidia Quadro P4000...