Spaces:
Running
on
Zero
Running
on
Zero
fix: replace zcodec import with relative (TransformerBlock)
Browse files
codec/models/patchvae/modules.py
CHANGED
|
@@ -6,7 +6,7 @@ import torch.nn.functional as F
|
|
| 6 |
from torch import nn
|
| 7 |
from vector_quantize_pytorch import FSQ
|
| 8 |
|
| 9 |
-
from
|
| 10 |
|
| 11 |
|
| 12 |
class AdaLayerNormScale(nn.Module):
|
|
|
|
| 6 |
from torch import nn
|
| 7 |
from vector_quantize_pytorch import FSQ
|
| 8 |
|
| 9 |
+
from ..components.transformer import TransformerBlock
|
| 10 |
|
| 11 |
|
| 12 |
class AdaLayerNormScale(nn.Module):
|