Update cross_entropy_loss.py

This commit is contained in:
Daniel Han-Chen 2024-02-26 03:14:04 +11:00
commit 096544eff4

View file

@ -247,7 +247,7 @@ class Fast_CrossEntropyLoss(torch.autograd.Function):
dlosses, dlosses.stride(0),
logsumexp,
labels,
VOCAB_SIZE = n_cols,
VOCAB_SIZE = vocab_size,
BLOCK_SIZE = BLOCK_SIZE,
num_warps = 8,
)