Update cross_entropy_loss.py
This commit is contained in:
parent
97f37ace96
commit
cc563fac52
1 changed files with 0 additions and 2 deletions
|
|
@ -348,8 +348,6 @@ class Fast_CrossEntropyLoss(torch.autograd.Function):
|
|||
div, mod = divmod(vocab_size, BLOCK_SIZE)
|
||||
n_blocks : int = div + (mod != 0)
|
||||
|
||||
print("111")
|
||||
|
||||
_cross_entropy_backward[(n_rows, n_blocks,)](
|
||||
logits, logits.stride(0),
|
||||
dlosses, dlosses.stride(0),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue