just now

Default arguments

What do default arguments have to do with PyTorch design? Why are default arguments great for clients (call sites) but not for servers (implementation sites)? In what sense are default arguments a canonicalization to max arity? What problems does this canonicalization cause? Can you canonicalize to minimum arity? What are some lessons to take?

Listen to this episode

0:00 / 0:00

Summary

What do default arguments have to do with PyTorch design? Why are default arguments great for clients (call sites) but not for servers (implementation sites)? In what sense are default arguments a canonicalization to max arity? What problems does this canonicalization cause? Can you canonicalize to minimum arity? What are some lessons to take?

First published

06/25/2021

Genres

technology

Duration

14 minutes

Parent Podcast

PyTorch Developer Podcast

View Podcast

Share this episode

Similar Episodes

  • pytorch-probot

    07/12/2021

    wookim@fb.com (PyTorch)

    pytorch-probot is a GitHub application that we use to automate common tasks in GitHub. I talk about what it does and some design philosophy for it. Repo is at: https://github.com/pytorch/pytorch-probot

    Clean
  • PyTorch 2.0

    12/04/2022

    wookim@fb.com (PyTorch)

    Soumith's keynote on PT2.0: https://youtu.be/vbtGZL7IrAw?t=1037PT2 Manifesto: https://docs.google.com/document/d/1tlgPcR2YmC3PcQuYDPUORFmEaBPQEmo8dsh4eUjnlyI/edit# PT2 Architecture: https://docs.google.com/document/d/1wpv8D2iwGkKjWyKof9gFdTf8ISszKbq1tsMVm-3hSuU/edit#

    Clean
  • TorchScript

    06/15/2021

    wookim@fb.com (PyTorch)

    There is a really good TorchScript overview at https://github.com/pytorch/pytorch/blob/master/torch/csrc/jit/OVERVIEW.md and in this 20min podcast, I want to give you some of the highlights from this document.

    Clean
  • Vectorization

    05/07/2021

    wookim@fb.com (PyTorch)

    What is vectorization? How do you use it in PyTorch? What are some of the traps and pitfalls of writing vectorized code in PyTorch?Further reading:native/cpu README https://github.com/.../aten/src/ATen/native/cpu/README.mdVec256 classes https://github.com/.../tree/master/aten/src/ATen/cpu/vec256AVX512 support tracking issue https://github.com/pytorch/pytorch/issues/56187

    Clean

Similar Podcasts

  • Storie di Developers

    08/12/2020

    Simone Torrisi

    Interviste a Developer più o meno noti del panorama IT italiano. Attraverso la loro storia, le loro esperienze, le loro difficoltà, i Developer di domani possono catturare aspetti motivazionali che possono aiutarli a conoscere meglio questo mondo dall'interno. Telegram: https://t.me/tomorrowdevs_channel

    Clean
  • Podmax Podcast: Let's Talk About Movies

    08/15/2020

    Podmax Podcast

    A podcast dedicated to the love of movies, the good and bad.

    Clean
  • Cedar Valley Young Adults Podcast

    08/11/2020

    CVC Young Adults Podcast

    Cedar Valley Church's Young Adult Ministry Podcast, in Bloomington, MN

    Clean
  • One Piece Podcast

    08/11/2020

    No es otro estúpido podcast

    El único podcast de One Piece en castellano.Entra, escúchanos y diviértete con este programa dedicado exclusivamente a la maravillosa serie de One Piece. Una maravillosa aventura de piratas y corsarios que no te dejará indiferente.Teorías locas, curiosidades, resúmenes y monográficos es lo que os encontrareis en este canal.¡Suscríbete y recomiéndanos a tus amigos!Blog:https://podcastonepiece.wordpress.comTwitter: https://twitter.com/PodcastOnePieceFacebook:https://www.facebook.com/podcastonepiece

    Clean
  • STAR WARS The Vintage Rebellion Podcast

    08/11/2020

    The Star Wars Vintage Rebellion Podcast - SWTVR - Podcast Team

    The Star Wars Vintage Rebellion Podcast is brought to you by five vintage Star Wars Toy collectors. The team discuss vintage star wars collectibles, recent threads and stories from across social media and forums, the current vintage market, oddball items, as well as covering stories that have been rocking the vintage collecting community. There are also interviews with all types of collector as well as an events section where you can discover Star Wars events in your area. All this plus much much more, so download this podcast now!

    Clean
  • PeloTonOfFun

    08/17/2020

    PeloTonOfFun Podcast

    A pro cycling podcast by American husband and wife super fans Ryland & Emily Lu Aldrich.

    Clean
  • AMERICA OUT LOUD PODCAST NETWORK

    08/12/2020

    AMERICA OUT LOUD PODCAST NETWORK

    Your Source for Free Speech, Talk Radio, Podcasts, and News - America Out Loud is home to expert columnists, talk show hosts, and national commentators - Here we take on the challenges of our generation so that we can preserve future generations.

    Clean
  • Podcast – Teenager Lesben-Podcast

    08/15/2020

    Hey Ihr da draussen,dies ist ein Podcast für schwule und lesbische Teenager.

    Clean
  • CriticaAme Podcast

    08/15/2020

    Crítica Americanista

    Podcast by Crítica Americanista

    Clean
  • MSPoweruser Podcast

    08/16/2020

    MSPoweruser

    Welcome to the MSPoweruser podcast! This is THE podcast for the Microsoft enthusiast and power user. We discuss the latest news about Microsoft, Windows 10, Windows Phone, Xbox and everything Microsoft!

    Clean
  • HeBrews Podcast

    08/11/2020

    A podcast from HeBrews Fort Wayne covering music, faith, and culture.

    Clean
  • NFgametime's Podcast

    08/11/2020

    NFgametime

    Gametime med Nikko och Fernan är en Podcast där vi spelar tv-spel och pratar om allt som faller oss in. Vi är en blandning av humor, nörderi och galenskap.http://www.nfgametime.blogg.se/

    Clean

Episode Description

What do default arguments have to do with PyTorch design? Why are default arguments great for clients (call sites) but not for servers (implementation sites)? In what sense are default arguments a canonicalization to max arity? What problems does this canonicalization cause? Can you canonicalize to minimum arity? What are some lessons to take?

Further reading. https://github.com/pytorch/pytorch/issues/54613 stop serializing default arguments

Discussion (0)

Be respectful and constructive in your comments

No comments yet

Be the first to share your thoughts about this episode!