ความคิดเห็น •

  • @tongtongrizhi
    @tongtongrizhi 9 หลายเดือนก่อน +1

    This installation is based on Stable Diffusion web UI with DirectML by lshqqytiger
    github.com/lshqqytiger/stable-diffusion-webui-directml#stable-diffusion-web-ui-with-directml
    Installing Python 3.10.6
    www.python.org/downloads/release/python-3106/
    Installing Git
    git-scm.com/download/win
    Git Clone Code
    git clone github.com/lshqqytiger/stable-diffusion-webui-directml && cd stable-diffusion-webui-directml && git submodule init && git submodule update
    Git Checkout Code
    git checkout 03eec1791be011e087985ae93c1f66315d5a250e
    Create Virtual Environment
    python -m venv venv
    venv\Scripts\activate
    Checkpoint Model
    civitai.com/models/43331/majicmix-realistic
    Commandline Args Code
    --lowvram --disable-nan-check --no-half --precision full --no-half-vae --opt-sub-quad-attention --opt-split-attention-v1
    Donate me at
    Kofi: ko-fi.com/tongtong
    Paypal: tongtong83@gmail.com

  • @Moraes.S
    @Moraes.S 2 หลายเดือนก่อน

    Very good.
    Now everything is running without errors, even Upscaling.
    Thanks you. Best Tutorial.

  • @P3ANUS
    @P3ANUS 7 หลายเดือนก่อน +1

    I just update to 1.8 and its broke on my 5700 xt setting
    you really help bro, its working find on lighting and turbo SDXL
    {love you tutorial:1.9}

    • @tongtongrizhi
      @tongtongrizhi 7 หลายเดือนก่อน +1

      You are welcome 😉

  • @ALCNDR
    @ALCNDR 2 หลายเดือนก่อน

    If you want to improve generation performance, and reduce to 5-7 steps while maintaining quality, I recommend using a Lora model ( lcm-lora-sdv1-5 )
    You have to add "Add Network to Prompt": in UI settings you can add SD Lora to appear

  • @fabiofox5878
    @fabiofox5878 8 หลายเดือนก่อน

    thank you thank you thank you, I am now able with my little Ryzen 5 and integrated GPU Vega 11 to use it one hundred per cent, before to do a 512x512 Model 1.5 it took 7 minutes, now with Directml it takes ABOUT 1 MINUTE!!! You are great!!!😇😁🤩

    • @tongtongrizhi
      @tongtongrizhi 8 หลายเดือนก่อน

      You are welcome. If you plan to switch 1.7.0, I have another video explains how to do so at th-cam.com/video/WQikancF2oE/w-d-xo.html

    • @fabiofox5878
      @fabiofox5878 8 หลายเดือนก่อน

      Thanks again, I will follow your video closely!!!

    • @tongtongrizhi
      @tongtongrizhi 8 หลายเดือนก่อน

      @@fabiofox5878 thanks so much! Really appreciate it 😊

  • @ALCNDR
    @ALCNDR 2 หลายเดือนก่อน

    Try this before anything else:
    Uninstall the python versions from your system and install only 3.10.6 (Add to Patch)
    This will also ensure that there are no errors during the process. Other versions with the Patch get in the way (at least it works for me)

  • @grenadegamerzyt5439
    @grenadegamerzyt5439 4 หลายเดือนก่อน

    congrats you got a new sub
    😁

    • @tongtongrizhi
      @tongtongrizhi 4 หลายเดือนก่อน +1

      Thank you so much! 😊

    • @grenadegamerzyt5439
      @grenadegamerzyt5439 4 หลายเดือนก่อน

      ​@@tongtongrizhi bro can you make tutorial on how to add reActor to the extentions . i'm asking you to as you make as the tutorial that you make actually work
      actually work.

    • @tongtongrizhi
      @tongtongrizhi 4 หลายเดือนก่อน

      @@grenadegamerzyt5439 I put this in my next video list

    • @grenadegamerzyt5439
      @grenadegamerzyt5439 4 หลายเดือนก่อน

      @@tongtongrizhi thanks

  • @ujjwalsingh5188
    @ujjwalsingh5188 7 หลายเดือนก่อน

    thankyou so much man

    • @tongtongrizhi
      @tongtongrizhi 7 หลายเดือนก่อน

      You are welcome 🤗

  • @Mewmew-y4m
    @Mewmew-y4m 8 หลายเดือนก่อน

    Thank you so much i finally can use my amd gpu Thanksss

    • @tongtongrizhi
      @tongtongrizhi 8 หลายเดือนก่อน +1

      You are welcome 😉

    • @Mewmew-y4m
      @Mewmew-y4m 8 หลายเดือนก่อน

      @@tongtongrizhi is there a way we can use amd gpu for text gen?

    • @tongtongrizhi
      @tongtongrizhi 8 หลายเดือนก่อน

      @@Mewmew-y4m do you mean txt2img generate? If so, yes you can

    • @Mewmew-y4m
      @Mewmew-y4m 8 หลายเดือนก่อน

      @@tongtongrizhi no like oobabooga text-generation-webui for amd gpu

    • @tongtongrizhi
      @tongtongrizhi 8 หลายเดือนก่อน

      @@Mewmew-y4m that I not sure, it's the first time I ever heard it from you

  • @Los3Positivos
    @Los3Positivos 8 หลายเดือนก่อน

    I had to install SD as a zip file since I kept getting errors, but now I cant get the "Git checkout code" to work. What Im I doing wrong?

    • @tongtongrizhi
      @tongtongrizhi 8 หลายเดือนก่อน

      Not all stable diffusion sources are the same. Where did you get your zip from? The hash code for git checkout only works specifically on Stable Diffusion web UI with DirectML by lshqqytiger. Any other source other than this won't work. I suggest you follow every steps in the video without skipping any of them. Hope it helps

    • @Los3Positivos
      @Los3Positivos 8 หลายเดือนก่อน

      @@tongtongrizhi I got it directly from your link (by lshqqytiger), could not clone it since I have an unstable network. I had to resort to the Zip file provided in the green code button. But now the "Git checkout code" does not work :(

    • @tongtongrizhi
      @tongtongrizhi 8 หลายเดือนก่อน +1

      @@Los3Positivos just check the zip file from lshqqytiger, it won't work because it is not a git repository. Therefore, any git command won't work for it. I suggest you get a stable network and use git clone as shown in the tutorial. Cheers 😉

    • @Los3Positivos
      @Los3Positivos 8 หลายเดือนก่อน

      @@tongtongrizhi Thanks! :)

  • @caligo0nox
    @caligo0nox 8 หลายเดือนก่อน

    hola. no esta usando la gpu, usa la ram y la cpu, tarda horas en hacer algo, sin mencionar el arranque que tambien tarda. tengo una rx 5700 8gb vram y 16 ram. antes funcionaba bien, y ahora que reinstale haciendo el "downgrade" no. alguna solucion? algun comando que obligue a usal solo la gpu? tampoco me funciono el arg lowvram. gracias!

    • @tongtongrizhi
      @tongtongrizhi 8 หลายเดือนก่อน

      Do you mean it doesn't use GPU after you downgrade to 1.6.1? As far as I know, only 1.7.0 need to add --use-directml in COMMANDLINE_ARGS to use GPU

    • @caligo0nox
      @caligo0nox 8 หลายเดือนก่อน

      solucionado!!! fue eliminar lo siguiente del webui-use.bat: " --no-half --precision full --no-half-vae --opt-split-attention-v1"

    • @tongtongrizhi
      @tongtongrizhi 8 หลายเดือนก่อน

      Good to hear your problem is solved, I believe the problem is specific to different pc build. The setting I show works best for my setup. Have a great day

    • @caligo0nox
      @caligo0nox 8 หลายเดือนก่อน +1

      thank you, God bless you@@tongtongrizhi

  • @KyotoVance
    @KyotoVance 9 หลายเดือนก่อน

    When i input "venv\Scripts\activate", it says "the system cannot find the path specified".

    • @tongtongrizhi
      @tongtongrizhi 9 หลายเดือนก่อน

      Have you create the venv environment with "python -m venv venv"

  • @nomanqureshi1357
    @nomanqureshi1357 8 หลายเดือนก่อน

    thanks also make a video about how to install Photomake and fooocus with amd gpu

    • @tongtongrizhi
      @tongtongrizhi 8 หลายเดือนก่อน

      Sure, thanks for the support ☺️

    • @viralvideosfun8487
      @viralvideosfun8487 8 หลายเดือนก่อน

      ​@@tongtongrizhiyes please

  • @Cuentaedits98
    @Cuentaedits98 9 หลายเดือนก่อน

    ty

    • @tongtongrizhi
      @tongtongrizhi 9 หลายเดือนก่อน +1

      Welcome 🤗

  • @KinoYukino
    @KinoYukino 7 หลายเดือนก่อน

    Why it seems like, mine is stuck at "Installing requirements"

    • @tongtongrizhi
      @tongtongrizhi 7 หลายเดือนก่อน

      If you are referring to stable diffusion, it does take a long time to run for the first time. That's why I advise to grab a coffee and do something else. The video is fast-forward so the viewers don't have to wait and watch the installation in real time 😉

    • @KinoYukino
      @KinoYukino 7 หลายเดือนก่อน

      @@tongtongrizhi yes yes, it's done, thanks a lot😂☕

    • @tongtongrizhi
      @tongtongrizhi 7 หลายเดือนก่อน

      @@KinoYukino no prob 👍

  • @Sergei_Khasanov
    @Sergei_Khasanov 9 หลายเดือนก่อน

    I bow to you, it works 6700xt

    • @tongtongrizhi
      @tongtongrizhi 9 หลายเดือนก่อน

      Welcome, I'm also an AMD GPU user 🤗

    • @ms.uglyduck5501
      @ms.uglyduck5501 9 หลายเดือนก่อน

      @@tongtongrizhi what about rx 580??

    • @tongtongrizhi
      @tongtongrizhi 9 หลายเดือนก่อน

      @@ms.uglyduck5501 You could give it a try, I think it should work

  • @ghosthunters.network
    @ghosthunters.network 5 หลายเดือนก่อน

    Holly Hat Batman... Your video you directed me to worked great!!! Your A GOD! 3 days, 12 videos, 3 different ways to install.. and yours (This one is the only one that worked!!! Thanks for the work! Who ever replied to my call for help! Thanks.. if it was you.. Tong? Then I am buying you a cup of coffee and a donut! :) Simply the best!

    • @tongtongrizhi
      @tongtongrizhi 5 หลายเดือนก่อน

      Glad to know this version works for you

    • @ghosthunters.network
      @ghosthunters.network 5 หลายเดือนก่อน

      @@tongtongrizhi oh-oh.. I was running fine.. I closed it.. to see if it would reload... and it did... but now I only get a black box when I try to generate anything.. big black square a output.. any thoughts?? I am watching it run through the process on my CMD.. it running till 100% done but only Black Square shows.. ? have you seen that before?

    • @tongtongrizhi
      @tongtongrizhi 5 หลายเดือนก่อน

      @@ghosthunters.network never had that problem, try restart your PC and launch it again see if the problem persist

    • @ghosthunters.network
      @ghosthunters.network 5 หลายเดือนก่อน

      @@tongtongrizhi i was doing just that as I guess you were replying.. it worked fine now... Thanks for the quick replies.. Really.. how do i buy you a cup of coffee.. and a donut.. :) love to send you a few Thai Baht.. or $'s :)

    • @tongtongrizhi
      @tongtongrizhi 5 หลายเดือนก่อน

      @@ghosthunters.network Many thanks, you could do that at here
      Donate me at
      Kofi: ko-fi.com/tongtong
      Paypal: tongtong83@gmail.com

  • @thisgamehasnoname2317
    @thisgamehasnoname2317 9 หลายเดือนก่อน

    thank you! its worked! but i have bad performance ~1.7 it/s on 7800 XT :(

    • @tongtongrizhi
      @tongtongrizhi 9 หลายเดือนก่อน +1

      Mine is 4-6 s/it for 6600xt. Onnx and olive improve the speed a little but the cons outweigh the speed. Less sampler method to choose and use up a lot of disk space. You can move the stable diffusion folder to SSD, it helps.

    • @whoopeerobottech638
      @whoopeerobottech638 9 หลายเดือนก่อน

      7800xt works on 11.8it/s only in ubuntu w/ROCm, but you have to accept without Windows, WSL also not working

    • @tongtongrizhi
      @tongtongrizhi 9 หลายเดือนก่อน

      @@whoopeerobottech638 I'm still waiting for rocm for windows, wonder when it ever get released

  • @uxot
    @uxot หลายเดือนก่อน

    Why is my speed at 1.9 it/s on a 7900 XTX.......??

    • @tongtongrizhi
      @tongtongrizhi หลายเดือนก่อน

      If you want faster, consider using zluda

    • @uxot
      @uxot หลายเดือนก่อน

      @@tongtongrizhi Actually i had to change my settings i get 5-8 now but i heard zulda theres alot of models that arent working with it.. so...

    • @tongtongrizhi
      @tongtongrizhi หลายเดือนก่อน

      @@uxot I only use basic 1.5 model

  • @tvanime6747
    @tvanime6747 6 หลายเดือนก่อน

    El directml no se lo banca?

    • @tongtongrizhi
      @tongtongrizhi 6 หลายเดือนก่อน

      I don't understand the language you write but this version natively supports directml

    • @tvanime6747
      @tvanime6747 6 หลายเดือนก่อน

      @@tongtongrizhi Funciona cumpa , lo estoy usando, anda perfecto el Directml

    • @tongtongrizhi
      @tongtongrizhi 6 หลายเดือนก่อน +1

      @@tvanime6747 😉 great to hear that

  • @viralvideosfun8487
    @viralvideosfun8487 8 หลายเดือนก่อน

    Whats the github code for 1.7.0

    • @tongtongrizhi
      @tongtongrizhi 8 หลายเดือนก่อน

      If you want to install it without downgrading it, which is by default 1.7.0, all you have to do is skip the git checkout part. The rest is the same and add --use-directml in COMMANDLINE_ARGS at webui-user.bat

    • @viralvideosfun8487
      @viralvideosfun8487 8 หลายเดือนก่อน

      @@tongtongrizhi thanks brother ❤️ it takes 11 mins to generate an image and sometimes it gets cancelled ( txt2img) with my amd rx 6650xt is it normal?

    • @tongtongrizhi
      @tongtongrizhi 8 หลายเดือนก่อน

      Not normal by any means, it could be a few reason:
      1. You are using sdxl checkpoint model, don't use sdxl model, they are slow to load and slow to generate image
      2. If you are using 1.7.0, you did not add --use-directml to COMMANDLINE_ARGS, please make sure you add set COMMANDLINE_ARGS= --lowvram --disable-nan-check --no-half --precision full --no-half-vae --opt-sub-quad-attention --opt-split-attention-v1 --use-directml in webui-user.bat
      3. You generate image way bigger than 768 x 768 pixel, keep the size between 512 and 768.
      4. It could be that you are not using the same github repository as the one I did in this tutorial.

    • @viralvideosfun8487
      @viralvideosfun8487 8 หลายเดือนก่อน

      @@tongtongrizhi i did whatever you did in this tutorial also I'm usin 1.6 version please make more videos on it bro you are the only one making amd videos in such beautiful detailed way

    • @tongtongrizhi
      @tongtongrizhi 8 หลายเดือนก่อน

      Sure, do let me know what sort of video you wish to see in the future, I try to make them within my ability. Your gpu is slightly better than mine. It took me around 1 min 30 seconds-ish to generate 512x512 px image and 3 min-ish for generating image with lora and controlnet.
      If you follow my tut, I assume you are using 1.6.1 version. Maybe you could screenshot your
      1. txt2img setting
      2. task manager > performance
      to my email at heinlein_w@hotmail.com so I try to track what wrong with it.

  •  6 หลายเดือนก่อน

    AttributeError: module 'onnxruntime' has no attribute 'SessionOptions'

    • @tongtongrizhi
      @tongtongrizhi 6 หลายเดือนก่อน

      Wait what? This is directml, not onnx. How did you even get this error?👀

    •  6 หลายเดือนก่อน

      @@tongtongrizhi I follow all steps and when I use webui user, start to install and appears that error, next I delete the file even folder and works SD for one time, in certain moment, A1111 stops to work, close it and cmd windows too, stats "webui user" again and appears the onnxruntime error again.

    • @tongtongrizhi
      @tongtongrizhi 6 หลายเดือนก่อน

      @ what file and folder you delete? I think you have to reinstall everything as you watch the video

    •  6 หลายเดือนก่อน

      @@tongtongrizhi Yes I do it twice, and watching other videos related. This is thel cmd message
      venv "H:\SD 2\stable-diffusion-webui-directml\venv\Scripts\Python.exe"
      Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
      Version: v1.9.0
      Commit hash: 174310096385aa33d7b174f231650a941d73f19b
      Traceback (most recent call last):
      File "H:\SD 2\stable-diffusion-webui-directml\launch.py", line 48, in
      main()
      File "H:\SD 2\stable-diffusion-webui-directml\launch.py", line 39, in main
      prepare_environment()
      File "H:\SD 2\stable-diffusion-webui-directml\modules\launch_utils.py", line 658, in prepare_environment
      from modules.onnx_impl import initialize_olive
      File "H:\SD 2\stable-diffusion-webui-directml\modules\onnx_impl\__init__.py", line 17, in
      class DynamicSessionOptions(ort.SessionOptions):
      AttributeError: module 'onnxruntime' has no attribute 'SessionOptions'
      Presione una tecla para continuar . . .
      The folder I delete for works for one time is this: "venv"

    •  6 หลายเดือนก่อน

      @@tongtongrizhi In a forum I read someone find the solution and is: "change the direction coz phytom are running in the same folder" I don't understand this.
      That I found in a forum, but I don't understand how to do that:
      what is your current working directory? I suspect you are starting python from the onnxruntime source directory? if so, change to any other directory and start python again. if your current working directory has a subdirectory named onnxruntime, python will try to import that subdirectory as a module , which obviously won't work.

  • @ghosthunters.network
    @ghosthunters.network 5 หลายเดือนก่อน

    Tong: oh-oh.. I was running fine.. I closed it.. to see if it would reload... and it did... but now I only get a black box when I try to generate anything.. big black square a output.. any thoughts?? I am watching it run through the process on my CMD.. it running till 100% done but only Black Square shows.. ? have you seen that before?

  • @ghosthunters.network
    @ghosthunters.network 5 หลายเดือนก่อน

    Hey Tong.. Sent you a little thank you.. donated so you can grab a cup of Coffee and a Bagel.. Sincerely thank you for the help... I might have another question for you though... tomorrow.. 555 "HaHaHa".. Concerning Local ran GPT Chat uncensored on PC.. I will bother you then if that is okay?!

    • @tongtongrizhi
      @tongtongrizhi 5 หลายเดือนก่อน

      Thanks, I received it already. I used the uncensored chatgpt before but I deleted it due to low disk space, I try find which one I use last time

    • @ghosthunters.network
      @ghosthunters.network 5 หลายเดือนก่อน

      @@tongtongrizhi thanks.. that could be real helpful.. Much Apprciate.

    • @tongtongrizhi
      @tongtongrizhi 5 หลายเดือนก่อน

      @@ghosthunters.network you can download this at here
      gpt4all.io/index.html
      It's exe file so the installation is straightforward. Then you can download the model you need, uncensor model also included in the download list