Update moshi/modules/streaming.py
Browse files- moshi/modules/streaming.py +1 -10
moshi/modules/streaming.py
CHANGED
|
@@ -306,16 +306,7 @@ class RawStreamingConvTranspose1d(
|
|
| 306 |
def test():
|
| 307 |
torch.manual_seed(1234)
|
| 308 |
device = "cpu"
|
| 309 |
-
|
| 310 |
-
# Avoid the cuda optimizations that would take place on single precision
|
| 311 |
-
# floats for convolutions.
|
| 312 |
-
torch.backends.cudnn.enabled = True
|
| 313 |
-
torch.backends.cudnn.benchmark = False
|
| 314 |
-
torch.backends.cudnn.deterministic = True
|
| 315 |
-
torch.backends.cuda.matmul.allow_tf32 = False
|
| 316 |
-
torch.backends.cudnn.allow_tf32 = False
|
| 317 |
-
device = "cuda:0"
|
| 318 |
-
|
| 319 |
kernel_sizes = [1, 3, 4, 8, 15, 16]
|
| 320 |
strides = [1, 2, 3, 4, 5, 6, 7, 8, 9]
|
| 321 |
chin = 6
|
|
|
|
| 306 |
def test():
|
| 307 |
torch.manual_seed(1234)
|
| 308 |
device = "cpu"
|
| 309 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 310 |
kernel_sizes = [1, 3, 4, 8, 15, 16]
|
| 311 |
strides = [1, 2, 3, 4, 5, 6, 7, 8, 9]
|
| 312 |
chin = 6
|