Tracing's Achilles' Heel: Data-Dependent Control Flow

Tracing captures a model's operations based on a single example input, critically failing to represent `if` statements or `for` loops whose behavior depends on tensor values, unlike scripting which compiles the full conditional logic.

Sources

Open the full topic