Fix torch.compile for torch 2.1 (#2577)

This commit is contained in:
Jonáš Kulhánek authored and GitHub committed 2023-11-02 09:28:11 +01:00
1 parent 55616e1299
commit 85677d310f
1 file changed
+1 -1
+1 -1
View File
@@ -407,7 +407,7 @@ def _compute_residual_and_jacobian(
return fx, fy, fx_x, fx_y, fy_x, fy_y
@torch_compile(dynamic=True, mode="reduce-overhead", backend="eager")
@torch_compile(dynamic=True, mode="reduce-overhead")
def radial_and_tangential_undistort(
coords: torch.Tensor,
distortion_params: torch.Tensor,