add bf16 support for bucketize (#55588)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/55588
Test Plan: Imported from OSS
Reviewed By: bdhirsh
Differential Revision: D28836796
Pulled By: VitalyFedyunin
fbshipit-source-id: c9ae5b969c30a45473533be5f29bb497f8da5143