Skip to content

Commit

Permalink
chore: update cross_entropy.py (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
eltociear authored Aug 25, 2024
1 parent 016257a commit a19c667
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liger_kernel/ops/cross_entropy.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def forward(ctx, _input, target, ignore_index):
ignore_index=ignore_index,
BLOCK_SIZE=BLOCK_SIZE,
# TODO: 32 seems to give the best performance
# Performance is quite sentitive to num_warps
# Performance is quite sensitive to num_warps
num_warps=32,
)

Expand Down

0 comments on commit a19c667

Please sign in to comment.