1. Blogger Settings: 2. InDesign: 3. LaTeX: 4. Programming: 5. Taigu:
Every times when Nvidia updates its drivers, the task with Tensorflow is more or least impacted. Quote from TF's website: TensorFlow 2.10 was the last TensorFlow release that supported GPU on native-Windows. Starting with TensorFlow 2.11, you will need to install TensorFlow in WSL2, or install tensorflow or tensorflow-cpu and, optionally, try the TensorFlow-DirectML-Plugin. PyTorch works fine with CUDA. With some modifications on environment variables to use the toolkit 12.1, it is easy to setup for running PyTorch projects on Windows with GPU. To attempt to run TF project on WSL2 with GPU, there comes an idea to create a C# project to run a WSL-python-script process on Windows. Create a C# WinForm project with Visual Studio. Set the project with x64 platform (replace with "Any CPU")! (Otherwise, the running process will be in 32-bit, on which, WSL is not installed.) The code looks like this ( Please refer to the original code ): using (var proc...