← Back to events
ActiveAIRelease

trunk/903d704d38916437fd995fdbc0db031e72de92d9: [Stable-ABI] Add torch::stable::from_file. (#198263)

What happened

Adds torch::stable::from_file to the stable ABI. Needed for torchvision stable-ABI, which currently carries a local stable_from_file helper for image decoding. Summary Introduces torch::stable::from_file and it returns a 1-D tensor backed by a memory-map of the file. Functional differences between the ATen and stable signatures include filename being const std::string& rather than std::string_view . Adds my_from_fil…

Summary assembled by rule from the sources below

Why it's spreading

Sources