mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-11 10:34:29 +08:00
Fix torch.compile for torch 2.1 (#2577)
This commit is contained in:
parent
55616e1299
commit
85677d310f
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user