Spaces:
Sleeping
Sleeping
Update dinov2.py
Browse files
dinov2.py
CHANGED
@@ -17,7 +17,7 @@ import torch.nn as nn
|
|
17 |
import torch.utils.checkpoint
|
18 |
from torch.nn.init import trunc_normal_
|
19 |
|
20 |
-
from
|
21 |
|
22 |
|
23 |
logger = logging.getLogger("dinov2")
|
|
|
17 |
import torch.utils.checkpoint
|
18 |
from torch.nn.init import trunc_normal_
|
19 |
|
20 |
+
from dinov2layers import Mlp, PatchEmbed, SwiGLUFFNFused, MemEffAttention, NestedTensorBlock as Block
|
21 |
|
22 |
|
23 |
logger = logging.getLogger("dinov2")
|