xla
90e2e8a4 - [Functionalization] Fix ScatterReduce (#4576)

Commit
2 years ago
[Functionalization] Fix ScatterReduce (#4576) Summary: ScatterReduce::reduce_ uses a unsafe type c10::string_view to store the string. Replace it with std::string and re-enable all previous failing tests. Test Plan: TPU_LIBRARY_PATH=/home/ptxla/.local/lib/python3.8/site-packages/libtpu/libtpu.so PJRT_DEVICE=CPU test/cpp/build/test_ptxla --gtest_filter=AtenXlaTensorTest.TestScatterReduce*
Author
Committer
Parents
Loading