Pith. sign in

REVIEW 3 cited by

Torch.fx: Practical Program Capture and Transformation for Deep Learning in Python

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2112.08429 v2 pith:TUQCP7TV submitted 2021-12-15 cs.LG

classification cs.LG
keywords capturedeeplearningprogramtransformationpythontorchpractitioners
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Modern deep learning frameworks provide imperative, eager execution programming interfaces embedded in Python to provide a productive development experience. However, deep learning practitioners sometimes need to capture and transform program structure for performance optimization, visualization, analysis, and hardware integration. We study the different designs for program capture and transformation used in deep learning. By designing for typical deep learning use cases rather than long tail ones, it is possible to create a simpler framework for program capture and transformation. We apply this principle in torch.fx, a program capture and transformation library for PyTorch written entirely in Python and optimized for high developer productivity by ML practitioners. We present case studies showing how torch.fx enables workflows previously inaccessible in the PyTorch ecosystem.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Scalable Synthesis of distributed LLM workloads through Symbolic Tensor Graphs

    cs.DC 2025-11 conditional novelty 6.0 of 10

    STAGE synthesizes high-fidelity Chakra-format execution graphs for distributed LLM workloads from symbolic tensor definitions, validated against real 128-GPU H100 traces and scaled to 32K GPUs.

  2. PyG 2.0: Scalable Learning on Real World Graphs

    cs.LG 2025-07 conditional novelty 4.0 of 10

    PyG 2.0 is presented as a modular, scalable graph-learning framework with heterogeneous and temporal graph support, compilation-based speedups, and explainability.

  3. Memory-Efficient Activation Checkpointing with Sliding Window and Hirschberg's Algorithm for 0/1 Knapsack Solving in PyTorch

    cs.LG 2026-08 conditional novelty 3.0 of 10

    Sliding-window DP plus Hirschberg's algorithm reduces PyTorch's activation checkpointing knapsack solver memory from O(nW) to O(W) while preserving exact optimality.

Pith tools