pytorch / xla

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

Op info test for `nn.functional.feature_alpha_dropout .. nn.functional.grid_sample` #7521

Open qihqi opened 4 months ago

qihqi commented 4 months ago

Fix the Op info test for nn.functional.feature_alpha_dropout .. nn.functional.grid_sample

  1. Find the lines 223 to 227 of test_ops.py and remove nn.functional.feature_alpha_dropout .. nn.functional.grid_sample 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:

qihqi commented 1 month ago

Got 3 down: https://github.com/pytorch/xla/pull/7969

qihqi commented 3 weeks ago

only 2 missing here: "nn.functional.fractional_max_pool2d", "nn.functional.fractional_max_pool3d",