fix import (#30)
Browse files- fix import (150762d848965ff65da1754465462b83a6d1c1e2)
Co-authored-by: Vitaliy Chiley <vchiley@users.noreply.huggingface.co>
- attention.py +1 -0
attention.py
CHANGED
@@ -5,6 +5,7 @@ from typing import Optional
|
|
5 |
import torch
|
6 |
import torch.nn as nn
|
7 |
from einops import rearrange
|
|
|
8 |
from torch import nn
|
9 |
from .norm import LPLayerNorm
|
10 |
|
|
|
5 |
import torch
|
6 |
import torch.nn as nn
|
7 |
from einops import rearrange
|
8 |
+
from packaging import version
|
9 |
from torch import nn
|
10 |
from .norm import LPLayerNorm
|
11 |
|