Windows 10: WSL 2 Freezes During PyTorch Model Training

Discus and support WSL 2 Freezes During PyTorch Model Training in Windows 10 Software and Apps to solve the problem; I'm currently training some models on WSL 2 with PyTorch. After some time maybe about 20 mins, WSL freezes for no apparent reason. The ML model uses... Discussion in 'Windows 10 Software and Apps' started by GabrielMongaras, Nov 7, 2023.

  1. WSL 2 Freezes During PyTorch Model Training


    I'm currently training some models on WSL 2 with PyTorch. After some time maybe about 20 mins, WSL freezes for no apparent reason. The ML model uses about 2 GB of VRAM while my PC has 24 GB and utilizes my GPU at about 50%, so I know it's not a resource issue. The issue also happens on the CPU. After it freezes, I must restart my computer or shutdown then start WSL back up.What I've Tried:- Upgrading WSL- Updating windows- Allocating max resources to WSLI've also tried troubleshooting with some online forum posts, but to no avail.Any ideas why this may be happening?

    :)
     
    GabrielMongaras, Nov 7, 2023
    #1

  2. WSL 2

    I want to make use of WSL 2 feature with the new update of Windows version 2004 , in order to use WSL 2 i need to enable Virtualization in my pc bios settings. So when i enable virtualization my windows starts lagging and all the animations of scrolling
    etc etc lags...Please suggest me something to fix that so that i could use the new virtualization feature.
     
    Legend Hunter 3, Nov 7, 2023
    #2
  3. Brink Win User
    Brink, Nov 7, 2023
    #3
  4. OS-50101 Win User

    WSL 2 Freezes During PyTorch Model Training

    Upgrade to WSL 2

    I installed WSL using `wsl --install`. It installed WSL 1 not 2. In the meantime I loaded Ubuntu and made several customizations there. Can I upgrade to WSL 2 and preserve this Ubuntu dstribution?
     
    OS-50101, Nov 7, 2023
    #4
Thema:

WSL 2 Freezes During PyTorch Model Training

Loading...
  1. WSL 2 Freezes During PyTorch Model Training - Similar Threads - WSL Freezes During

  2. Frequent BSOD when training models with python scripts

    in Windows 10 Gaming
    Frequent BSOD when training models with python scripts: Hello,when running python scripts to train models on my PC, windows keeps BSODing after some time. specs: intel i5 9600K, 16GB DDR4 RAM, RTX3080 GPU, windows 11.I will attach some dmp files that were generated in the crashes if anyone could help.dmp filesI already ran the...
  3. Frequent BSOD when training models with python scripts

    in Windows 10 Software and Apps
    Frequent BSOD when training models with python scripts: Hello,when running python scripts to train models on my PC, windows keeps BSODing after some time. specs: intel i5 9600K, 16GB DDR4 RAM, RTX3080 GPU, windows 11.I will attach some dmp files that were generated in the crashes if anyone could help.dmp filesI already ran the...
  4. WSL 2 Freezes During PyTorch Model Training

    in Windows 10 Gaming
    WSL 2 Freezes During PyTorch Model Training: I'm currently training some models on WSL 2 with PyTorch. After some time maybe about 20 mins, WSL freezes for no apparent reason. The ML model uses about 2 GB of VRAM while my PC has 24 GB and utilizes my GPU at about 50%, so I know it's not a resource issue. The issue also...
  5. Train a model in wsl caused blue screen.

    in Windows 10 BSOD Crashes and Debugging
    Train a model in wsl caused blue screen.: I trained a model in wsl, it takes a long time to train. But it unfortunately caused blue screen. I ran !analyze -v to get debug info.******************************************************************************** ** Bugcheck Analysis **...
  6. Train a model in wsl caused blue screen.

    in Windows 10 Gaming
    Train a model in wsl caused blue screen.: I trained a model in wsl, it takes a long time to train. But it unfortunately caused blue screen. I ran !analyze -v to get debug info.******************************************************************************** ** Bugcheck Analysis **...
  7. Train a model in wsl caused blue screen.

    in Windows 10 Software and Apps
    Train a model in wsl caused blue screen.: I trained a model in wsl, it takes a long time to train. But it unfortunately caused blue screen. I ran !analyze -v to get debug info.******************************************************************************** ** Bugcheck Analysis **...
  8. WSL 2 Ubuntu

    in Windows 10 Customization
    WSL 2 Ubuntu: Hello Sir/Ma'am, I'm using Windows Subsystem for linux version 2 to use Ubuntu and recently I've found out that my Ubuntu terminal is not giving any output when I type "Who" command. Can anybody help me? Thank you....
  9. WSL 2

    in Windows 10 BSOD Crashes and Debugging
    WSL 2: I want to make use of WSL 2 feature with the new update of Windows version 2004 , in order to use WSL 2 i need to enable Virtualization in my pc bios settings. So when i enable virtualization my windows starts lagging and all the animations of scrolling etc etc lags...Please...
  10. WSL 1 to WSL 2 Upgrade

    in Windows 10 Support
    WSL 1 to WSL 2 Upgrade: Been using Windows Subsytem for Linux for some time. How do I get it upgrade to WSL 2. 132527