Zhanwen CheninRepro RepoBuild PyTorch from Source with CUDA 12.2.1 with Ubuntu 22.04The NVIDIA 535 driver provides excellent backward compatibility with CUDA versions. Meanwhile, as of writing, PyTorch does not fully…Aug 9, 20234Aug 9, 20234
Zhanwen ChenBuild PyTorch from Source with CUDA 11.8NVIDIA 510 explicitly supports is only compatible with 20.04. I tried 22.04 but there were some make errors due to the Linux 5.15 kernel…Feb 24, 20234Feb 24, 20234
Zhanwen CheninRepro RepoInstall CUDA 10.1 and cuDNN 7.5.0 for PyTorch on Ubuntu 18.04 LTSNow that TensorFlow finally supports/requires CUDA 10.x, it’s time to upgrade CUDA and cuDNN. I thought it would be as easy as following…Mar 25, 20195Mar 25, 20195
Zhanwen CheninRepro RepoInstall OpenCV 4.0.1 from Source on MacOS with Anaconda Python 3.7 to Use SIFT and SURFBy default, OpenCV and opencv-python don’t include non-free algorithms like SIFT and SURF. Instead, we need to install it with contrib…Mar 17, 201911Mar 17, 201911
Zhanwen CheninRepro RepoDeploy a Trained RNN/LSTM Model with TensorFlow-Serving and Flask, Part 2: Export and Serve Model…Table of ContentsJan 9, 20192Jan 9, 20192
Zhanwen CheninRepro RepoDeploy a Trained RNN/LSTM Model with TensorFlow-Serving and Flask, Part 1: Introduction and…After following a few popular tutorials such as Stian Lind Petlund’s TensorFlow-Serving 101 (Parts 1 and 2), and Vitaly Bezgachev’s How to…Oct 19, 20181Oct 19, 20181
Zhanwen CheninRepro RepoInstall CUDA 9.2 and cuDNN 7.1 for PyTorch (GPU) on Ubuntu 16.04NVIDIA recently released CUDA 9.2 and cuDNN 7.1, which have been supported by PyTorch but not TensorFlow. To take advantage of them, here’s…Jul 30, 20185Jul 30, 20185