Compiling and Installing GPU-Supported TensorFlow 1.8.0 from Source on Ubuntu 18.04

Compiling and Installing GPU-Supported TensorFlow 1.8.0 from Source on Ubuntu 18.04

When I first used Linux, the first thing I wanted to do was install the GPU version of TensorFlow. I found a great guide, but even considering that, I spent over 40 hours on the installation. In this article, I want to save you time and share my experience. Below you will find an updated … Read more

Deep Learning Environment Setup Guide for RTX 3090: Pytorch, TensorFlow, Keras

Deep Learning Environment Setup Guide for RTX 3090: Pytorch, TensorFlow, Keras

Click on the above“Beginner Learning Vision” to add it to your favorites or “pin” Important content delivered to you first Author丨Yukyin@Zhihu Source丨https://zhuanlan.zhihu.com/p/279401802 This article is for academic sharing only. If there is any infringement, please contact us to delete the article. Introduction This article introduces the detailed process and code for setting up a deep … Read more

Step-by-Step Guide to Install TensorFlow GPU Version

Step-by-Step Guide to Install TensorFlow GPU Version

Introduction The main difference between the CPU version and the GPU version is the running speed; the GPU version runs faster. Therefore, if your computer’s graphics card supports CUDA, it is recommended to install the GPU version. The CPU version requires no additional preparation and can generally be installed on any computer without needing a … Read more

Overview: Analyzing PyTorch Memory Mechanism

Overview: Analyzing PyTorch Memory Mechanism

MLNLP(Machine Learning Algorithms and Natural Language Processing) community is a well-known natural language processing community both at home and abroad, covering NLP master’s and doctoral students, university teachers, and enterprise researchers. The vision of the community is to promote communication and progress between the academic and industrial sectors of natural language processing and machine learning, … Read more

Speed Up Training by Up to 100 Times! Open Source Differentiable Logic Gate Networks Based on PyTorch

Speed Up Training by Up to 100 Times! Open Source Differentiable Logic Gate Networks Based on PyTorch

Click the “Little White Learns Vision” above, and choose to add “Bookmark” or “Pin“ Important content delivered first Editor’s Recommendation This article explores logic gate networks aimed at machine learning tasks through learning combinations of logic gates. These networks consist of logic gates such as AND and XOR. To achieve effective training, this article proposes … Read more

How to Install PyTorch

How to Install PyTorch

1. Download and install Visual Studio Code choose the appropriate version to install 2. Download and install conda and configure the environment Download method one: official website download Download method two: Tsinghua mirror installation 3. conda environment configuration Open advanced system settings on your computer and click on system environment variables: Find path and then … Read more

Discussing 12 Pitfalls I Encountered in PyTorch

Discussing 12 Pitfalls I Encountered in PyTorch

Author | hyk_1996 Source: CSDN Blog Compiled by: Da Bai 1. Difference in Effects of nn.Module.cuda() and Tensor.cuda() Both the cuda() function can achieve memory migration from CPU to GPU for models and data, but their effects differ. For nn.Module: model = model.cuda() model.cuda() The above two lines achieve the same effect, which is memory … Read more

New PyTorch API: Implementing Different Attention Variants with Just a Few Lines of Code!

New PyTorch API: Implementing Different Attention Variants with Just a Few Lines of Code!

Click on the above“Beginner’s Guide to Vision” to choose to addto favorites or “pin” Important information delivered promptly Reprinted from: Machine Heart | Edited by: Chen Chen Try a new attention pattern with FlexAttention. In theory, the attention mechanism is everything you need. However, in practice, we also need to optimize implementations of attention mechanisms … Read more