Тёмный
No video :(

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

FE-Engineer
Подписаться 2,9 тыс.
Просмотров 24 тыс.
50% 1

Happy Holidays!
ComfyUI in windows and running on an AMD GPU!
Install Git
gitforwindows.org/
Install miniconda for windows (remember to add to path!)
docs.conda.io/projects/minico...
Complete steps coming after the holidays calm down a bit, for now you will have to actually watch the whole 6 minutes of video! ;-p

Опубликовано:

 

6 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 351   
@REDAKTORViii
@REDAKTORViii 7 месяцев назад
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 7 месяцев назад
You are very welcome! I’m glad it worked and fixed your problems! Thank you for watching!
@ner0718
@ner0718 6 месяцев назад
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 6 месяцев назад
😂😂 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 6 месяцев назад
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 6 месяцев назад
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 5 месяцев назад
Exactly what i was going to post!
@androidgg5854
@androidgg5854 7 месяцев назад
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 7 месяцев назад
Merry Christmas and happy holidays to you and your family as well. Thank you so much I am glad it helped! :)
@aadilpatel6591
@aadilpatel6591 7 месяцев назад
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 7 месяцев назад
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….
@Gquain
@Gquain 2 месяца назад
insanely straightforward, straight to the point and no questions left remaining. Thank you very much for this tutorial
@FE-Engineer
@FE-Engineer 2 месяца назад
You are very welcome thank you for watching!
@MSCardinal
@MSCardinal 7 месяцев назад
Thanks a lot! I've been eagerly awaiting this video. I wish you happy holidays!
@FE-Engineer
@FE-Engineer 7 месяцев назад
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.
@disboxex
@disboxex 7 месяцев назад
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 7 месяцев назад
I’m glad it helped! Thank you for watching and the kind words! Happy new years to you and your family as well!
@cipus2009
@cipus2009 4 месяца назад
Thanks for this video.. now I can run comfyui on my amd gpu, your video is the easiest tutorial to follow 👍👍👍
@verkadylp.5616
@verkadylp.5616 4 месяца назад
Thank you for your video FE-Engineer! It works so perfectly!
@FE-Engineer
@FE-Engineer 4 месяца назад
You are very welcome! Thank you for watching!
@technoprincess95
@technoprincess95 7 месяцев назад
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 6 месяцев назад
It worked for me and was mostly straight forward :)
@TheShox79
@TheShox79 7 месяцев назад
Great video! Happy Xmas!
@FE-Engineer
@FE-Engineer 7 месяцев назад
Thank you so much. Merry Christmas and happy holidays to you and your family as well! Spend time with your loved ones!
@salvadorfonseca165
@salvadorfonseca165 5 месяцев назад
Oh sweet baby Jesus, that is so much fast than running off my processor. Thank you so much.
@pierregodart4097
@pierregodart4097 2 месяца назад
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 !
@Whyidk
@Whyidk 4 месяца назад
amazing video! thank you for this straightforward guide :)
@FE-Engineer
@FE-Engineer 4 месяца назад
You are welcome! Thank you for watching and for the kind words. :)
@alxlej
@alxlej 2 месяца назад
dude! thank you _so_ much for this. seriously.
@TheUltraDavDav
@TheUltraDavDav 6 месяцев назад
well desirved sub and like, tried a while back for days on end and no luck and this strait up worked
@TheUltraDavDav
@TheUltraDavDav 6 месяцев назад
also can run from bat file if conda is on path, i followed this tutorial: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-zFKD2Q9m_nQ.html
@FE-Engineer
@FE-Engineer 6 месяцев назад
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 6 месяцев назад
Thank you so much! :) I’m glad this helped you!
@martkno
@martkno Месяц назад
it works - Thank you so much for saving my AMD card
@konstabelpiksel182
@konstabelpiksel182 5 месяцев назад
works flawlessly! thanks man!
@FE-Engineer
@FE-Engineer 5 месяцев назад
Glad it helped! Thank you for watching!
@joelengelhardt3536
@joelengelhardt3536 5 месяцев назад
works perfectly, thanks!
@ajphilippineexpat
@ajphilippineexpat 3 месяца назад
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 3 месяца назад
And DirectML is saying I've only got 1GB VRAM, but I'm also using a 7900XTX
@browse7288
@browse7288 3 месяца назад
@@ajphilippineexpat Same error
@derboki88
@derboki88 21 день назад
@@ajphilippineexpat same for a friend of mine as well. Anyone knows how to fix this?
@nextgodlevel4056
@nextgodlevel4056 7 месяцев назад
another great video, I was very excited for this video >❤❤❤❤
@FE-Engineer
@FE-Engineer 7 месяцев назад
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.
@Gwaboo
@Gwaboo 5 месяцев назад
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
@lukacrvenkovic8577
@lukacrvenkovic8577 5 месяцев назад
thank you very much!!! up and working, great tut!
@FE-Engineer
@FE-Engineer 5 месяцев назад
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!
@user-mq8km2bg8z
@user-mq8km2bg8z 6 месяцев назад
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.
@JhonaVega
@JhonaVega Месяц назад
Que capooooooooooo, sos el mejor! I love you bro
@policani
@policani 5 месяцев назад
Lost me at 2:23 - ModuleNotFoundError: No module named 'safetensors'
@Remzicaliskan
@Remzicaliskan 2 месяца назад
same error
@Remzicaliskan
@Remzicaliskan 2 месяца назад
solved it with '' pip install -r requirements.txt' command
@mahyar2727
@mahyar2727 5 месяцев назад
How to install the ComfyUI Manager?
@Morencial
@Morencial 4 месяца назад
Thank you dude, it works!
@FE-Engineer
@FE-Engineer 4 месяца назад
Hooray! Thanks for watching! :)
@laser3345
@laser3345 3 месяца назад
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
@ToddGoo
@ToddGoo 6 месяцев назад
Thank you very much. It works for my 7800xt. how to download the comfyui manager?
@JosephJensen_1
@JosephJensen_1 7 месяцев назад
Excellent... thanks so much
@FE-Engineer
@FE-Engineer 7 месяцев назад
You are very welcome! I’m glad you liked it and found this helpful! :)
@check9094
@check9094 3 месяца назад
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.
@康一-s2o
@康一-s2o 9 дней назад
really really helpfull !!! 5600 works Thank you.
@astromaz
@astromaz 17 дней назад
And what can be done to make comfyui work with stability matrix?
@Pixelplanet5
@Pixelplanet5 2 месяца назад
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?
@pouchyCorp
@pouchyCorp 5 месяцев назад
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 ...
@xqzmeh968
@xqzmeh968 Месяц назад
thank you so much
@capt3951
@capt3951 3 месяца назад
how do i turn your conda commands into a bat file so i dnt have to type it everytime i start this comfy ui??????
@user-vl5is5tk8b
@user-vl5is5tk8b 5 месяцев назад
hello, i have this problem : CondaError: Run 'conda init' before 'conda activate'
@BroadcastYOzZelf
@BroadcastYOzZelf 6 месяцев назад
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 6 месяцев назад
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 6 месяцев назад
Rocm is basically AMD equivalent of cuda. It takes special cuda code and lets it work for an amd card.
@akisstavridis5977
@akisstavridis5977 Месяц назад
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.
@salvadorfonseca165
@salvadorfonseca165 5 месяцев назад
Fun fat, this also works for the portable one so it's easy to install custom nodes.
@zygimantastauras
@zygimantastauras 6 месяцев назад
This explanation is so easy - thank you amazingly!!!!! Will try to generate something interesting, I fully support and love you ❤❤🤖🤖👾👾📎📎
@FE-Engineer
@FE-Engineer 6 месяцев назад
You are very welcome! Thank you so much for watching and your support!
@coltendeines2484
@coltendeines2484 6 месяцев назад
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 6 месяцев назад
I have never used comfyui manager. What is it exactly?
@ffwrude
@ffwrude Месяц назад
Does someone know where i can tell comfy to use more than 1024 ? i have 12gb
@spacetart
@spacetart Месяц назад
Help please, when I run "python main.py --directml" its showing me "[Errno 2] No such file or directory"
@jokrmdr2052
@jokrmdr2052 7 месяцев назад
thank you from french!!!
@FE-Engineer
@FE-Engineer 7 месяцев назад
You are very welcome! Merry Christmas and happy holidays to you and your family!
@cartoonworld1000
@cartoonworld1000 4 месяца назад
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 4 месяца назад
No it does not.
@FE-Engineer
@FE-Engineer 4 месяца назад
Auto1111 with zluda Or Sd.next with zluda will be the fastest most likely.
@cartoonworld1000
@cartoonworld1000 4 месяца назад
@@FE-Engineerthe auto1111 works for me, but sd.next gives me some issues
@BrostopherWade
@BrostopherWade 4 месяца назад
Are you having issues running img2vid? Anytime I try it fails durning ksample node🙃
@Anequit
@Anequit 3 месяца назад
Can we use zluda with comfy ui like in your automatic1111 zluda video?
@salvadorfonseca165
@salvadorfonseca165 5 месяцев назад
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
@Travis-jl3wx
@Travis-jl3wx 2 месяца назад
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.
@MrLogansrun35
@MrLogansrun35 23 дня назад
how do we get the manager working on amd
@ChristopherPunton
@ChristopherPunton 7 месяцев назад
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 7 месяцев назад
Might be a problem with torch and directml would be my guess.
@jaylink7635
@jaylink7635 5 месяцев назад
hi great vid but is there a way to chache the install location becouse for me it instalt on sytem32😅
@RosaMunwalker
@RosaMunwalker 7 месяцев назад
thanks so much, comfyui somehow performs a litlte bit better than sd for amd at least in my setup
@user-qs3sp7qq9w
@user-qs3sp7qq9w 7 месяцев назад
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 7 месяцев назад
You are welcome! That’s crazy, for me it is considerably slower. But I’m glad it is working well for you!
@NO-we-ded-
@NO-we-ded- 5 месяцев назад
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 5 месяцев назад
Code changed. I’m looking into it. If you roll back the git code it will work.
@xythrr
@xythrr 5 месяцев назад
@@FE-Engineer ah, that explains my problems.
@LynxBite
@LynxBite 6 месяцев назад
Any knows fixes for RuntimeError: Device type privateuseone is not supported for torch.Generator() api. ?
@FE-Engineer
@FE-Engineer 6 месяцев назад
I have never seen that. What were you doing when you got that error?
@double.parker
@double.parker 6 месяцев назад
Same issue, when it hits ksampler
@double.parker
@double.parker 6 месяцев назад
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 5 месяцев назад
@@double.parker same here Error occurred when executing KSampler:
@SINEWEAVER-
@SINEWEAVER- 2 месяца назад
Can I just use python 3.10.6 need it for reforum
@damienpe3357
@damienpe3357 7 месяцев назад
I have a similar AMD card and did not want to run Linux, thank you for your videos!
@FE-Engineer
@FE-Engineer 7 месяцев назад
You are very welcome! I’m glad it helped!
@livb4139
@livb4139 5 месяцев назад
does it work better on linux or windows
@hexily64
@hexily64 7 месяцев назад
Do u think extension like segment anything and inpaint anything will work on this? I cant get those to work on webui version with an amd gpu
@FE-Engineer
@FE-Engineer 7 месяцев назад
In general I would assume so. But I have not tinkered with this enough to say for sure.
@lucianoanaquin4527
@lucianoanaquin4527 7 месяцев назад
Thanks for the tutorial bro! I have a problem whit the generation, says: Error occurred when executing KSampler: Could not allocate tensor with 1638400 bytes. There is not enough GPU video memory available!
@FE-Engineer
@FE-Engineer 7 месяцев назад
Lower your image resolution. Whatever you are doing is trying to use more VRAM than what your video card actually has.
@hothiscold00008
@hothiscold00008 7 месяцев назад
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 7 месяцев назад
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.
@henrymum1558
@henrymum1558 6 месяцев назад
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 6 месяцев назад
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.
@GameplayPhilosophy
@GameplayPhilosophy 7 месяцев назад
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 7 месяцев назад
Sounds like you aren’t using directml torch to me?
@LRTOTAL
@LRTOTAL 7 месяцев назад
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
@RowmitHSN
@RowmitHSN 6 месяцев назад
First of all thanks a lot ,I Have a Rx-570 8gb and comfy ui is working properly but is there any way or other webui to generate images faster with my gpu? Thanks in advance.
@FE-Engineer
@FE-Engineer 6 месяцев назад
Automatic1111 directML with ONNX might be faster. It usually is faster. But it comes with a lot of drawbacks. You have to manually optimize models. No SDXL. And most extensions like control net do not work. :-/
@MasmorraBro
@MasmorraBro 3 месяца назад
Is there any way to install the Comfyui folder in an external hard drive doing this method?
@stephankuebler762
@stephankuebler762 25 дней назад
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.
@kevinpetit8828
@kevinpetit8828 23 дня назад
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 18 часов назад
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.
@harknem
@harknem 7 месяцев назад
Hi. Do you know how to confgure .bat file to use the dependecies already installed with Automatic1111, so I don't have to install both of em. Since I still wat to use A1111 in parallel (mainly for inpainting reasons). It's written as possible on the github but i can't get it working. So I guess I'm missing something when pointing to the /venv directory
@FE-Engineer
@FE-Engineer 7 месяцев назад
I apologize. I have no idea. This sounds complicated and prone to produce errors as one repo could update and require an updated package where another one might not or might break. Interesting idea though. I might play around with it and see if I can get it up and running…but again. Sounds prone to break and cause issues long term.
@leucome
@leucome 6 месяцев назад
An other solution is to use symlink to link the venv folder to the one from A1111. Personally I use the symlink for everything that is shareable environment model ect.. So these folder are just link that point out to the real one somewhere else. I also use that to split the AI models in two category the one I use often are on the SSD while the other are on a HDD. Then they are linked back to A1111 and Comfy model folder.
@edomaragno
@edomaragno 2 месяца назад
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 25 дней назад
Hi, this is the "Enviroment" Path you have to go into ComfyUI (C:User/Name/ComfyUI)
@Capt.Deadpool007
@Capt.Deadpool007 Месяц назад
I have 6650xt will this work?
@Hell5426
@Hell5426 Месяц назад
Hello FE-Engineer! i accure the problem: 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. How to add the support? Or it is my model error?
@Hell5426
@Hell5426 Месяц назад
Torch settings: Using directml with device: Total VRAM 1024 MB, total RAM 32695 MB pytorch version: 2.3.1+cpu Set vram state to: NORMAL_VRAM
@PallaviChauhan91
@PallaviChauhan91 7 месяцев назад
Hi, I have Windows 10 on AMD Ryzen 3 CPU. I have Microsoft display adapter under graphics, will I be able to run this setup? Graphics show - "MSI MP241 (1920x1080@64Hz) ATI Microsoft Basic Display Adapter (ATI)" If not, can you recommend a decent AMD card as well?
@FE-Engineer
@FE-Engineer 7 месяцев назад
I would be skeptical about getting this to run. (for reference, that MSI looks like it is a monitor, not a graphics card). It might work, but even if it does, I imagine it would be incredibly slow. If you wanted to go AMD, right now in general the 7800xt looks like the absolute best bang for the buck using newer cards, especially if you find one potentially on sale a little. On the flipside, if you really wanted to do a lot of stable diffusion and AI, a used nvidia 3080 would be a really nice choice if you can get one for a good price. 3080 12G model would be even better. Please keep this in mind though, these are extremely vague recommendations, you should absolutely spend time thinking about how much you want to realistically spend, and what you want the graphics card to do and be used for, as those things may significantly impact what the best choice is for you particularly. I would mostly avoid RDNA2 cards as they are not nearly as well equipped as RDNA3 (rx7000 cards) for AI workloads. I also personally struggle to really recommend new nvidia cards as they are very expensive. But even with that, new Nvidia Super cards are coming out literally next month, and the prices look to be better than before in general, so some price shifting may be occurring with Nvidia 4000 series cards here VERY soon!
@PallaviChauhan91
@PallaviChauhan91 7 месяцев назад
@@FE-Engineer Thanks a lot for your detailed reply.
@pack9694
@pack9694 6 месяцев назад
I've been having issues with ipadapter, have you run into any issues like this? The Ksampler gets stuck on 0%
@FE-Engineer
@FE-Engineer 5 месяцев назад
No. I don’t use comfyui too much honestly. I find the spaghetti…messy.
@exandozer
@exandozer Месяц назад
After activating comfyui I write git clone and the url and I get this: fatal: destination path 'ComfyUI' already exists and is not an empty directory... any solution?
@FE-Engineer
@FE-Engineer Месяц назад
Delete your existing directory and everything in it. You already have one cloned.
@DarthRidiculous
@DarthRidiculous 7 месяцев назад
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 7 месяцев назад
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 6 месяцев назад
@@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.
@mizuhahato6215
@mizuhahato6215 4 месяца назад
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 4 месяца назад
Is it when you try to load a model?
@stephankuebler762
@stephankuebler762 25 дней назад
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)
@willismiller7035
@willismiller7035 13 дней назад
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...
@Knightedskull
@Knightedskull 6 месяцев назад
I have an 7900xtx too, and would prefer sticking to windows for various reasons but not a stranger to Linux. What have you found to be best way to go about setting up AI image generation for this specific card? I think you mentioned some other stuff.
@FE-Engineer
@FE-Engineer 6 месяцев назад
So notes: SDXL will not work to my knowledge. Shark from nod . Ai is easy but is miserable to use. SD . Next is pretty straight forward. But is somewhat limited overall. I think this might be the best overall right now. Automatic 1111 directML is good but converting to ONNX is irritating. You give up samplers in ONNX but get a big speed boost. Comfyui is comfy ui. Complicated to use. DirectML will net you about ~6 it/s and it’s a little finicky. I think that’s the most common current windows run down.
@Knightedskull
@Knightedskull 6 месяцев назад
Ah thanks on the advice. Been trying shark to little success. Been having 1111 DirectML generating a few images but I am 90% sure it is actually using the CPU to do the generations instead of the GPU... practically zero GPU activity and my CPU stats and fan speed is high. So try and get SD Next working instead sounds best? What about under Linux? 1111 with the ROCM it can just work out of the gate, right? @@FE-Engineer
@leucome
@leucome 6 месяцев назад
@@Knightedskull On Linux usually everything work. SDXL control net lora, dreambooth training, LLM, Wishper, Coqui TTS . Also the performance is usually pretty good. It get about 18It/s on 512px image, up to 23Its if I turn off medvram. With LLM It does over 60T/s with 7Bq4 model, on a 7900xt. It can also run everything at once while playing a game and recording at same time. I made a video playing Minecraft with shader while trying to follow the instruction from an AI that have a voice and 3D Vtuber avatar. I managed to get everything to run at once on a 7900xt. Though seriously a XTX would be better because It was tight on the Vram side.
@ubuu90
@ubuu90 6 месяцев назад
@@Knightedskull u have used the --use-directml on the commandline?
@Knightedskull
@Knightedskull 5 месяцев назад
yeah i believe so but i've switched back to linux @@ubuu90
@mixxfish
@mixxfish 6 месяцев назад
Hand to hand combat to get this to work. I had it work a few times, but it crashed a lot. But today I have no Idea how to start it again. I may have not used correct name?
@FE-Engineer
@FE-Engineer 6 месяцев назад
Activate Conda environment. Run the start script. You can run conda list to see all conda environments that you have. Maybe that will help?
@orucreiss
@orucreiss 7 месяцев назад
thanks for the video. hows comfyui compared to a1111 for amd gpus?
@FE-Engineer
@FE-Engineer 7 месяцев назад
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 7 месяцев назад
@@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
@unknownguy8044
@unknownguy8044 4 месяца назад
(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 4 месяца назад
Might be the version of python you are using. But code has been updated since that video. Check the video description.
@canalpan9
@canalpan9 5 месяцев назад
'' ModuleNotFoundError: No module named 'safetensors' '' error after entering 'python main.py --directml'
@stephankuebler762
@stephankuebler762 26 дней назад
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
@Takethatloveyou
@Takethatloveyou 4 месяца назад
i cannot thank you enough
@FE-Engineer
@FE-Engineer 4 месяца назад
:):) happy to help! Thanks for watching!
@kampkrieger
@kampkrieger 5 месяцев назад
also not working for me, i get an error message "shape '[77, -1, 77, 77]' is invalid for input of size 5929" with a huge stack trace, no idea what it means
@FE-Engineer
@FE-Engineer 5 месяцев назад
Yea. Looks like I need to make a new video it seems
@kampkrieger
@kampkrieger 5 месяцев назад
@@FE-Engineer can you show which version you use? so it's possible to reproduce the exact things. i only have 7900 xt
@lukaswerner9330
@lukaswerner9330 7 месяцев назад
Hey thank you so much for the video. I have only used A1111 before but I guess I will use ComfyUI from now on thanks to you. I only ran into one issue. I have tried some stuff from ComfyUI tutorials and every time I load a new model I get this notification: "The operator 'aten::frac.out' is not currently supported on the DML backend and will fall back to run on the CPU. This may have performance implications." Is this normal? Because if I try more complicated setups with ControlNet, some face consistency stuff, SDXL, and upscale at the same time I get the message again and it won't load anything no matter how long I wait. It looks like it's loading but it wouldn't make any progress. I also do not get any errors. I am running ComfyUI on a RX6800.
@FE-Engineer
@FE-Engineer 7 месяцев назад
I think that even now with all the progress that is being made constantly. Not having ROCm on windows. And using directml. I think it really isn’t compatible with everything that is available when using cuda yet. With that being said. I think PyTorch with rocm is good. And Rocm on windows I think is very close. But until we get there I think you will just find a lot of little things like this that are virtually unsolvable. :-/. Just library incompatibilities and things missing that do odd things.
@FE-Engineer
@FE-Engineer 7 месяцев назад
You are very welcome! Thank you so much for watching!
@yassirscreed
@yassirscreed 6 месяцев назад
When i run python main.py --directml, it doesnt choose my gpu for some reason and im using vega 64, i always run into not enough memory after that
@FE-Engineer
@FE-Engineer 6 месяцев назад
might want to try the low or med vram options?
@yassirscreed
@yassirscreed 6 месяцев назад
@@FE-Engineer im pretty sure it says somewhere but how do i do it?
@rabje1998
@rabje1998 3 месяца назад
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!
@ascursol
@ascursol Месяц назад
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 25 дней назад
Strange Path... DeInstall Torch and proper Install it into Pyton
@athrunsblade846
@athrunsblade846 4 месяца назад
Thanks for the video! Everything installed ok and I have loaded a checkpoint however when I queue prompt everything seems to work but the image generated is just blank black screen? Any ideas what is wrong? Thanks for your help!
@athrunsblade846
@athrunsblade846 4 месяца назад
So I have updated my GPU and installed a new model. If I load comfyui up fresh from the mini conda terminal I can generate an image and it works. However, if I try to swap to a different model in comfyui I will get a blank image again.
@FE-Engineer
@FE-Engineer 4 месяца назад
It might be the model. Some get a bit weird. Try the standard 1.5 model and make sure that works reliably. Some of it is a bit of trial and error. Some need a vae. Some need clip skip. Unfortunately it’s hard to say why this is happening exactly.
@athrunsblade846
@athrunsblade846 4 месяца назад
@@FE-Engineer thanks, i tried a different model and it worked :)
@BretanZ
@BretanZ 7 месяцев назад
Can this be used with Hard/Soft links or Junctions so you don't have to copy the checkpoints between folders making it only one file for both ComfyUI and classic Web-ui?
@FE-Engineer
@FE-Engineer 7 месяцев назад
I think you can actually reconfigure the models directory to be a different place. And that would be a better overall way to do it versus trying to setup something like sym links that could end up with weird side effects.
@leucome
@leucome 6 месяцев назад
Yes I use symlink for everything that is shared and also put the model I use less often on a HDD but still have them to show up in the model folders. .
@BretanZ
@BretanZ 6 месяцев назад
@@leucome nice, good to know
@ZeroNyte
@ZeroNyte 4 месяца назад
should also be able to use python/cmd instead of conda also. but is there a way to just create a bat file to launch instead of constantly needing to do all the steps yourself? and with ''low/med'' VRAM etc. ? when I try a 768x768 SDXL generation on my 6750xt it says not enough VRAM.
@mizuhahato6215
@mizuhahato6215 4 месяца назад
have you found a solution for this problem ? i'm actually in the same situation
@ZeroNyte
@ZeroNyte 4 месяца назад
@@mizuhahato6215 I dont use Comfy anymore, went back to A1111 directml fork, with Lobe theme, and dont have as many issues as before, ofcourse sometimes, depending on prompt length I get net enough VRAM error, but it works.
@mizuhahato6215
@mizuhahato6215 4 месяца назад
@@ZeroNyte ok ok, i just found that if you launch comfy with --lowvram, it works fine
@07lipe077
@07lipe077 Месяц назад
I keep getting "Value not in list: ckpt_name: 'v1-5-pruned-emaonly.ckpt' not in []" even though I have the ckpt file and a model in the ComfyUI\models\checkpoints folder. Any thoughts on why that might be?
@ristotanov1039
@ristotanov1039 6 месяцев назад
why does the terminal say total VRAM 1024 MB when we obv have more ? Im sorry im new
@FE-Engineer
@FE-Engineer 6 месяцев назад
It’s ok. It is a misprint. Mine says that as well.
@SINEWEAVER-
@SINEWEAVER- 2 месяца назад
error import safetensors.torch ModuleNotFoundError: No module named 'safetensors'
@meshermet
@meshermet 6 месяцев назад
Hi, and thanks for the video. I'm having a problem with torch-directml. I get an error saying, "could not find a version that satisfies the requirement torch-directml (from versions: none)". You know a workaround because I have not been able to find a solution.
@FE-Engineer
@FE-Engineer 6 месяцев назад
Probably a python version problem. That’s usually the cause of that error.
@atlasworldsyt
@atlasworldsyt 6 месяцев назад
Hi @@FE-Engineer - appreciate the video and all the help! I am a complete noob at this so i hope that i can ask how to then change my python version?
@kappa2454
@kappa2454 6 месяцев назад
Can you make stable diffusion videos with AMD cards on comfyui?
@FE-Engineer
@FE-Engineer 6 месяцев назад
For windows or Linux?
@kappa2454
@kappa2454 6 месяцев назад
@@FE-Engineer windows
@Adsen83
@Adsen83 3 месяца назад
They seem to have updated ComfyUI and this is no longer working :/
@stephankuebler762
@stephankuebler762 25 дней назад
Works like a Charm... I'm just done it myself and im rendering Pictures while i write this.
Далее
JPEG is Dying - And that's a bad thing
8:09
Просмотров 84 тыс.
Советы на всё лето 4 @postworkllc
00:23
I switched back to AMD... and I have no regrets.
24:11
Просмотров 486 тыс.
Gamers!  Get off Windows! (Linux Made EASY)
16:49
Просмотров 191 тыс.