pytorch / xla

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

Op info test for `nn.functional.tanhshrink .. nn.functional.upsample_bilinear` #7563

Open qihqi opened 3 months ago

qihqi commented 3 months ago

Fix the Op info test for nn.functional.tanhshrink .. nn.functional.upsample_bilinear

  1. Find the lines 443 to 447 of test_ops.py and remove nn.functional.tanhshrink .. nn.functional.upsample_bilinear 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: