PyTorch: [Stable-ABI] Add torch::stable::masked_select. (#198048)
Exposes masked_select through the stable ABI as torch::stable::masked_select .
Executive Summary
Exposes masked_select through the stable ABI as torch::stable::masked_select . torchvision's stable-ABI currently utilizes a local masked_select helper . Summary Adds torch::stable::masked_select , which calls aten::masked_select through the dispatcher and returns a 1-D tensor of the elements of self where mask is true. The wrapper has the same shape as torch::stable::index_select .
Hyperscale Open Source & Cloud Infrastructure Review
From an infrastructure engineering, cloud-native scale, and hyperscale governance standpoint: - **Hyperscale Provenance:** Open-sourcing internal frameworks subjects proprietary systems to rigorous public analysis. - **De-facto Standard Cohesion:** Publishing enterprise tooling establishes interoperable specifications across distributed execution. - **Vendor Decoupling:** Platform engineers can inspect underlying telemetry and memory layouts without black-box vendor lock-in.
Impact on the Open Ecosystem
Bridges enterprise engineering scale with independent, reproducible open-source software stacks.