Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
tengomucho committed Jan 17, 2025
1 parent 653118d commit 6570149
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,13 @@ def forward(
ragged_batch_index: precomputed batch index for ragged attention
ragged_block_index: precomputed block index for ragged attention
"""
# jax.debug.print("tokens", tokens)
# jax.debug.print("input_pos", input_pos)
# jax.debug.print("mask", mask)
# jax.debug.print("start", start)
# jax.debug.print("ragged_batch_index", ragged_batch_index)
# jax.debug.print("ragged_block_index", ragged_block_index)

with jax.named_scope("transformer_tok"):
seqlen = tokens.shape[-1]
h = self.tok_embeddings(tokens)
Expand Down

0 comments on commit 6570149

Please sign in to comment.