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

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

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

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

    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

  • @Viral_Shorts66642
    @Viral_Shorts66642 5 месяцев назад +2

    Allah razı olsun sayende hallettik

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

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

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

  • @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?

  • @ИльяСоболев-р3п
    @ИльяСоболев-р3п 2 месяца назад

    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?

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

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

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

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

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

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

    Thank you so much😁

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

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

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

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

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

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

  • @ZakiAsir
    @ZakiAsir 5 месяцев назад

    bless you you kind soul

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

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

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

    Getting images with only noise, Not able to generate properly

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

      should be problem with gpu, try to update gpu driver

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

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

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

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

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

    thank youuuuuu

  • @Asae.-.
    @Asae.-. 3 месяца назад

    Not working at all sadly

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

    YOU ARE FUCKING AWESOME! LIKE + SUB

  • @deswing88
    @deswing88 5 месяцев назад

    i love you

  • @streamer7222
    @streamer7222 6 месяцев назад

    thx

  • @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 ;(

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

    didn't work for me :(

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

      Why :(

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

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

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

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

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

    allah bless you bro