pytorch / xla

Enabling PyTorch on XLA Devices (e.g. Google TPU)
https://pytorch.org/xla
Other
2.48k stars 480 forks source link

Op info test for `bincount` #7390

Open qihqi opened 4 months ago

qihqi commented 4 months ago

Fix the Op info test for bincount

  1. Find the line 17 of test_ops.py and remove bincount from skip_list
  2. Run op_info test with pytest test/test_ops.py
  3. Fix the failure.

Please refer to this guide as guide to fix:

Also refer to these PRs:

ManfeiBai commented 1 month ago

Hi, @Barney-s, thanks for contribution! This issue would be one of the first issue, please feel free to reply this issue, so that we could assign it to you

ManfeiBai commented 1 month ago

this is a wird op according to https://github.com/pytorch/xla/blob/47d231f3e04341767e6023aeaf1d6d486ae333e0/experimental/torch_xla2/test/test_ops.py#L17C18-L17C78, so please feel free to skip this op when try more than one hour on it