Skip to content

[GPU] Fix for Interpolate func tests on PTL#36752

Open
nshchego wants to merge 1 commit into
openvinotoolkit:masterfrom
nshchego:gpu/bug/interpolate
Open

[GPU] Fix for Interpolate func tests on PTL#36752
nshchego wants to merge 1 commit into
openvinotoolkit:masterfrom
nshchego:gpu/bug/interpolate

Conversation

@nshchego

@nshchego nshchego commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Details:

  • Corrected GPU Interpolate lowering for explicit empty axes, so it behaves as “all axes” like the reference path.
  • Aligned GPU resample scale and coordinate calculations with CPU/reference Interpolate behavior, including padded sizes-mode cases.
  • Hardened nearest and linear/cubic GPU kernels against padding-related invalid reads, removing the CL_INVALID_EVENT failures.
  • Restricted optimized kernels when their assumptions do not hold, routing padded or empty-axis cubic/nearest cases to safer paths.
  • Fixed Pillow Interpolate precision by using f32 intermediate buffers for f32 output.
  • Fixed v11 explicit-axes sizes test setup so v11 receives per-axis sizes instead of full target shapes.
  • Adjusted GPU test tolerances where the remaining differences are expected precision/rounding effects:
    • integer 5D linear_onnx uses absolute tolerance 1.f
    • dynamic f32 cubic layout tests use absolute tolerance 1e-3
    • v11 f32 Interpolate threshold now matches the v4 fixture behavior

Tickets:

AI Assistance:

  • AI assistance used: yes

@nshchego
nshchego requested a review from a team as a code owner July 7, 2026 10:24
@nshchego
nshchego requested review from a team as code owners July 7, 2026 10:24
@github-actions github-actions Bot added category: IE Tests OpenVINO Test: plugins and common category: GPU OpenVINO GPU plugin labels Jul 7, 2026
@nshchego
nshchego force-pushed the gpu/bug/interpolate branch from 9cf609e to 883ff06 Compare July 16, 2026 10:42
@nshchego
nshchego force-pushed the gpu/bug/interpolate branch from 883ff06 to d57b1f5 Compare July 17, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: GPU OpenVINO GPU plugin category: IE Tests OpenVINO Test: plugins and common

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant