PyTorch

Advanced Selection from Tensors in Pytorch

Using torch.index_select, torch.gather and torch.takeIn some situations, you’ll have to do some advanced indexing / selection with Pytorch, e.g. answer the query: “how can I choose elements from Tensor A following the indices laid...

Pytorch Introduction — Enter NonLinear Functions

With our data in-place, it’s time to coach our first Neural Network. We’ll use an identical architecture to what we’ve done within the last blog post of the series, using a Linear version of...

Implementing Soft Nearest Neighbor Loss in PyTorch

The category neighborhood of a dataset will be learned using soft nearest neighbor lossIn this text, we discuss easy methods to implement the soft nearest neighbor loss which we also talked about here.Representation learning...

Implementing math in deep learning papers into efficient PyTorch code: SimCLR Contrastive Loss

IntroductionOne of the perfect ways to deepen your understanding of the mathematics behind deep learning models and loss functions, and likewise an incredible strategy to improve your PyTorch skills is to get used to...

Fully Open Source Strategy within the “Make Money with LLM” Meta

https://www.youtube.com/watch?v=jN2hg8W23L8 (Video production = AI Times) Last week, meta drew attention by announcing that it could release a big language model (LLM) that may very well be used commercially. In February, Meta also announced 'LLaMA',...

Boosting PyTorch Inference on CPU: From Post-Training Quantization to Multithreading Problem Statement: Deep Learning Inference under Limited Time and Computation Constraints Approaching Deep Learning Inference on...

For an in-depth explanation of post-training quantization and a comparison of ONNX Runtime and OpenVINO, I like to recommend this text:This section will specifically have a look at two popular techniques of post-training quantization:ONNX...

Boosting PyTorch Inference on CPU: From Post-Training Quantization to Multithreading Problem Statement: Deep Learning Inference under Limited Time and Computation Constraints Approaching Deep Learning Inference on...

For an in-depth explanation of post-training quantization and a comparison of ONNX Runtime and OpenVINO, I like to recommend this text:This section will specifically have a look at two popular techniques of post-training quantization:ONNX...

Whisper JAX vs PyTorch: Uncovering the Truth about ASR Performance on GPUs Introduction PyTorch vs. JAX Constructing the ARS System that uses PyTorch or JAX Whisper JAX vs....

Deep Dive into Automatic Speech Recognition: Benchmarking Whisper JAX and PyTorch Implementations Across PlatformsOn this planet of Automatic Speech Recognition (ASR), speed and accuracy are of great importance. The dimensions of the information and...

Recent posts

Popular categories

ASK ANA