The Easiest Way to Install PyTorch in Anaconda Python (on Both CPU and GPU)

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

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

  • @konstantino.
    @konstantino. 13 дней назад

    easy & clear and working !... Great Job

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

    Man!!!! I made it. I was trying for several days. Order of steps is important here guys. You made it in the different order and it doesn't see it. I was trying basically same stuff but slightly different and it didn't work. Deleted old environment, followed your steps and it started working. Huge difference in comparison to CPU.

  • @md.shahriarabidswapnil604
    @md.shahriarabidswapnil604 5 месяцев назад

    it was very helpful. thank you vai

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

    Thank you very much sir, that s was helpful

  • @JamesChukwuemeka-ir8lu
    @JamesChukwuemeka-ir8lu 6 месяцев назад

    This was very helpful. Thank you

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

    Thanks you , you help me to save a lot of time

  • @louisyyy5650
    @louisyyy5650 17 дней назад

    Hello, thank you very much for your video. I use Jupyter Notebook. I was able to install Pytorch successfully on CPU, but the installation on GPU doesn't work. I installed the version 12.6 of the CUDA toolkit from the website you provided, and then the CUDA 12.4 from the pytorch website, but it didn't work (I tried the test in the video)

    • @Morteza_Sc
      @Morteza_Sc  17 дней назад

      @@louisyyy5650 hi, please make sure to follow the steps! I would remove all of them and make a new environment and try following the steps as it is laid out in the video.

  • @MuhammadIbrahim-qq9xe
    @MuhammadIbrahim-qq9xe 8 месяцев назад

    Thanks for this great content! I'm assuming that PyTorch and the ability to use my GPU is only constrained within the PT environment? So if I have an existing project of a different environment, it would not be able to run?

    • @Morteza_Sc
      @Morteza_Sc  7 месяцев назад +1

      Hi, for some reason RUclips just showed me your comment! Sorry for delay! Yes, you're right. If you change your environment, you cannot use the GPU anymore, it is only constrained to the PT environment.

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

    Sir, you are my hero ! Wanted to ask, can you do a guide or just tell me the similar approach to do in tensorflow ? do i just use the same env created for PT and install it ? i cant find whats the latest cuda tensorflow uses, if i ask of you nicely can u reply to me the long code i need run to install in anaconda powershell if you can check for me pretty please ? :D

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

      Hey Robert! Thank you for your comment! For TensorFlow, things are a bit more complicated. My first video can help you:
      ruclips.net/video/h1H3dybArEY/видео.htmlsi=A3bd4JMeGEyH0OAN
      if you just want a simple way to install TF on Anaconda and don't care about GPU, use this video:
      ruclips.net/video/QJjHc2iSeBc/видео.htmlsi=Ikql45jMlQ3FGo-k
      It is a little more complicated when it comes to TF. Hope this helps!

  • @AmitChaudhary-qx5mc
    @AmitChaudhary-qx5mc 7 месяцев назад +1

    Thank you so much.

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

    I have this issue "OSError: [WinError 126] The specified module could not be found. Error loading "C:\ProgramData\anaconda3\envs\torch_cuda\Lib\site-packages\torch\lib\fbgemm.dll" or one of its dependencies."

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

      @@rishatdilmurat8913 please make sure you follow the instructions step by step… you shouldn’t get any error!!

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

      @@Morteza_Sc I followed what you did on the video; The only difference was the version of torch and cuda. If you can send your email, definitely I want to send the version and step.

    • @Morteza_Sc
      @Morteza_Sc  5 месяцев назад +1

      @@rishatdilmurat8913 send an email to morteza.maali.y2@gmail.com

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

    OSError: [WinError 126] The specified module could not be found. Error loading "C:\Users
    avee\AppData\Roaming\Python\Python312\site-packages\torch\lib\fbgemm.dll" or one of its dependencies.

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

      @@MrRaveelhussain please make sure you follow the steps!!

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

    after installing CUDA also , i see cuda is not availble "CUDA is not available. Pytorch can use CPU for computation"

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

      Please make sure yo follow the steps as indicated in the video! You should be able to easily get that done.

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

      @@Morteza_Sc any Nvdia GPU dependency?

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

      @@cutekids2214 I don’t think so, just install the latest version of them, the latest that anaconda python chooses for you…

  • @md.shahriarabidswapnil604
    @md.shahriarabidswapnil604 5 месяцев назад

    even after following all the steps. in anaconda command prompt a lot of files are being downloaded. why is that so?

    • @Morteza_Sc
      @Morteza_Sc  5 месяцев назад +1

      @@md.shahriarabidswapnil604 those are the necessary files. Here you just use the easiest way to download and install those files.

    • @md.shahriarabidswapnil604
      @md.shahriarabidswapnil604 5 месяцев назад

      @@Morteza_Sc yepp. I continued with those and verified. In sha allah wont face any problem

  • @Larissa-o2u
    @Larissa-o2u 2 месяца назад

    It says "Nvidia installation program failed" what should I do?

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

      @@Larissa-o2u please make sure you follow all the steps as shown in the video!! You shouldn’t be facing any error…

  • @김의천-g2p
    @김의천-g2p 6 месяцев назад

    Hew. I did it. Thank you!

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

    GOD BLESSSSSSSSS YOU THANK YOU VERY MUCH §§§§§

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

    100000000000000000000000000000000 times thank you