Update cross_entropy_loss.py

This commit is contained in:
Daniel Han-Chen 2024-02-26 03:12:23 +11:00
commit b5eff3bfbc

View file

@ -218,6 +218,7 @@ class Fast_CrossEntropyLoss(torch.autograd.Function):
logsumexp,
labels,
VOCAB_SIZE = vocab_size,
N_CHUNKS = n_chunks,
BLOCK_SIZE = MAX_FUSED_SIZE,
num_warps = 32,
)