You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Arm backend: Support sampler-backed VGF grid_sample for RIFE (pytorch#20329)
Add VGF `grid_sample` custom-shader improvements needed by the RIFE
optical-flow workload.
This stack enables sampler-backed `grid_sample` payloads where
supported, adds support for quantised int8/SNORM image payloads, handles
`align_corners=True`, and updates VGF test infrastructure so
multi-delegate exports can be validated.
Changes
- Add sampler/image payload selection for VGF `grid_sample`.
- Keep unsupported cases on the existing storage-buffer fallback path.
- Allow safe C3-to-C4 padding so RIFE-style 3-channel inputs can use
sampler-compatible image payloads.
- Add int8/SNORM image payload support for quantised `grid_sample`.
- Keep grid coordinates in float for range and precision.
- Add `align_corners=True` sampler shader variants.
- Allow VGF tests to check an expected delegate count instead of
assuming one delegate.
- Add focused tests for sampler, int8/SNORM, fallback, and aligned
shader selection.
cc @digantdesai@freddan80@per@zingo@oscarandersson8218@mansnils@Sebastian-Larsson@robell@rascani
---------
Signed-off-by: Baris Demir <baris.demir@arm.com>
0 commit comments