trunk/f3218d29dceb4e224f4c53f9ee096e0bec62aa12: Make c10::List's iterator model the concepts it claims (#196002)
- PyTorch: 546 events in the last 90 days
- PyTorch: 540th Release in the last 90 days
- Previous: earlier the same day · ciflow/torchtitan/196059: [UPDATE] Update
What happened
iterators (shape_analysis.cpp, register_ops_utils.{h,cpp}, register_prim_ops.cpp) to use std::ranges::sort/reverse instead. is hand-written, not defaulted: libc++'s __wrap_iter has no of its own, so a defaulted is implicitly deleted on macOS, failing every iterator concept. Derived from overrideGradient by value -> set) is now copy-free per element. Second commit: List::emplace forwarded args straight into std::vect…
Summary assembled by rule from the sources below