Skip to content

Commit

Permalink
Update jax/_src/ad_checkpoint.py
Browse files Browse the repository at this point in the history
Co-authored-by: Jake Vanderplas <jakevdp@gmail.com>
  • Loading branch information
mattjj and jakevdp authored Oct 15, 2024
1 parent cc0b22a commit e954dfd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion jax/_src/ad_checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,6 @@ def remat(fun: Callable, *, prevent_cse: bool = True,
return checkpoint(fun, prevent_cse=prevent_cse, policy=policy,
static_argnums=static_argnums)

remat = checkpoint # alias

# This function is similar to api_util.argnums_partial, except the error
# messages are specific to jax.remat (and thus more actionable), the
Expand Down

0 comments on commit e954dfd

Please sign in to comment.