PyTorch & CUDA Setup - Windows 10

Поділитися
Вставка
  • Опубліковано 20 сер 2024
  • In this webcast I’ll run through the Windows 10 setup of PyTorch and CUDA to create a Python environment for Deep Learning.
    Links:
    PyTorch Get Started: pytorch.org/ge...
    Your GPU Compute Capability: developer.nvid...
    CUDA Toolkit Installation: developer.nvid...
    How to check if PyTorch is using the GPU? stackoverflow....
    PluralSight Courses: www.pluralsigh...

КОМЕНТАРІ • 58

  • @moh3n333
    @moh3n333 2 роки тому +11

    finally, someone did something useful! Thanks Alan

  • @fisherh9111
    @fisherh9111 10 місяців тому

    Thankyou Alan. Simple, clear, logical and concise. Why can't everyone offering technical "advice" on the internet be a good as this guy?

  • @erfandejband8945
    @erfandejband8945 11 місяців тому

    the best, easy way and check all steps without any complicated thing or doing any crazy code in the terminal. great

  • @vinez7295
    @vinez7295 Рік тому +4

    Thanks man! It really helped me. I searched everywhere and your explanation is the best!

  • @walidjaziriofficial
    @walidjaziriofficial Місяць тому

    Damn!!! this channel should be followed by millions!! you are a GOD dude!!!

  • @patrickstingley4126
    @patrickstingley4126 6 місяців тому

    thank you so much for making this video! I've been struggling for months to kick my GPU into action and it finally works after following your video!

  • @husnimarwan
    @husnimarwan 2 роки тому +3

    Thank you so much man.. been looking something like this. I thought my 1050 Ti is not capable of running PyTorch. Once again thank you so much.

  • @UFO19w
    @UFO19w Рік тому +1

    thanks so much! this has been super helpful, wish I had saw this earlier before wasting time trying to figure out why torch cuda did not work.

  • @vigneshsm7114
    @vigneshsm7114 Рік тому +1

    this video has quite literally saved my life

    • @fisherh9111
      @fisherh9111 10 місяців тому

      I know exactly what you mean!! My experience exactly.

  • @eliasportillaolvera6865
    @eliasportillaolvera6865 2 роки тому +3

    Gracias a este video pude configurar r por fin Cuda y PyTorch, muchas gracias por el aporte.
    Thanks to this video I was able to finally configure Cuda and PyTorch, thank you very much for the contribution.

  • @SamFischer2012
    @SamFischer2012 2 роки тому +3

    Wonderful videos, just what i was looking for and working as a charme

  • @ThorstenMueller
    @ThorstenMueller Рік тому +3

    Thanks for this technical walkthrough. It was really helpful 👏😊.

  • @mental4508
    @mental4508 Рік тому +1

    Very concise and clear explanation. Thank you!

  • @zeelthumar
    @zeelthumar Рік тому +1

    thanks for short and sweet explation

  • @micaelschettine2754
    @micaelschettine2754 Рік тому +1

    OMG. thank you so much! usually people only say "put the pip command"... but where?? i never knew. thanks a lot!

  • @BaconEggsRL
    @BaconEggsRL Рік тому +1

    Great vid, straight to the point. Thank you!

  • @beegz325
    @beegz325 Рік тому +1

    absolute legend, cheers moit

  • @willbott1019
    @willbott1019 Рік тому

    Absolutely brilliant. Cheers, mate!

  • @fernandodavidurruchurtop5605
    @fernandodavidurruchurtop5605 2 роки тому

    Working in July of 2022. Thank you for your knowledge

  • @blenderrender_
    @blenderrender_ Рік тому

    You helped me so much! Thats worth an ABO.

  • @ahmedelshobaky5010
    @ahmedelshobaky5010 Рік тому +1

    You are a life saver, thank you!

  • @Yassinius
    @Yassinius Рік тому +2

    Thanks for clarifying stuff. Wasted too much on this lol

  • @videogamehorizon
    @videogamehorizon 14 днів тому

    Thank you Alan!

  • @cse03raghuveerawankar31
    @cse03raghuveerawankar31 3 місяці тому

    Thank you so much

  • @rebelwither2987
    @rebelwither2987 7 місяців тому

    thanks for the explanations

  • @Hakuo45
    @Hakuo45 7 місяців тому

    Some folders dont exist on my pc for example the "PythonEnviroments" folder or the " WebcastDemos " in which you saved your project. Also as soon as i save the new enviroment in the folder of my project it isnt visible under PythonEnviroments on the right side of Microsoft Visual Studio 2022.
    Can anyone help me with this issue?

  • @Opethian86
    @Opethian86 Рік тому

    Saved my day!

  • @Bewly
    @Bewly Рік тому

    just open command prompt and run the commands
    it saves time

  • @hichamm86
    @hichamm86 2 роки тому

    thank you so much, good job

  • @franciscoparraguez4576
    @franciscoparraguez4576 Рік тому

    Thank you so much.

  • @vonoby3339
    @vonoby3339 11 місяців тому

    why wont python environment show up in visual 2022?

  • @acefuzzball7969
    @acefuzzball7969 Рік тому

    My cuda show it false idk what is wrong. Im using Quadro P2000 SLI

  • @divinechords6695
    @divinechords6695 5 місяців тому

    Will cuda version 11.0.3 work for this?

  • @mahuafu-r4n
    @mahuafu-r4n Місяць тому

    good

  • @I77AGIC
    @I77AGIC Рік тому +1

    Is it not a problem that you used CUDA 11.5 for a pytorch version that requires 11.1?

  • @danielqu4947
    @danielqu4947 2 роки тому

    thanks

  • @yogawicaksana5103
    @yogawicaksana5103 2 роки тому +1

    Great video,sir.
    I wanna ask a question. Is it okay to install cuda 11.5 but in the compute platform of pytorch is 11.3?

    • @CloudCastsAlanSmith
      @CloudCastsAlanSmith  2 роки тому +1

      Hi, I think that should work, but I've not tested it, you can always try and see if it works.

    • @yogawicaksana5103
      @yogawicaksana5103 2 роки тому

      ​@@CloudCastsAlanSmith Thank you sir for a great explanation 😁

  • @MrG-ff1bv
    @MrG-ff1bv 2 роки тому

    so i have got cuda and toch but whenever i try somethin i have a stack overflow... it says my cuda is out of memory

    • @CloudCastsAlanSmith
      @CloudCastsAlanSmith  2 роки тому

      Hi,
      This is a common problem with deep learning...
      You can use Task Manager to monitor the GPU memory: devblogs.microsoft.com/directx/gpus-in-the-task-manager/
      This will show the amount of GPU memory that you have available and are consuming. The model size will affect the GPU memory usage, so you can try using a simpler model. Also the tensors that you load to the GPU will consume memory. You can try using a smaller batch size, and also making sure you are not putting too much data on the GPU. Setting a break-point in your code will allow you to step through line by line and see where the memory is being consumed.
      If you plan on doing a lot with deep learning, you should consider a GPU card with lots of RAM. Jeff Heaton has a great video on this: ua-cam.com/video/pWzlL51oqRo/v-deo.html
      Regards,
      Alan

  • @ecrar2041
    @ecrar2041 Рік тому

    thanks! I'm having a problem with pytorch being usable in my terminal but not my .py files, is there a fix for that?

    • @CloudCastsAlanSmith
      @CloudCastsAlanSmith  Рік тому

      What error are you getting? And what development environment are you using?

  • @shadowflare99
    @shadowflare99 Рік тому

    TY for the tutorial ... but the last message hurt me so much....
    True - 1
    C:\PythonEnvironnements\Torchenv\lib\site-packages\torch\cuda\__init__.py:132: UserWarning:
    Found GPU0 NVIDIA GeForce GTX 660 Ti which is of cuda capability 3.0.
    PyTorch no longer supports this GPU because it is too old.
    The minimum cuda capability supported by this library is 3.7.

    • @CloudCastsAlanSmith
      @CloudCastsAlanSmith  Рік тому +1

      That's not fun, I've had similar on older PCs. :-(

    • @shadowflare99
      @shadowflare99 Рік тому

      @@CloudCastsAlanSmith The problem that "old" PC is my main XD - Now i will open an OF account to get some money for buying a new PC

    • @dogoargento767
      @dogoargento767 11 місяців тому

      thanks god i have GeForce GTX 750 Ti, i coming for u IA voice changer software

    • @shadowflare99
      @shadowflare99 11 місяців тому

      @@dogoargento767 it works very well on my new GPU(3060 ti)

  • @Muzahem96
    @Muzahem96 2 роки тому

    3:53
    In solution explorer it doesnt show me the name of my new Environment. What did you click on to show it? It still show me python3.9

    • @CloudCastsAlanSmith
      @CloudCastsAlanSmith  2 роки тому

      I just did right-Click, Add New Environment and it worked for me. Are you still having problems?

  • @trenvert123
    @trenvert123 Рік тому

    pytorch LTS has been deprecated

  • @Quantum-Omega
    @Quantum-Omega Рік тому

    Allan are you available for an online chat?

    • @CloudCastsAlanSmith
      @CloudCastsAlanSmith  Рік тому

      Sure, I'm in Redmond this week, would next week be OK? Send me an email.

    • @Quantum-Omega
      @Quantum-Omega Рік тому

      @@CloudCastsAlanSmith yes next week would be ideal, however I don't have the option to send my email via private message