Spaces:
Sleeping
Sleeping
Fix:typo
Browse files- src/index.qmd +1 -1
src/index.qmd
CHANGED
@@ -77,7 +77,7 @@ def kl_div_triton(
|
|
77 |
```python
|
78 |
import torch
|
79 |
|
80 |
-
class
|
81 |
@staticmethod
|
82 |
def forward(ctx, p, q):
|
83 |
ctx.save_for_backward(q)
|
|
|
77 |
```python
|
78 |
import torch
|
79 |
|
80 |
+
class KlDiv(torch.autograd.Function):
|
81 |
@staticmethod
|
82 |
def forward(ctx, p, q):
|
83 |
ctx.save_for_backward(q)
|