mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-21 23:25:39 +08:00
Fix torch.compile for torch 2.1 (#2577)
This commit is contained in:
1 parent
55616e1299
commit
85677d310f
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user