Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions backends/arm/test/ops/test_grid_sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,18 @@ def test_grid_sampler_vgf_no_quant(test_data):
run_on_vulkan_runtime=False,
)
pipeline.run()


@common.parametrize("test_data", test_data_suite, xfails=xfails, strict=False)
@common.SkipIfNoModelConverter
def test_grid_sampler_vgf_quant(test_data):
test_data = test_data()
pipeline = VgfPipeline[input_t](
GridSampler2d(),
test_data,
aten_op,
exir_op,
quantize=True,
run_on_vulkan_runtime=False,
)
pipeline.run()
4 changes: 2 additions & 2 deletions docs/source/backends/arm-vgf/VGF_op_support.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ Total supported PyTorch APIs: **154**.
| `torch.full_like` | FP, INT | `FP32`, `INT8` | 8x8 |
| `torch.gather` | FP, INT | `FP32`, `FP16`, `BF16`, `INT8`, `BOOL` | 8x8 |
| `torch.ge` / `>=` | FP, INT | `FP32`, `INT8`, `INT16` | 8x8, 16x8 |
| `torch.grid_sampler` | FP | `FP32` | - |
| `torch.grid_sampler_2d` | FP | `FP32` | - |
| `torch.grid_sampler` | FP, INT | `FP32`, `INT8` | 8x8 |
| `torch.grid_sampler_2d` | FP, INT | `FP32`, `INT8` | 8x8 |
| `torch.group_norm` | FP | `FP32` | - |
| `torch.gt` / `>` | FP, INT | `FP32`, `INT8`, `INT16` | 8x8, 16x8 |
| `torch.index_put_` | INT | `INT8` | 8x8 |
Expand Down
Loading