Update cross_entropy_loss.py
This commit is contained in:
parent
fdaa9493be
commit
b5eff3bfbc
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue