pytorch_cluster icon indicating copy to clipboard operation
pytorch_cluster copied to clipboard

Incompatibility with bfloat16

Open PabloVD opened this issue 3 years ago • 2 comments
trafficstars

Hi,

I tried to run torch_cluster.radius_graph in CUDA with bfloat16 data and I got the following error:

    return torch.ops.torch_cluster.radius(x, y, ptr_x, ptr_y, r,
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
                                          max_num_neighbors, num_workers)
RuntimeError: "_" not implemented for 'BFloat16'

Is torch_cluster compatible with torch.bfloat16 format?

Thanks in advance.

PabloVD avatar Sep 06 '22 16:09 PabloVD

We just recently added support for this. You sadly need to install from master for now to get torch.bfloat16 support.

rusty1s avatar Sep 06 '22 16:09 rusty1s

Great, thanks for the response!

PabloVD avatar Sep 06 '22 17:09 PabloVD

This issue had no activity for 6 months. It will be closed in 2 weeks unless there is some new activity. Is this issue already resolved?

github-actions[bot] avatar Mar 06 '23 01:03 github-actions[bot]