Skip to content

Commit

Permalink
remove static
Browse files Browse the repository at this point in the history
  • Loading branch information
morgandu committed May 18, 2024
1 parent 2ca0d24 commit 53e5740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MaxText/maxengine.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def prefill(
"generated_tokens": generated_tokens,
}

@functools.partial(jax.jit, static_argnums=(0,), donate_argnums=(2,))
@functools.partial(jax.jit, donate_argnums=(2,))
def generate(self, params: Params, decode_state: DecodeState) -> Tuple[DecodeState, engine_api.ResultTokens]:
"""Run one generate step"""
previous_logits = decode_state["logits"]
Expand Down

0 comments on commit 53e5740

Please sign in to comment.