How to install sd in any amd gpu. Torch not is not able to use gpu error fixed.

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ต.ค. 2024

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

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

    If you are installed latest version of SD, there might be problem with that arguments f.e: launch.py unrecognized arguments : --bla bla, just remove that argument in webui-user.bat file or go to github repo and take a look issues section

  • @ИльяСоболев-р3п
    @ИльяСоболев-р3п หลายเดือนก่อน

    ONNX failed to initialize: Failed to import diffusers.pipelines.auto_pipeline because of the following error (look up to see its traceback).
    How to fix?

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

    Hai, thx for the solution but i have another question, why my cpu and gpu only load about 5% in total when generating that causing long waiting time to finish the render?

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

    Hi, I've copy and pasted the command and it just says this
    '.\venv\Scripts\activate.bat' is not recognized as an internal or external command,
    operable program or batch file.
    please help

    • @Azaan-UK
      @Azaan-UK 21 วันที่ผ่านมา

      Hi, Just go to the venv folder, there scripts, and open cmd there, and type activate, it'll automatically activate it

  • @OdrikaAnusmita
    @OdrikaAnusmita 2 หลายเดือนก่อน +1

    What to do?? File "C:\Users\parve\miniconda3\envs\LivePortrait\lib\site-packages\torch\cuda\__init__.py", line 284, in _lazy_init
    raise AssertionError("Torch not compiled with CUDA enabled")
    AssertionError: Torch not compiled with CUDA enabled

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

      try to reinstall venv folder

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

    DLL load failed while importing onnxruntime_pybind11_state: How to solve this problem? Help please🙏

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

      should be problem with directX drivers, update or downgrade your gpu driver

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

      thanks🙏@@googlengineer

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

    Why i m getting the same error even i have a nvidia graphics card 4gb not a amd. Should i follow this method or not?

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

      its depend on OS. torch is especially for nvidia try different versions of torch library or take a look that github.com/AUTOMATIC1111/stable-diffusion-webui/issues/15614#issuecomment-2221500167

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

    Спасибо, бро! 2 дня искал решение проблемы

  • @Viral_Shorts66642
    @Viral_Shorts66642 4 หลายเดือนก่อน +2

    Allah razı olsun sayende hallettik

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

    But why u use --skip-torch-cuba if u use torch directml ?

    • @googlengineer
      @googlengineer  5 หลายเดือนก่อน +2

      Cuda is nvidia technology, zluda is alternative for cuda in amd gpu's, also torch doesn't support amd gpu's that's why we need to use torch-directml. It's pretty complex and If it works don't touch it

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

    Thank you so much😁

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

    Failed
    launchpy error: unrecognized arguments: --use-directml

  • @shalapai2990
    @shalapai2990 27 วันที่ผ่านมา

    I don't know man, I did everything as you said and I still have the same error

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

    Getting images with only noise, Not able to generate properly

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

      should be problem with gpu, try to update gpu driver

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

      @@googlengineer There was problem with certain models like dreamshapner redownloading them fixed it

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

    launch.py: error: unrecognized arguments: --use-directml

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

    AttributeError: module 'torch' has no attribute 'dml' :(

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

      try to reinstall venv folder

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

    you lost me for a long time at the virtual environment. Apparently in Win 10 its a little different, but I managed to figure it out. I've still noticed that SD runs far slower than comfyui for me. Thats for another day.

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

      how to do in windows 10 becouse its not working for me

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

    bless you you kind soul

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

    thank youuuuuu

  • @Asae.-.
    @Asae.-. 2 หลายเดือนก่อน

    Not working at all sadly

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

      What's the problem

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

    YOU ARE FUCKING AWESOME! LIKE + SUB

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

    i love you

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

    allah bless you bro

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

    didn't work for me :(

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

      Why :(

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

      @@googlengineer I think I skipped a step or maybe I downloaded something wrong. I'm not sure but after setting the commands and text, the program doesn't work. Can you a tutorial from 0. Step by step

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

      @@sanchezcruzjoserodrigo8355 Unfortunately I can't. it's so easy just install specific version of python, git and clone repository and then watch the video again

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

      @@googlengineer okey i'll uninstall everything and try again

  • @InteligenciaIndependienteL-u2i
    @InteligenciaIndependienteL-u2i 2 หลายเดือนก่อน

    i have this same issue but on NVIDIA

    • @googlengineer
      @googlengineer  2 หลายเดือนก่อน +1

      take a look at this issue github.com/AUTOMATIC1111/stable-diffusion-webui/issues/15614#issuecomment-2221500167

    • @InteligenciaIndependienteL-u2i
      @InteligenciaIndependienteL-u2i 2 หลายเดือนก่อน

      @@googlengineer hey thank you, but yeah did see that, no luck ;(

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

    thx