Update cross_entropy_loss.py
This commit is contained in:
parent
1f450cd6ee
commit
7cf69dd9f2
1 changed files with 1 additions and 1 deletions
|
|
@ -251,7 +251,7 @@ class Fast_CrossEntropyLoss(torch.autograd.Function):
|
|||
dlosses, dlosses.stride(0),
|
||||
logsumexp,
|
||||
labels,
|
||||
vocab_size,
|
||||
VOCAB_SIZE = vocab_size,
|
||||
BLOCK_SIZE = BLOCK_SIZE,
|
||||
num_warps = 8,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue