AMD GPU + Windows + ComfyUI! How to get comfyUI running on windows with an AMD GPU!

Поділитися
Вставка
  • Опубліковано 26 вер 2024

КОМЕНТАРІ • 390

  • @ner0718
    @ner0718 7 місяців тому +18

    You are now the only channel I watch when it comes to stable diffusion tutorials and similar. I can finally generate awsome pictures of frogs in suits on my amd gpu.

    • @FE-Engineer
      @FE-Engineer  7 місяців тому +2

      😂😂 yessss. I love it. I am hoping to get some stuff in my website before too long for people to either generate or post SD images. And I would absolutely love to see frogs in suits that you generated.
      Thank you so much for watching!

    • @Firenbrimstone
      @Firenbrimstone 7 місяців тому +1

      I second this.. many suited frogs are being made. Been trying to get this to work for ages and this by far seems to be the easiest set up. Thanks!@@FE-Engineer

    • @FE-Engineer
      @FE-Engineer  7 місяців тому +1

      You are very welcome! I’m really glad you got it working and are having fun with it!
      Still working on the website and another site. But will be getting the ability for folks to send up photos or images from AI sometime in the not too distant future!

    • @Wassco
      @Wassco 7 місяців тому

      Exactly what i was going to post!

  • @REDAKTORViii
    @REDAKTORViii 8 місяців тому +19

    Thank you, i have followed about 20 different tutorials and none of them have worked, your video was very easy to follow and worked perfectly on my 7900xtx, again thank you, you have put to bed hours of turmoil from me trying to get this to work, excellent video

    • @FE-Engineer
      @FE-Engineer  8 місяців тому +6

      You are very welcome! I’m glad it worked and fixed your problems! Thank you for watching!

  • @aadilpatel6591
    @aadilpatel6591 8 місяців тому +4

    Thank you. The fact that I dont have to convert the models is a bonus. I know it's slower in image generation but less headaches for sure. Great job.

    • @FE-Engineer
      @FE-Engineer  8 місяців тому

      You are welcome. Thank you so much for watching! I am waiting for ROCm on windows and then everyone can basically do everything with all of the different tools out there without really any compromises. Good speed and good support. One of these days….

  • @androidgg5854
    @androidgg5854 9 місяців тому +5

    Hey man, I want to thank you from the bottom of my heart, I was having trouble with this waiting time, easy and clear tutorial to follow, I complete the process now in 10 seconds, it was around 1m30, thank you for this Christmas gift ! Merry Christmas

    • @FE-Engineer
      @FE-Engineer  9 місяців тому +1

      Merry Christmas and happy holidays to you and your family as well. Thank you so much I am glad it helped! :)

  • @javicho8982
    @javicho8982 6 днів тому

    bro, thank you so much. i saw many tutorials, but this is the best

  • @disboxex
    @disboxex 9 місяців тому +4

    Thank you! FE-Engineer, I can run it now with my RX580 on win10,Good for you and Happy new year!

    • @FE-Engineer
      @FE-Engineer  9 місяців тому +1

      I’m glad it helped! Thank you for watching and the kind words! Happy new years to you and your family as well!

  • @LocherYT
    @LocherYT 3 місяці тому

    insanely straightforward, straight to the point and no questions left remaining. Thank you very much for this tutorial

    • @FE-Engineer
      @FE-Engineer  3 місяці тому

      You are very welcome thank you for watching!

  • @technoprincess95
    @technoprincess95 8 місяців тому +1

    Haven't seen any updates on comfyui github page about this ability of running comfy on windows. 😮 But happy to know this finally works. Amd is also cheaper ,and amd holders no need to switch for nvi

    • @FE-Engineer
      @FE-Engineer  8 місяців тому

      It worked for me and was mostly straight forward :)

  • @ajphilippineexpat
    @ajphilippineexpat 4 місяці тому +1

    Wow that really helped! Not as fast as yours since I had an error that shifted some of the work back to the CPU. But 3 mins is much better than 50! The error was
    The operator 'aten::count_nonzero.dim_IntList' is not currently supported on the DML backend and will fall back to run on the CPU. This may have performance implications.

    • @ajphilippineexpat
      @ajphilippineexpat 4 місяці тому +1

      And DirectML is saying I've only got 1GB VRAM, but I'm also using a 7900XTX

    • @browse7288
      @browse7288 4 місяці тому +1

      @@ajphilippineexpat Same error

    • @derboki88
      @derboki88 2 місяці тому +1

      @@ajphilippineexpat same for a friend of mine as well. Anyone knows how to fix this?

  • @RuemerRoo
    @RuemerRoo 25 днів тому

    After hours of various tutorials this was the only one that worked for me. Thanks!

    • @FE-Engineer
      @FE-Engineer  24 дні тому

      You are welcome! Thanks for watching!

  • @verkadylp.5616
    @verkadylp.5616 5 місяців тому +1

    Thank you for your video FE-Engineer! It works so perfectly!

    • @FE-Engineer
      @FE-Engineer  5 місяців тому

      You are very welcome! Thank you for watching!

  • @MSCardinal
    @MSCardinal 9 місяців тому +1

    Thanks a lot! I've been eagerly awaiting this video. I wish you happy holidays!

    • @FE-Engineer
      @FE-Engineer  9 місяців тому

      You are very welcome! Sorry it took a while I’ve been debating about what and how much to include and do for comfyui. And I wanted to make sure it could work on windows without ROCm as a requirement.

  • @policani
    @policani 7 місяців тому +6

    Lost me at 2:23 - ModuleNotFoundError: No module named 'safetensors'

    • @Remzicaliskan
      @Remzicaliskan 4 місяці тому

      same error

    • @Remzicaliskan
      @Remzicaliskan 4 місяці тому +3

      solved it with '' pip install -r requirements.txt' command

    • @RuemerRoo
      @RuemerRoo 25 днів тому

      @@Remzicaliskan Thanks for this, was stuck here, too, and this fixed it.

  • @soqei
    @soqei Місяць тому +3

    How to fix comfyui detecting only 1gb vram

    • @Zimur85
      @Zimur85 28 днів тому

      Same problem here.

  • @salvadorfonseca165
    @salvadorfonseca165 6 місяців тому

    Oh sweet baby Jesus, that is so much fast than running off my processor. Thank you so much.

  • @cipus2009
    @cipus2009 6 місяців тому

    Thanks for this video.. now I can run comfyui on my amd gpu, your video is the easiest tutorial to follow 👍👍👍

  • @ffwrude
    @ffwrude 2 місяці тому +3

    Does someone know where i can tell comfy to use more than 1024 ? i have 12gb

    • @Zimur85
      @Zimur85 28 днів тому

      Same here, but I have 16gb.

  • @PatientXero607
    @PatientXero607 Місяць тому +1

    git doesn't come standard with Anaconda, so you have to remember to install it: conda install -c anaconda git

  • @mahyar2727
    @mahyar2727 6 місяців тому +3

    How to install the ComfyUI Manager?

  • @Gwaboo
    @Gwaboo 7 місяців тому +1

    rx6650xt (in a SDXL workflow) ~22s/iteration with dreamshaperXL turbo v2, ~12s/iteration with SDXLRefiner v1.0_0.9vae and ~ 11s/iteration with SDXLRefiner v1.0

  • @Farz8806
    @Farz8806 5 місяців тому +8

    Lost me at "add directory to path"

    • @spacetart
      @spacetart 2 місяці тому

      same here, I still tried it and now im stuck at "The system cannot find the path specified." when i tried "cd comfyui"

    • @ed1k37
      @ed1k37 2 місяці тому

      @@spacetartadd .exe at the end of the name "minisota" in the directory path at the installation.
      should solve it

    • @spacetart
      @spacetart 2 місяці тому

      @@ed1k37 I managed to back track it, it was on a different file forlder but now im stuck at something else, when I run "python main.py --directml" its showing me "[Errno 2] No such file or directory"

  • @Whyidk
    @Whyidk 6 місяців тому

    amazing video! thank you for this straightforward guide :)

    • @FE-Engineer
      @FE-Engineer  6 місяців тому

      You are welcome! Thank you for watching and for the kind words. :)

  • @cartoonworld1000
    @cartoonworld1000 6 місяців тому +2

    Does this run quicker than stable-diffusion-webui-directml on Windows using a 7900 XTX with zluda? I'm trying to avoid using shark because it takes up too much space and takes too long.

    • @FE-Engineer
      @FE-Engineer  6 місяців тому +1

      No it does not.

    • @FE-Engineer
      @FE-Engineer  6 місяців тому

      Auto1111 with zluda
      Or
      Sd.next with zluda will be the fastest most likely.

    • @cartoonworld1000
      @cartoonworld1000 6 місяців тому +1

      @@FE-Engineerthe auto1111 works for me, but sd.next gives me some issues

  • @stephankuebler762
    @stephankuebler762 2 місяці тому

    THX - Cause of you (and some tweek from my side) I can Render with ComfyUI, using my RX580 Radeon Card 👍
    (ADD - on a 1920x1080 Picture i get 34s/it and on a 512x512 around 2s/it)

  • @TheUltraDavDav
    @TheUltraDavDav 8 місяців тому

    well desirved sub and like, tried a while back for days on end and no luck and this strait up worked

    • @TheUltraDavDav
      @TheUltraDavDav 8 місяців тому

      also can run from bat file if conda is on path, i followed this tutorial:
      ua-cam.com/video/zFKD2Q9m_nQ/v-deo.html

    • @FE-Engineer
      @FE-Engineer  8 місяців тому

      Yea. For some reason my conda was added to path but was being finicky. I ended up more recently largely ditching conda because for videos I end up installing stuff a lot and conda overall was becoming a bit more hurtful than helpful overall in my specific scenario. :-/

    • @FE-Engineer
      @FE-Engineer  8 місяців тому

      Thank you so much! :) I’m glad this helped you!

  • @alxlej
    @alxlej 4 місяці тому

    dude! thank you _so_ much for this. seriously.

  • @LynxBite
    @LynxBite 8 місяців тому +2

    Any knows fixes for
    RuntimeError: Device type privateuseone is not supported for torch.Generator() api.
    ?

    • @FE-Engineer
      @FE-Engineer  8 місяців тому

      I have never seen that. What were you doing when you got that error?

    • @double.parker
      @double.parker 8 місяців тому

      Same issue, when it hits ksampler

    • @double.parker
      @double.parker 8 місяців тому

      Edit line 31:
      C:\Users\[USER]\miniconda3\envs\comfyui\Lib\site-packages\torchsde\_brownian\brownian_interval.py
      From:
      generator = torch.Generator(device).manual_seed(int(seed))
      To:
      generator = torch.Generator().manual_seed(int(seed))
      Restart comfyui from scratch

    • @highsenberg1502
      @highsenberg1502 7 місяців тому

      @@double.parker same here Error occurred when executing KSampler:

  • @moviefamily1110
    @moviefamily1110 Місяць тому

    work very nice , thanks for you help

  • @joelengelhardt3536
    @joelengelhardt3536 7 місяців тому

    works perfectly, thanks!

  • @pierregodart4097
    @pierregodart4097 4 місяці тому

    Hey FE-E ! Once again nice tutorial ! Could you please consider doing a tutorial for Comfyui with Zluda ? Thank you and keep up with the good work !

  • @SINEWEAVER-
    @SINEWEAVER- 4 місяці тому +1

    error import safetensors.torch
    ModuleNotFoundError: No module named 'safetensors'

  • @lukacrvenkovic8577
    @lukacrvenkovic8577 7 місяців тому

    thank you very much!!! up and working, great tut!

    • @FE-Engineer
      @FE-Engineer  7 місяців тому

      Glad it worked! Heh recently someone had a comment saying this tutorial does not work anymore? So interesting that it did work without issue for you. Glad you got it up and running! :) thank you for watching!

  • @konstabelpiksel182
    @konstabelpiksel182 7 місяців тому

    works flawlessly! thanks man!

    • @FE-Engineer
      @FE-Engineer  7 місяців тому

      Glad it helped! Thank you for watching!

  • @Adsen83
    @Adsen83 5 місяців тому

    They seem to have updated ComfyUI and this is no longer working :/

    • @stephankuebler762
      @stephankuebler762 2 місяці тому

      Works like a Charm... I'm just done it myself and im rendering Pictures while i write this.

  • @willismiller7035
    @willismiller7035 2 місяці тому +2

    is this possible without adding miniconda to path? i dont wanna screw my computer up lol
    UPDATE! I did get it running w/o having to add to path...had to downgrade numpy tho...

    • @Sereath
      @Sereath 20 днів тому

      Hello,
      do you remember which version you downgraded to?

    • @willismiller7035
      @willismiller7035 20 днів тому +1

      @@Sereath i dont exactly, i honestly got it working played around with it a bit and dropped it, but i wanna say 7.x or 2.x, whichever sounds more relevant...

    • @Sereath
      @Sereath 19 днів тому

      @@willismiller7035 Thank you.

  • @henrymum1558
    @henrymum1558 8 місяців тому +1

    After pip install torch-directml i got ERROR:
    (base) C:\Users\user\ComfyUI>pip install torch-directml
    Defaulting to user installation because normal site-packages is not writeable
    ERROR: Could not find a version that satisfies the requirement torch-directml (from versions: none)
    ERROR: No matching distribution found for torch-directml
    How to fix who know? Thanks!))

    • @FE-Engineer
      @FE-Engineer  8 місяців тому

      Sounds like a python version issue, or potentially a permissions issue.
      I would make sure you have things setup appropriately and using the correct python version.

  • @康一-s2o
    @康一-s2o 2 місяці тому

    really really helpfull !!! 5600 works Thank you.

  • @Morencial
    @Morencial 6 місяців тому

    Thank you dude, it works!

    • @FE-Engineer
      @FE-Engineer  6 місяців тому

      Hooray! Thanks for watching! :)

  • @nextgodlevel
    @nextgodlevel 9 місяців тому

    another great video, I was very excited for this video >❤❤❤❤

    • @FE-Engineer
      @FE-Engineer  9 місяців тому +1

      Thank you so much! I am glad this helped. Comfyui is awesome but definitely has a learning curve. So I tried to keep it really straight forward as there is a ton of creators going in depth for comfyui.

  • @JosephJensen_1
    @JosephJensen_1 9 місяців тому +1

    Excellent... thanks so much

    • @FE-Engineer
      @FE-Engineer  9 місяців тому

      You are very welcome! I’m glad you liked it and found this helpful! :)

  • @SuccessCircuit-yh3fe
    @SuccessCircuit-yh3fe 21 день тому

    thank you very much

  • @salvadorfonseca165
    @salvadorfonseca165 6 місяців тому

    Fun fat, this also works for the portable one so it's easy to install custom nodes.

  • @JhonaVega
    @JhonaVega 3 місяці тому

    Que capooooooooooo, sos el mejor! I love you bro

  • @sideshow00
    @sideshow00 8 місяців тому +1

    No module named: 'torch_directml'

    • @FE-Engineer
      @FE-Engineer  8 місяців тому

      You are probably not using the right python version.
      Something in your setup is different…

  • @NO-we-ded-
    @NO-we-ded- 7 місяців тому +1

    i seem to be getting [error executing checkpontloadersimple] the torch not compiled with cuda, followed all the steps. made sure im using the (python main.py --directml). Is downloading the latest miniconda an issue? even though i typed the python3.10.12. And i made sure i clicked on path when installing the miniconda
    *tried it with miniconda 10 and still same error

    • @FE-Engineer
      @FE-Engineer  7 місяців тому

      Code changed. I’m looking into it. If you roll back the git code it will work.

    • @xythrr
      @xythrr 7 місяців тому

      @@FE-Engineer ah, that explains my problems.

  • @rabje1998
    @rabje1998 5 місяців тому +1

    I actually made a start.bat inside the comfyUI folder with the following code:
    @echo off
    call conda activate comfyUI
    call python main.py --directml
    The issue is that if you don't have a prompt open and try to run without the double call it does not work. Adding the second call to ensure that the python call is deployed inside the opened up prompt when clicking on the file. Hope this helps!

  • @gundamfans45
    @gundamfans45 Місяць тому

    is it normal for comfyui to allocate only 1gb of total vram? i tried using flux dev, from comfyui but always endup with "gpu ran out of memory" error.

  • @ScottNygren
    @ScottNygren Місяць тому

    I'm getting this
    Warning torch.load doesn't support weights_only on this pytorch version, loading unsafely. (among other things) and then a big error in comfyUI when it hits the ksampler. Maybe I need a newer version of python or something from the video? (I have no idea about python, I just followed all the instruction :D )

  • @damienpe3357
    @damienpe3357 9 місяців тому

    I have a similar AMD card and did not want to run Linux, thank you for your videos!

    • @FE-Engineer
      @FE-Engineer  9 місяців тому

      You are very welcome! I’m glad it helped!

  • @zygimantastauras
    @zygimantastauras 8 місяців тому

    This explanation is so easy - thank you amazingly!!!!! Will try to generate something interesting, I fully support and love you ❤❤🤖🤖👾👾📎📎

    • @FE-Engineer
      @FE-Engineer  8 місяців тому

      You are very welcome! Thank you so much for watching and your support!

  • @laser3345
    @laser3345 4 місяці тому +1

    Can you make a video to Stable Video diffusion with ComfyUI on AMD GPU?
    Always get this:
    Error occurred when executing KSampler:
    input must be 4-dimensional
    Thank you! Great Video

  • @mingJiu-y5n
    @mingJiu-y5n 19 днів тому

    Accordding /pytorch/issues/78341 , conda create --name comfyui python=3.11, pip install numpy==1.26.4, work on my pc. thanks for your work

  • @airtiy
    @airtiy Місяць тому

    when i want to clone the link it said git isnt a right command even though i installed it

  • @canalpan9
    @canalpan9 6 місяців тому +1

    '' ModuleNotFoundError: No module named 'safetensors' '' error after entering 'python main.py --directml'

    • @stephankuebler762
      @stephankuebler762 2 місяці тому

      De-Install Torch and Re-Install it again that will fix it... I had same Problem ✌(Un-Install = pip uninstall torch) Then use the Line in the Video to Re-Install

  • @RosaMunwalker
    @RosaMunwalker 9 місяців тому

    thanks so much, comfyui somehow performs a litlte bit better than sd for amd at least in my setup

    • @팟-i1r
      @팟-i1r 9 місяців тому

      wow, how? mine on comfy is much worse, only ~2it/sec while in A1111 i got up to ~14it/s on my 7800xt

    • @FE-Engineer
      @FE-Engineer  9 місяців тому

      You are welcome! That’s crazy, for me it is considerably slower. But I’m glad it is working well for you!

  • @ascursol
    @ascursol 2 місяці тому

    Sadly not working for me - always gives out an Error including
    ___________________
    UserWarning: The operator 'aten::count_nonzero.dim_IntList' is not currently supported on the DML backend and will fall back to run on the CPU. This may have performance implications. (Triggered internally at C:\__w\1\s\pytorch-directml-plugin\torch_directml\csrc\dml\dml_cpu_fallback.cpp:17.)
    ___________________
    Do you maybe have a hint for me?

    • @stephankuebler762
      @stephankuebler762 2 місяці тому +1

      Strange Path... DeInstall Torch and proper Install it into Pyton

  • @spacetart
    @spacetart 2 місяці тому

    Help please, when I run "python main.py --directml" its showing me "[Errno 2] No such file or directory"

  • @GameplayPhilosophy
    @GameplayPhilosophy 9 місяців тому +1

    hey thank for the video, but i get an error saying AssertionError: Torch not compiled with CUDA enabled. Know how to fix it?

    • @FE-Engineer
      @FE-Engineer  9 місяців тому

      Sounds like you aren’t using directml torch to me?

    • @LRTOTAL
      @LRTOTAL 9 місяців тому

      Hey try this: python main.py --directml
      Otherwise I had the same error!
      Comfy tried to call torch.cuda.current_device(), and it could not of course:
      [...]
      File "G:\AI\ComfyUI\comfy\model_management.py", line 83, in get_torch_device
      return torch.device(torch.cuda.current_device())
      File "G:\AI\VirtualEnvs\win_comfy\lib\site-packages\torch\cuda\__init__.py", line 674, in current_device
      _lazy_init()
      File "G:\AI\VirtualEnvs\win_comfy\lib\site-packages\torch\cuda\__init__.py", line 239, in _lazy_init
      raise AssertionError("Torch not compiled with CUDA enabled")
      AssertionError: Torch not compiled with CUDA enabled

  • @user-mq8km2bg8z
    @user-mq8km2bg8z 8 місяців тому

    A video on getting koyha ss to play nice with amd would be super useful. Can install it fine on Linux but it either wants to only use CPU or throws a ton of errors.

  • @TheShox79
    @TheShox79 9 місяців тому +3

    Great video! Happy Xmas!

    • @FE-Engineer
      @FE-Engineer  9 місяців тому

      Thank you so much. Merry Christmas and happy holidays to you and your family as well!
      Spend time with your loved ones!

  • @Travis-jl3wx
    @Travis-jl3wx 3 місяці тому

    i dont know what i am doing wrong, I have tried 4 times, the last time I even fresh installed windows first. these tutorials never work for me and I cant figure out what I am doing wrong.

  • @yuki-i9l5l
    @yuki-i9l5l 6 місяців тому

    hello, i have this problem : CondaError: Run 'conda init' before 'conda activate'

  • @jokrmdr2052
    @jokrmdr2052 9 місяців тому

    thank you from french!!!

    • @FE-Engineer
      @FE-Engineer  9 місяців тому +1

      You are very welcome! Merry Christmas and happy holidays to you and your family!

  • @check9094
    @check9094 5 місяців тому

    Is your newest video strictly better than this one or is this still fine? I'm new to running sd locally, trying to use a 6900xt and windows.

  • @MrLogansrun35
    @MrLogansrun35 2 місяці тому

    how do we get the manager working on amd

  • @orucreiss
    @orucreiss 9 місяців тому +2

    thanks for the video. hows comfyui compared to a1111 for amd gpus?

    • @FE-Engineer
      @FE-Engineer  9 місяців тому +2

      For me. On windows. Using directml and NOT using ROCm (like I use in Linux). It is about 40% of my normal it/s speed under similar circumstances. So it is a big decrease in performance.
      But. It works with everything I think. It is not limited to ONNX, and it should support all the fun stuff like inpainting controlnet etc as best I can tell.
      I have not played with those things on it in windows though so I will have to actually test to be sure.
      If someone absolutely wants all functionality and refuses to go to Linux. This is probably the best bet right now.

    • @orucreiss
      @orucreiss 9 місяців тому +1

      @@FE-Engineer i dont care speed in windows rather i need stability. i always run into vram issues on windows when using fork of a1111. only thing i want is seamless experience hence i have dual boot ubuntu

  • @pouchyCorp
    @pouchyCorp 7 місяців тому

    Love the tutorial, but I got all the steps as you said but when executing "python main.py --directml", I have the error "module 'torch' has no attribute 'Tensor'"
    Tried to search the issue but with no results ...

  • @astromaz
    @astromaz 2 місяці тому

    And what can be done to make comfyui work with stability matrix?

  • @yunakobravo70
    @yunakobravo70 Місяць тому

    not sure what you did differently from me, I followed verbatim and tried to run Flux with this set up. I keep getting a gpu device has been suspended. I also have 7900 xtx, 32 gbs of ram, ryzen 5900x. I've looked at drivers. There must be a better way?

  • @capt3951
    @capt3951 5 місяців тому

    how do i turn your conda commands into a bat file so i dnt have to type it everytime i start this comfy ui??????

  • @salvadorfonseca165
    @salvadorfonseca165 6 місяців тому +1

    How you make a bat file to automatically run it, paste what i put below into a bat file. Works for me.
    @echo off
    call conda activate comfyui
    python main.py --directml
    pause

  • @SunlikeCat
    @SunlikeCat 2 місяці тому

    hi, I am encountering a problem.
    the installation went well and I managed to launch comfyUI but once in front of the panels it is not possible to generate any image, because the panel which loads the checkpoint models does not work.
    it indicates "ckpt_name null" and when I interact it does not open any pop up with the list like in the video but goes to "ckpt_name undefined" and it is no longer possible to interact with the model selection line, although I have two models in my models folder.
    I don't understand what I did wrong. Thank you for answering me.

    • @factsamongus
      @factsamongus Місяць тому

      According to the instructions, Comfyui has been installed on drive C. You can check drive C and it will be there. The checkpoint must be saved on drive C.

  • @unknownguy8044
    @unknownguy8044 6 місяців тому

    (comfyui) C:\Users\mrodeon\ComfyUI>pip install torch-directml
    ERROR: Could not find a version that satisfies the requirement torch-directml (from versions: none)
    ERROR: No matching distribution found for torch-directml
    Anyone know how to fix it?

    • @FE-Engineer
      @FE-Engineer  6 місяців тому

      Might be the version of python you are using. But code has been updated since that video. Check the video description.

  • @Pixelplanet5
    @Pixelplanet5 4 місяці тому

    how does this work together with your AMD Zluda video from two months ago?
    can i just use ComfyUI with that setup as well without redoing everything?

  • @jameshenry347
    @jameshenry347 9 місяців тому +1

    Do you know if ComfyUI has the same problem with inpainting? The Automatic1111's couldn't inpaint with directml and it was only solved by using the commands:
    "--no-half --precision full --no-half-vae --opt-sub-quad-attention --opt-split-attention-v1".
    ComfyUI doesn't have these exact commands and like the extension "sd-webui-inpaint-anything" without them, the Face Detailer and other inpaint segments from "ComfyUI-Impact-Pack" throws the error:
    "The size of tensor a (0) must match the size of tensor b (256) at non-singleton dimension 1"

    • @FE-Engineer
      @FE-Engineer  9 місяців тому

      Honestly. I am not sure. I thought since it basically has a different overall architecture that it might not have the same fallbacks as using the directML fork of automatic1111.

    • @HeinleinShinobu
      @HeinleinShinobu 8 місяців тому

      have you found the solution for comfyui inpainting? Just find it really buggy with the result

    • @jameshenry347
      @jameshenry347 8 місяців тому +1

      @@HeinleinShinobu I found that Face Detailer from Impact Pack to be the best automated inpainting since it doesn't really search for CUDA (although if used with SAM, they must be loaded with CPU). While for manual masking, using ControlNet as auxiliary or using dedicated inpainting models was the only way to not get bad results

    • @HeinleinShinobu
      @HeinleinShinobu 8 місяців тому

      @@jameshenry347 I use SAM too but for some reason, when i click the area and click detect, it doesn't do its thing, i look at the cmd prompt and it has lots of error which i don't understand at all. Havent try Face Detailer yet.

    • @jameshenry347
      @jameshenry347 8 місяців тому

      @@HeinleinShinobu Well, when I used with Face Detailer, the SAM Loader node would always throw fatal errors if SAM was processed with the "auto" or "GPU" option and would only work with the "CPU" one, but never tried manually, so I don't know if the processing is the same way. I imagine it has to be CPU forced someway.

  • @highsenberg1502
    @highsenberg1502 7 місяців тому

    Error occurred when executing KSampler: i got this

  • @akisstavridis5977
    @akisstavridis5977 3 місяці тому

    Thank you for the tutorial, for some reason it wont let me cd like in 1:40 "The system cannot find the path specified." is the error.

  • @Takethatloveyou
    @Takethatloveyou 6 місяців тому

    i cannot thank you enough

    • @FE-Engineer
      @FE-Engineer  6 місяців тому

      :):) happy to help! Thanks for watching!

  • @KANGZHANG-q5r
    @KANGZHANG-q5r 6 місяців тому

    Hi,ERROR: Could not install packages due to an OSError: Missing dependencies for SOCKS support.Is there a good solution to this problem?

    • @FE-Engineer
      @FE-Engineer  6 місяців тому

      This is the first time anyone has mentioned this. My guess would immediately be your python version perhaps. Or the install did not finish or had a problem.

    • @KANGZHANG-q5r
      @KANGZHANG-q5r 6 місяців тому

      @@FE-Engineer Mine is a laptop with an integrated cpu, that's what's preventing it from running with the GPU put.

  • @Fallensickkunt
    @Fallensickkunt 7 місяців тому

    I get this error: Torch not compiled with cuda enabled. I think i just gonna buy a nvidia card. I been searching for solutions for 2 hours and couldnt find anything.. lmao

    • @FE-Engineer
      @FE-Engineer  7 місяців тому

      Yea. It seems they updated code. I really need to make new videos for these as they keep changing code around and re arranging things.

  • @BrostopherWade
    @BrostopherWade 5 місяців тому

    Are you having issues running img2vid? Anytime I try it fails durning ksample node🙃

  • @xqzmeh968
    @xqzmeh968 3 місяці тому

    thank you so much

  • @ChristopherPunton
    @ChristopherPunton 8 місяців тому

    Everything works great except I can not get Reactor Face swap working. Every time I load a face_restore_model and run it I get this error message "RuntimeError: Input type (torch.FloatTensor) and weight type (PrivateUse1FloatType) should be the same or input should be a MKLDNN tensor and weight is a dense tensor"

    • @FE-Engineer
      @FE-Engineer  8 місяців тому

      Might be a problem with torch and directml would be my guess.

  • @Anequit
    @Anequit 4 місяці тому

    Can we use zluda with comfy ui like in your automatic1111 zluda video?

  • @Johan-rm6ec
    @Johan-rm6ec Місяць тому

    Just curious, why did you chose an AMD card?

    • @FE-Engineer
      @FE-Engineer  Місяць тому

      Half the price for a better GPU in many ways (vram specifically). 4090s were melting power connectors when I bought it. And 3090s were 3 years old and the same price as a top of the line amd card. I wanted to run AI stuff so vram was pretty critical. And dropping off of the 3090 or 4090 meant big drops in vram on Nvidia cards unless you got an A series card.

  • @paulw7738
    @paulw7738 Місяць тому

    Oh you rock, anybody try Flux with AMD yet?

    • @FE-Engineer
      @FE-Engineer  Місяць тому

      Sorry. I have been moving and sort of out of it. What is flux with AI?

  • @Sereath
    @Sereath 20 днів тому

    Is it normal for it to take all your system RAM + the page file as well? On top of using all the VRAM from my 7900 XTX; 24GB of vram. 💀

    • @FE-Engineer
      @FE-Engineer  20 днів тому

      From my testing no. That is not normal. But it will depend on how much you have and the gpu and the model and your specific settings…

    • @Sereath
      @Sereath 19 днів тому

      @@FE-Engineer I see, thank you.
      32GB of RAM, W10, 7900 XTX Nitro+, Ive been experimenting with many CivitAI models. This stuff is painful.
      Edit: Oh yeah I do generates 4 images at a time, 512x512 each.

  • @Capt.Deadpool007
    @Capt.Deadpool007 3 місяці тому

    I have 6650xt will this work?

  • @DarthRidiculous
    @DarthRidiculous 8 місяців тому +1

    I have this running un Nobara linux and it works fine. I got this set up in windows with this tutorial and everything installs fine, but when I try to generate an image I get a "Not enough VRAM/Memory" error. I am not sure what I am doing wrong. I am running a 6700XT and a 5700xt. I am not sure if it is referencing the wrong GPU or what. Anyway, this was a good tutorial and easy to follow.

    • @FE-Engineer
      @FE-Engineer  8 місяців тому +1

      Try using the medvram flag. See if that helps. Although if you are running dual video cards you might run into weird issues. I have never tried with dual video cards and unfortunately in that type of instance I don’t know how much help I can honestly provide :-/

    • @TheMachinedestroyer
      @TheMachinedestroyer 7 місяців тому +1

      @@FE-Engineer Hi, I'm totally new to this thing and I ran into this low vram thing too. Everything installs fine, the UI is on but it says I have only 1GB and I can't render even a tiny (128x128) image. I have an RX570 with 4GB of Vram and 32GB of RAM on MB, that should be enough. Where and how should I use that "medvram" flag? Thanks.

  • @MasmorraBro
    @MasmorraBro 5 місяців тому

    Is there any way to install the Comfyui folder in an external hard drive doing this method?

    • @stephankuebler762
      @stephankuebler762 2 місяці тому

      Hi, i do not know how you can Install ComfyUI in a other Path but you can ReDirect the model folders used by ComfyUI with editing the "extra_model_paths.yaml.example" in the main Directory.

  • @edomaragno
    @edomaragno 4 місяці тому

    I'm very new to this, how do I set a path to my checkpoints? in "\MiniConda\envs\comfyui" I don't see a "models" fodler :/

    • @stephankuebler762
      @stephankuebler762 2 місяці тому

      Hi, this is the "Enviroment" Path you have to go into ComfyUI (C:User/Name/ComfyUI)

  • @hothiscold00008
    @hothiscold00008 8 місяців тому

    I just cannot get this running on my 7800XT
    "Error occurred when executing KSampler:
    The GPU device instance has been suspended. Use GetDeviceRemovedReason to determine the appropriate action."
    And then a bunch of script errors. Any ideas?

    • @FE-Engineer
      @FE-Engineer  8 місяців тому +1

      Yikes. I apologize. I have not seen that error come up. Were you maxing out your vram? Try running it with something up to monitor your vram.
      My guess is you might have tried to generate an image that was too big for it to handle. This is a big guess though.
      Monitor system resources and redo and see how it looks. Might give you some clues.
      Also. Do something like barebones stock.
      Stock prompt. Stock model. Stock pipeline setup. Stock image dimensions.
      Make sure you can run it with everything being as controlled as possible to see if you are changing something somewhere that is causing this weird errors. That’s my suggestion.

  • @konradsober3587
    @konradsober3587 5 місяців тому

    Saved

  • @ToddGoo
    @ToddGoo 7 місяців тому

    Thank you very much. It works for my 7800xt. how to download the comfyui manager?

  • @coltendeines2484
    @coltendeines2484 8 місяців тому

    This video is great. after i've created my .bat file for quick startup how would i go about installing the comfyui manager

    • @FE-Engineer
      @FE-Engineer  8 місяців тому

      I have never used comfyui manager. What is it exactly?

  • @GennadiyVasylkov
    @GennadiyVasylkov 8 місяців тому

    Thank you for perfect video. If you are doing as much experiment as I do, suggest you to store all models in specials folder and use hardlinks to put them to models folder. It saved a lot of disk space for me.

    • @FE-Engineer
      @FE-Engineer  8 місяців тому

      I have been meaning to do this. I already setup all of my images go to a shared location, regardless of whether it is generated in linux or windows etc. I really should do this, and connect all of my models to be in a central location to avoid duplicates and wasted space. Thanks for reminding me that I need to do this! :) Also thank you so much for watching and kind words!

  • @Chen9lee
    @Chen9lee 8 місяців тому

    can work with AMD GPU 4GB?

    • @FE-Engineer
      @FE-Engineer  8 місяців тому

      I don’t know offhand. Probably?

  • @BroadcastYOzZelf
    @BroadcastYOzZelf 7 місяців тому

    Awesome video, thanks. Instant subscribe :).
    I tried to drop in a SDXL model and got an error ('aten::frac.out' is not currently supported). Non XL checkpoints work fine. Since I'm new to this I wonder what ROCm is and if it is needed or will be helpful in the future.

    • @FE-Engineer
      @FE-Engineer  7 місяців тому +2

      Yes. Sdxl does not work or at least I have never gotten it to work as of yet.
      The only place I have gotten sdxl to work is in Linux with ROCm

    • @FE-Engineer
      @FE-Engineer  7 місяців тому +1

      Rocm is basically AMD equivalent of cuda. It takes special cuda code and lets it work for an amd card.

  • @didegng4job437
    @didegng4job437 7 місяців тому

    cant i target latest python version

    • @FE-Engineer
      @FE-Engineer  7 місяців тому

      I doubt it. You can try. You will probably just have to undo it though.

  • @mizuhahato6215
    @mizuhahato6215 5 місяців тому

    got a rx6600 and can't get it running, always telling me that i don't have enough vram, any idea that could help ?

    • @FE-Engineer
      @FE-Engineer  5 місяців тому

      Is it when you try to load a model?