2023 / Week 12

2023 / Week 12

to watch →
Deep dive in Nx Backends | Paulo Valente | Code BEAM America 2022
This video was recorded at Code BEAM America 2022 - https://codebeamamerica.com/ seL4 and BEAM: A match made in Erlang | Deep dive in Nx Backends | Paulo Valente - Software Engineer at DockYard ABSTRACT Elixir's Nx library implements its features through a configurable backend structure, in which inputs are dispatched to their respective implementations at runtime. In this talk, we're going to review Nx's Backends and how they play with performance and automatic differentiation. For this, we're going to study how Nx compiles and executes a given code sample and how using defn, Nx's numerical function definitions, can enable Axon (a deep learning library) to work. TALK OBJECTIVES The main objective of this talk is to shed some light in one of the more technical and internal aspects of Elixir's Nx. There are some articles here and there talking about this, but as part of the Nx team I hope to provide some more information about how the library works. This would also be one of the first talks on the subject. TARGET AUDIENCE Although the talk is mainly about an Elixir library, I think all BEAM users which have an interest in machine learning would be interested in it, especially since it's a direct product of the EEF Machine Learning Working Group. It can also be interesting for people which come from an ML background but don't know much about the BEAM • Timecodes 00:00 - 01:10 - Intro & Table of Contents 01:11 - 02:58 - What are the Nx Backends? 02:59 - 04:29 - When to Use Different Backends? 04:30 - 09:25 - Backends vs Numerical Definitions 09:26 - 16:54 - Nx.Defn.Expr Usages 16:55 - 22:29 - To +Inf and Beyond • Follow us on social: Twitter: https://twitter.com/CodeBEAMio LinkedIn: https://www.linkedin.com/company/27159258 • Looking for a unique learning experience? Attend the next Code Sync conference near you! See what's coming up at: https://codesync.global • SUBSCRIBE TO OUR CHANNEL https://www.youtube.com/channel/UC47eUBNO8KBH_V8AfowOWOw See what's coming up at: https://codesync.global
Deep dive in Nx Backends | Paulo Valente | Code BEAM America 2022