Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix specailization issue in keyed_jagged_index_select_dim1_forward_cu…
…da (pytorch#3578) Summary: X-link: facebookresearch/FBGEMM#664 Pull Request resolved: pytorch#3578 `lengths` is a tensor with symbolic shapes. Calling `len` on it will force specialization on it which will cause data dependent failure as shown below: {F1974383976} tlparse: https://fburl.com/74rjmr8e The fix is to replace `len` with equivalent operations which support symbolic shapes. Reviewed By: TroyGarden Differential Revision: D67491452 fbshipit-source-id: ed2207b310697d774a284f296c8d34ca2da61adc
- Loading branch information