Hugging Face Blog

Profiling in PyTorch (Part 1): A Beginner's Guide to torch.profiler

arXiv AI
Oct 21

TorchTPU - A Hybrid Eager/Compiled Architecture for Native PyTorch Execution on TPU

arXiv:2610.24161v2 Announce Type: replace Abstract: TorchTPU is an open-source collaboration between Google and Meta that introduces a native and principled PyTorch backend for Google TPUs. It enable...

By Claudio Basile, Michael Voznesensky, Gunhyun Park, Ben Wilson, Parker Holloway, Zhanyong Wan, Vlad Belous, Manish Khanna, Paul Ganssle, Kevin Gleason, Andrew Dame, Brendan Folie, Bhavya Bahl, Haifeng Jin, Pedro Goncalves Mokarzel, Arian Arfaian, Luke Boyer, Chi Zhang, Yiling Yuan, Adam Mainz, Aditya Patel, Huangze Tang, Jay Gan, Lizzie Liang, Will Froom, Tushar Agarwal, Karlo Basioli, Theotime Combes, Emilio Cota, Minos Papadopoulos, Tudor Pipernea, Yarong Mu, Qi Zhou, Yaoshiang Ho, Aleksey Vlasenko, Alexander Brauckmann, Ziyin Huang, Jack Oh, Jerry Hsu, Tanvi Bajpai, Jialei Chen, Wenjun Gu, Chintan Shah, Chris Chan, Sayce Falk, Chris Jones, Rob Torres, Kat Ko, Lee Howes, Freya Azad, Andi Gavrilescu, Joe Pamer, Bill Jia
arXiv Machine Learning
Nov 11

TorchCurves: Differentiable Parametric Curves

TorchCurves is a PyTorch library that treats vector‑valued parametric curves as learnable primitives, mapping batches of scalar inputs to points on curves represented in B‑spline or Legendre polynomial bases. It supports differentiation through both inputs and coefficients, allowing curve coefficients to be optimized jointly with surrounding models or generated by another network. The library offers trainable modules, reusable basis modules, and a functional interface for applications such as continuous feature embeddings, Kolmogorov‑Arnold networks, and functional regression, while emphasizing readability and maintainability without custom hardware kernels.

By Alex Shtoff