Skip to content

Commit

Permalink
Update Docker to accomodate jax rollback, fixing #21116
Browse files Browse the repository at this point in the history
  • Loading branch information
neel04 committed May 10, 2024
1 parent a6d53e8 commit c7e4033
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ RUN pip3 install git+https://github.com/deepmind/jmp

WORKDIR /ReAct_Jax

# Set the entry point to bash
# Set the entry point to bash
ENTRYPOINT ["/bin/bash"]
2 changes: 1 addition & 1 deletion ReAct/model/react.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def f(input_tup: Tuple[Array, int], _dynamic_bl: PyTree) -> Tuple[Tuple[Array, i

#ctx_state *= jax.nn.sigmoid(self.forget_gate(hist_lerp, enable_dropout, key))
#ctx_state += self.ctx_gate(hist_lerp, enable_dropout, key)
ctx_state = self.ctx_gate(hist_lerp)
ctx_state += self.ctx_gate(hist_lerp)

return out[0], ctx_state

Expand Down

0 comments on commit c7e4033

Please sign in to comment.