Spaces:
Running
on
Zero
Running
on
Zero
fix(GLA): provide safe past_key_values with default conv_state=(None,None,None)
Browse files- tts/model/simple_gla.py +1 -1
tts/model/simple_gla.py
CHANGED
|
@@ -72,7 +72,7 @@ class SimpleGLABlock(nn.Module):
|
|
| 72 |
+ x
|
| 73 |
)
|
| 74 |
x = self.cmix(self.norm2(x)) + x
|
| 75 |
-
|
| 76 |
|
| 77 |
|
| 78 |
class DecoderBlockWithOptionalCrossAttention(nn.Module):
|
|
|
|
| 72 |
+ x
|
| 73 |
)
|
| 74 |
x = self.cmix(self.norm2(x)) + x
|
| 75 |
+
return x
|
| 76 |
|
| 77 |
|
| 78 |
class DecoderBlockWithOptionalCrossAttention(nn.Module):
|