PyTorch is a Python-based machine learning library used for applications like deep learning and natural language processing.

We recently stumbled upon a long form essay on PyTorch internals by NYU adjunct faculty Edward Yang that’s a brilliant resource for people who wish to contribute to PyTorch but find the codebase a tad bit daunting.

The behemoth C++ codebase can be overwhelming to quite a few.

The essay breaks it down by telling the basic conceptual structure of a tensor library that supports automatic differentiation.

It also gives potential contributors tools and tricks to find their way around the codebase.

Divided into 2 parts, the first part focuses on the concepts to help better understand how things work under the hood and the second part gets into the nitty gritty details of the code.

Yang has put in several illustrations for examples which makes for really engaging content. We highly recommend!

Credits: PyTorch on Twitter

TO DO: Peruse E. Yang’s long form essay on PyTorch internals to be able to contribute to codebase.

Related

How to scrape data off the web

Data science and data analysis toolsets enable you to study… 

  • 9

Why bootstrapped startups should go for…

Founders of bootstrapped startups do not find much time at… 

  • 11

Render smooth 3D models in your browser

Zdog is a 3D JavaScript engine for canvas tag and SVG. You… 

  • 10

Things to know about no-code prototypes

No-code tools are tools used by people not familiar with… 

  • 10

A network of robots with collective…

A recent project by Ali Yahya, former researcher at… 

  • 11

How to reach out to buyers of your product

The usual suggestion is to go for e-mailing prospective… 

  • 10

Use Google Sheets as database for…

Steph Smith tracks everything she does in Google Sheets.… 

  • 10

Subtract the obvious, add the meaningful…

KISS – “Keep it simple, stupid” is a design principle… 

  • 12

Using TensorFlow? Use this API for weight…

Machine learning models can be optimised in several… 

  • 10

Discover interesting things to explore and do

We curate authentic and awesome content. Sign up for our newsletter for your daily dose of inspiration !