Skip to content

Commit

Permalink
[FIX] Disable argument donation (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
neel04 committed Dec 19, 2024
1 parent 65aee4a commit b90f471
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ WORKDIR /ReAct_Jax

# Set the entry point to bash
ENTRYPOINT ["/bin/bash"]

2 changes: 1 addition & 1 deletion ReAct/utils/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def _compute_softmax_cross_entropy_loss(pred_y: Array, y_one_hot: Array) -> Arra

return loss.mean()

@eqx.filter_jit(donate='all-except-first')
@eqx.filter_jit
def make_step(
keys: PRNGKeyArray,
model: Union[React, GPT],
Expand Down

0 comments on commit b90f471

Please sign in to comment.