Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion kernel-coder/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def log_softmax_and_gather(logits: torch.Tensor, index: torch.Tensor) -> torch.T

torch compiled version of the common `log_softmax -> gather` operation.

The compiled version of this opration avoids the (significant) memory overhead of
The compiled version of this operation avoids the (significant) memory overhead of
allocating a new (batch_size, seq_len, vocab_size) tensor to store the logprobs.

Args:
Expand Down