Spaces:
Build error
Build error
| import torch.nn.functional as F | |
| def swiglu(x, y): | |
| return F.silu(x.float(), inplace=False).to(x.dtype) * y |
| import torch.nn.functional as F | |
| def swiglu(x, y): | |
| return F.silu(x.float(), inplace=False).to(x.dtype) * y |