200-epoch retrain: 9 variants with FP32 + int8 ONNX + int8 PESQ findings
Browse files- README.md +81 -24
- baseline/config.json +4 -0
- baseline/g_best +1 -1
- baseline/g_best.onnx +3 -0
- baseline/g_best_fp32.onnx +3 -0
- butterfly_2blocks/config.json +4 -0
- butterfly_2blocks/g_best +1 -1
- butterfly_2blocks/g_best.onnx +3 -0
- butterfly_2blocks/g_best_fp32.onnx +3 -0
- butterfly_fc/config.json +4 -0
- butterfly_fc/g_best +1 -1
- butterfly_fc/g_best.onnx +3 -0
- butterfly_fc/g_best_fp32.onnx +3 -0
- butterfly_full/config.json +4 -0
- butterfly_full/g_best +1 -1
- butterfly_full/g_best.onnx +3 -0
- butterfly_full/g_best_fp32.onnx +3 -0
- butterfly_ortho/config.json +4 -0
- butterfly_ortho/g_best +1 -1
- butterfly_ortho/g_best.onnx +3 -0
- butterfly_ortho/g_best_fp32.onnx +3 -0
- monarch_8/config.json +4 -0
- monarch_8/g_best +1 -1
- monarch_8/g_best.onnx +3 -0
- monarch_8/g_best_fp32.onnx +3 -0
- monarch_fc/config.json +4 -0
- monarch_fc/g_best +1 -1
- monarch_fc/g_best.onnx +3 -0
- monarch_fc/g_best_fp32.onnx +3 -0
- monarch_full/config.json +4 -0
- monarch_full/g_best +1 -1
- monarch_full/g_best.onnx +3 -0
- monarch_full/g_best_fp32.onnx +3 -0
- wide_monarch/config.json +4 -0
- wide_monarch/g_best +1 -1
- wide_monarch/g_best.onnx +3 -0
- wide_monarch/g_best_fp32.onnx +3 -0
README.md
CHANGED
|
@@ -9,6 +9,9 @@ tags:
|
|
| 9 |
- butterfly
|
| 10 |
- monarch
|
| 11 |
- structured-matrices
|
|
|
|
|
|
|
|
|
|
| 12 |
datasets:
|
| 13 |
- JacobLinCool/VoiceBank-DEMAND-16k
|
| 14 |
metrics:
|
|
@@ -25,41 +28,72 @@ dense, [Butterfly](https://arxiv.org/abs/1903.05895), and
|
|
| 25 |
|
| 26 |
Trained on
|
| 27 |
[VoiceBank-DEMAND-16k](https://huggingface.co/datasets/JacobLinCool/VoiceBank-DEMAND-16k)
|
| 28 |
-
for
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |
## Results
|
| 31 |
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
|
| 36 |
-
|
|
| 37 |
-
| `
|
| 38 |
-
| `
|
| 39 |
-
| `
|
| 40 |
-
| `
|
| 41 |
-
| `
|
| 42 |
-
| `
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
|
| 44 |
## Layout
|
| 45 |
|
| 46 |
-
Each subdirectory is one run, containing the saved generator (`g_best`)
|
| 47 |
-
and the exact `config.json`
|
|
|
|
| 48 |
|
| 49 |
```
|
| 50 |
-
baseline/{g_best,config.json}
|
| 51 |
-
monarch_fc/{g_best,config.json}
|
| 52 |
-
butterfly_fc/{g_best,config.json}
|
| 53 |
-
monarch_full/{g_best,config.json}
|
| 54 |
-
butterfly_full/{g_best,config.json}
|
| 55 |
-
monarch_8/{g_best,config.json}
|
| 56 |
-
butterfly_ortho/{g_best,config.json}
|
| 57 |
-
butterfly_2blocks/{g_best,config.json}
|
| 58 |
-
wide_monarch/{g_best,config.json}
|
| 59 |
```
|
| 60 |
|
| 61 |
## Loading
|
| 62 |
|
|
|
|
|
|
|
| 63 |
Clone the repo first (model classes live there):
|
| 64 |
|
| 65 |
```bash
|
|
@@ -87,7 +121,30 @@ model = NSNet2(AttrDict(cfg)).cuda().eval()
|
|
| 87 |
model.load_state_dict(ckpt["generator"])
|
| 88 |
```
|
| 89 |
|
| 90 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
in the source repo.
|
| 92 |
|
| 93 |
## Citations
|
|
|
|
| 9 |
- butterfly
|
| 10 |
- monarch
|
| 11 |
- structured-matrices
|
| 12 |
+
- onnx
|
| 13 |
+
- quantization
|
| 14 |
+
- int8
|
| 15 |
datasets:
|
| 16 |
- JacobLinCool/VoiceBank-DEMAND-16k
|
| 17 |
metrics:
|
|
|
|
| 28 |
|
| 29 |
Trained on
|
| 30 |
[VoiceBank-DEMAND-16k](https://huggingface.co/datasets/JacobLinCool/VoiceBank-DEMAND-16k)
|
| 31 |
+
for 200 epochs at batch 256, n\_fft 512, on a single GTX 1080 Ti.
|
| 32 |
+
|
| 33 |
+
Each variant ships in three formats:
|
| 34 |
+
- `g_best` — PyTorch checkpoint (training-time weights)
|
| 35 |
+
- `g_best_fp32.onnx` — streaming-shape FP32 ONNX (frame-by-frame, opset 17)
|
| 36 |
+
- `g_best.onnx` — static int8 ONNX (QDQ format, per-channel weight quant,
|
| 37 |
+
MinMax calibration on 200 VBD-train utterances)
|
| 38 |
|
| 39 |
## Results
|
| 40 |
|
| 41 |
+
PESQ measured on the full VBD test split (824 utterances). RTF (real-time
|
| 42 |
+
factor) is for the int8 ONNX session under onnxruntime CPU; lower is faster.
|
| 43 |
+
|
| 44 |
+
| run | params | FP32 PESQ | int8 PESQ | Δ (FP32→int8) | int8 RTF |
|
| 45 |
+
| ------------------- | ------: | --------: | ---------: | -------------: | -------: |
|
| 46 |
+
| `wide_monarch` | 2.36 M | **2.864** | 2.842 | +0.021 | 0.166 |
|
| 47 |
+
| `baseline` | 2.78 M | 2.845 | 2.833 | +0.012 | 0.452 |
|
| 48 |
+
| `monarch_8` | 0.36 M | 2.832 | 2.826 | +0.006 | **0.025** |
|
| 49 |
+
| `monarch_full` | 0.70 M | 2.827 | **2.848** | −0.021 | 0.039 |
|
| 50 |
+
| `monarch_fc` | 2.14 M | 2.805 | 2.789 | +0.016 | 0.448 |
|
| 51 |
+
| `butterfly_2blocks` | 0.36 M | 2.805 | 2.202 | +0.602 | 0.441 |
|
| 52 |
+
| `butterfly_fc` | 1.99 M | 2.799 | 2.494 | +0.306 | 0.522 |
|
| 53 |
+
| `butterfly_ortho` | 0.19 M | 2.780 | 2.577 | +0.203 | 0.232 |
|
| 54 |
+
| `butterfly_full` | 0.19 M | 2.772 | 2.128 | +0.644 | 0.230 |
|
| 55 |
+
|
| 56 |
+
## Key findings
|
| 57 |
+
|
| 58 |
+
- **Monarch variants are essentially loss-free under int8** (|Δ| ≤ 0.021
|
| 59 |
+
across the board). A single `Einsum` per FC plus per-channel weight
|
| 60 |
+
quantization is genuinely friendly to int8 calibration.
|
| 61 |
+
- **`wide_monarch` is the best deployment target** for quality: highest FP32
|
| 62 |
+
PESQ (2.864) with near-zero int8 loss (2.842). For speed-constrained
|
| 63 |
+
deployment, **`monarch_full` and `monarch_8`** trade ~0.02 PESQ for an
|
| 64 |
+
RTF of 0.04 / 0.025 — over 10× faster than the dense baseline.
|
| 65 |
+
- **Butterfly with random init degrades catastrophically under int8**
|
| 66 |
+
(Δ up to 0.64 PESQ on `butterfly_full`). Int8 deployment with butterfly
|
| 67 |
+
factorizations should use `init=ortho`: `butterfly_ortho` loses 0.20
|
| 68 |
+
PESQ to int8 versus 0.64 for `butterfly_full` (same architecture, same
|
| 69 |
+
training data, only the init differs).
|
| 70 |
+
- **Longer training makes randn-init butterfly *worse* on int8.** The same
|
| 71 |
+
`butterfly_full` config saw its int8 gap grow from 0.36 PESQ at 50
|
| 72 |
+
epochs → 0.64 PESQ at 200 epochs as twiddle factors drifted further
|
| 73 |
+
from orthogonality. Ortho-init butterfly does not show this regression.
|
| 74 |
|
| 75 |
## Layout
|
| 76 |
|
| 77 |
+
Each subdirectory is one run, containing the saved generator (`g_best`),
|
| 78 |
+
the streaming FP32 ONNX, the static int8 ONNX, and the exact `config.json`
|
| 79 |
+
the run was trained with.
|
| 80 |
|
| 81 |
```
|
| 82 |
+
baseline/{g_best,g_best_fp32.onnx,g_best.onnx,config.json}
|
| 83 |
+
monarch_fc/{g_best,g_best_fp32.onnx,g_best.onnx,config.json}
|
| 84 |
+
butterfly_fc/{g_best,g_best_fp32.onnx,g_best.onnx,config.json}
|
| 85 |
+
monarch_full/{g_best,g_best_fp32.onnx,g_best.onnx,config.json}
|
| 86 |
+
butterfly_full/{g_best,g_best_fp32.onnx,g_best.onnx,config.json}
|
| 87 |
+
monarch_8/{g_best,g_best_fp32.onnx,g_best.onnx,config.json}
|
| 88 |
+
butterfly_ortho/{g_best,g_best_fp32.onnx,g_best.onnx,config.json}
|
| 89 |
+
butterfly_2blocks/{g_best,g_best_fp32.onnx,g_best.onnx,config.json}
|
| 90 |
+
wide_monarch/{g_best,g_best_fp32.onnx,g_best.onnx,config.json}
|
| 91 |
```
|
| 92 |
|
| 93 |
## Loading
|
| 94 |
|
| 95 |
+
### PyTorch checkpoint
|
| 96 |
+
|
| 97 |
Clone the repo first (model classes live there):
|
| 98 |
|
| 99 |
```bash
|
|
|
|
| 121 |
model.load_state_dict(ckpt["generator"])
|
| 122 |
```
|
| 123 |
|
| 124 |
+
### ONNX (FP32 or int8)
|
| 125 |
+
|
| 126 |
+
The ONNX models are streaming-shape: a single frame `(B, n_freq)` plus the
|
| 127 |
+
GRU state `(num_layers, B, hidden)` per session call, threaded across
|
| 128 |
+
frames. The end-to-end pipeline (RMS-norm → STFT → frame loop → iSTFT)
|
| 129 |
+
is in `inference_onnx.py` in the source repo.
|
| 130 |
+
|
| 131 |
+
```python
|
| 132 |
+
import onnxruntime as ort
|
| 133 |
+
from huggingface_hub import hf_hub_download
|
| 134 |
+
|
| 135 |
+
REPO = "claroche1/sparse-nsnet2-checkpoints"
|
| 136 |
+
RUN = "wide_monarch"
|
| 137 |
+
|
| 138 |
+
# FP32:
|
| 139 |
+
fp32_path = hf_hub_download(REPO, f"{RUN}/g_best_fp32.onnx")
|
| 140 |
+
fp32_sess = ort.InferenceSession(fp32_path, providers=["CPUExecutionProvider"])
|
| 141 |
+
|
| 142 |
+
# int8 (deployment):
|
| 143 |
+
int8_path = hf_hub_download(REPO, f"{RUN}/g_best.onnx")
|
| 144 |
+
int8_sess = ort.InferenceSession(int8_path, providers=["CPUExecutionProvider"])
|
| 145 |
+
```
|
| 146 |
+
|
| 147 |
+
End-to-end inference example with PESQ measurement is in `inference_onnx.py`
|
| 148 |
in the source repo.
|
| 149 |
|
| 150 |
## Citations
|
baseline/config.json
CHANGED
|
@@ -22,6 +22,10 @@
|
|
| 22 |
"hop_size": 256,
|
| 23 |
"win_size": 512,
|
| 24 |
"num_workers": 8,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
"dist_config": {
|
| 26 |
"dist_backend": "nccl",
|
| 27 |
"dist_url": "tcp://localhost:54321",
|
|
|
|
| 22 |
"hop_size": 256,
|
| 23 |
"win_size": 512,
|
| 24 |
"num_workers": 8,
|
| 25 |
+
"quant": {
|
| 26 |
+
"enabled": false,
|
| 27 |
+
"n_calib_utts": 200
|
| 28 |
+
},
|
| 29 |
"dist_config": {
|
| 30 |
"dist_backend": "nccl",
|
| 31 |
"dist_url": "tcp://localhost:54321",
|
baseline/g_best
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 11138351
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:558f79c6037f7f80a36abde43bedd480f9a1b60fd8ef788cd9dd5733f89d29dc
|
| 3 |
size 11138351
|
baseline/g_best.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:66e5b8f4a540df133802c6ff3f3e91eacfc305dfd3b5b37cb31c13870bf70afd
|
| 3 |
+
size 2910073
|
baseline/g_best_fp32.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:81292578df182d2a24bee37f78df2011a95dabd8abf95ef35ec14461b060cabb
|
| 3 |
+
size 11140400
|
butterfly_2blocks/config.json
CHANGED
|
@@ -26,6 +26,10 @@
|
|
| 26 |
"hop_size": 256,
|
| 27 |
"win_size": 512,
|
| 28 |
"num_workers": 8,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
"dist_config": {
|
| 30 |
"dist_backend": "nccl",
|
| 31 |
"dist_url": "tcp://localhost:54321",
|
|
|
|
| 26 |
"hop_size": 256,
|
| 27 |
"win_size": 512,
|
| 28 |
"num_workers": 8,
|
| 29 |
+
"quant": {
|
| 30 |
+
"enabled": false,
|
| 31 |
+
"n_calib_utts": 200
|
| 32 |
+
},
|
| 33 |
"dist_config": {
|
| 34 |
"dist_backend": "nccl",
|
| 35 |
"dist_url": "tcp://localhost:54321",
|
butterfly_2blocks/g_best
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1465234
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d097f594afa144b90660f00184b40215f91640a50ac43b93e65d155516b090f6
|
| 3 |
size 1465234
|
butterfly_2blocks/g_best.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df45fd5ae9f1ea40f726f6f4150a722b45ff2b267f4acdd5dc20a62c9c802244
|
| 3 |
+
size 821735
|
butterfly_2blocks/g_best_fp32.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:285afd772ee4eb456078a86988e39aeebe25c57de521319160417254de51d8af
|
| 3 |
+
size 1625605
|
butterfly_fc/config.json
CHANGED
|
@@ -24,6 +24,10 @@
|
|
| 24 |
"hop_size": 256,
|
| 25 |
"win_size": 512,
|
| 26 |
"num_workers": 8,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
"dist_config": {
|
| 28 |
"dist_backend": "nccl",
|
| 29 |
"dist_url": "tcp://localhost:54321",
|
|
|
|
| 24 |
"hop_size": 256,
|
| 25 |
"win_size": 512,
|
| 26 |
"num_workers": 8,
|
| 27 |
+
"quant": {
|
| 28 |
+
"enabled": false,
|
| 29 |
+
"n_calib_utts": 200
|
| 30 |
+
},
|
| 31 |
"dist_config": {
|
| 32 |
"dist_backend": "nccl",
|
| 33 |
"dist_url": "tcp://localhost:54321",
|
butterfly_fc/g_best
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 7984815
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:92224e592913ef8b7ba5d7d930702f2c44460cdf47f8f05bc973fdb19d7b51d7
|
| 3 |
size 7984815
|
butterfly_fc/g_best.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a4d9953d294358f791013b9ab759f7b284f7777c1f3f6d8a1a0623364eed3b9
|
| 3 |
+
size 2198876
|
butterfly_fc/g_best_fp32.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f52b948e0f9bb7e38f96a477b0f1224cd1d5cb14daabc9d049d4c1a4cee86728
|
| 3 |
+
size 8032362
|
butterfly_full/config.json
CHANGED
|
@@ -26,6 +26,10 @@
|
|
| 26 |
"hop_size": 256,
|
| 27 |
"win_size": 512,
|
| 28 |
"num_workers": 8,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
"dist_config": {
|
| 30 |
"dist_backend": "nccl",
|
| 31 |
"dist_url": "tcp://localhost:54321",
|
|
|
|
| 26 |
"hop_size": 256,
|
| 27 |
"win_size": 512,
|
| 28 |
"num_workers": 8,
|
| 29 |
+
"quant": {
|
| 30 |
+
"enabled": false,
|
| 31 |
+
"n_calib_utts": 200
|
| 32 |
+
},
|
| 33 |
"dist_config": {
|
| 34 |
"dist_backend": "nccl",
|
| 35 |
"dist_url": "tcp://localhost:54321",
|
butterfly_full/g_best
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 748434
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:91510093d1d1f9cba2903b8a9229c421255f4feac7b8cb6935ed0c260a809cdc
|
| 3 |
size 748434
|
butterfly_full/g_best.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7bef3f4279db6a0b90ab43fe0f1de0e9263db5897cf00f05323caf76220fd492
|
| 3 |
+
size 476461
|
butterfly_full/g_best_fp32.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5422e6e3d6f4c54334e2b156eca1b4a44fc556f7e388f478b34f3a1cb3b918fc
|
| 3 |
+
size 865393
|
butterfly_ortho/config.json
CHANGED
|
@@ -27,6 +27,10 @@
|
|
| 27 |
"hop_size": 256,
|
| 28 |
"win_size": 512,
|
| 29 |
"num_workers": 8,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
"dist_config": {
|
| 31 |
"dist_backend": "nccl",
|
| 32 |
"dist_url": "tcp://localhost:54321",
|
|
|
|
| 27 |
"hop_size": 256,
|
| 28 |
"win_size": 512,
|
| 29 |
"num_workers": 8,
|
| 30 |
+
"quant": {
|
| 31 |
+
"enabled": false,
|
| 32 |
+
"n_calib_utts": 200
|
| 33 |
+
},
|
| 34 |
"dist_config": {
|
| 35 |
"dist_backend": "nccl",
|
| 36 |
"dist_url": "tcp://localhost:54321",
|
butterfly_ortho/g_best
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 748434
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f5cfceb0f75c031f5021a0fdf52f1fdb2e14b441dbf38a28fd6cb6bf5af2d9bf
|
| 3 |
size 748434
|
butterfly_ortho/g_best.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b8f8c940840c1f30b31c928ad24cd6f3017e1bb48ae200a6b9e17ccc3928c8eb
|
| 3 |
+
size 476578
|
butterfly_ortho/g_best_fp32.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3eaa20b37a33ff9295be89b0d8ba1582f0730919fc75549151368c26a6bc0823
|
| 3 |
+
size 865393
|
monarch_8/config.json
CHANGED
|
@@ -24,6 +24,10 @@
|
|
| 24 |
"hop_size": 256,
|
| 25 |
"win_size": 512,
|
| 26 |
"num_workers": 8,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
"dist_config": {
|
| 28 |
"dist_backend": "nccl",
|
| 29 |
"dist_url": "tcp://localhost:54321",
|
|
|
|
| 24 |
"hop_size": 256,
|
| 25 |
"win_size": 512,
|
| 26 |
"num_workers": 8,
|
| 27 |
+
"quant": {
|
| 28 |
+
"enabled": false,
|
| 29 |
+
"n_calib_utts": 200
|
| 30 |
+
},
|
| 31 |
"dist_config": {
|
| 32 |
"dist_backend": "nccl",
|
| 33 |
"dist_url": "tcp://localhost:54321",
|
monarch_8/g_best
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1423570
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c7416829373b77c1a0fd9ef7a33681131abe33cda0bdf95e8ddc585610a7995b
|
| 3 |
size 1423570
|
monarch_8/g_best.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:368f9a6af401f42000294c45d5b827dd275d9fb2c486f2e687943d3f23451251
|
| 3 |
+
size 1465674
|
monarch_8/g_best_fp32.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0776227333ef5075c967846daae9e3ecbdc8f924dc0905002a6b5f00703eec49
|
| 3 |
+
size 1442161
|
monarch_fc/config.json
CHANGED
|
@@ -23,6 +23,10 @@
|
|
| 23 |
"hop_size": 256,
|
| 24 |
"win_size": 512,
|
| 25 |
"num_workers": 8,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
"dist_config": {
|
| 27 |
"dist_backend": "nccl",
|
| 28 |
"dist_url": "tcp://localhost:54321",
|
|
|
|
| 23 |
"hop_size": 256,
|
| 24 |
"win_size": 512,
|
| 25 |
"num_workers": 8,
|
| 26 |
+
"quant": {
|
| 27 |
+
"enabled": false,
|
| 28 |
+
"n_calib_utts": 200
|
| 29 |
+
},
|
| 30 |
"dist_config": {
|
| 31 |
"dist_backend": "nccl",
|
| 32 |
"dist_url": "tcp://localhost:54321",
|
monarch_fc/g_best
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 8570351
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cde0e25bebea3d5d713afaaf10f5e52eabaeb5ef552de45abc1cb216957e1848
|
| 3 |
size 8570351
|
monarch_fc/g_best.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:febb340361f7f9c015f45ebdb031dee822a6e652eed48f18382c140cac878122
|
| 3 |
+
size 2891983
|
monarch_fc/g_best_fp32.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1bda161d596109d21b794656776329f4986cdd78be7362edafbb2b57534cae16
|
| 3 |
+
size 8578184
|
monarch_full/config.json
CHANGED
|
@@ -24,6 +24,10 @@
|
|
| 24 |
"hop_size": 256,
|
| 25 |
"win_size": 512,
|
| 26 |
"num_workers": 8,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
"dist_config": {
|
| 28 |
"dist_backend": "nccl",
|
| 29 |
"dist_url": "tcp://localhost:54321",
|
|
|
|
| 24 |
"hop_size": 256,
|
| 25 |
"win_size": 512,
|
| 26 |
"num_workers": 8,
|
| 27 |
+
"quant": {
|
| 28 |
+
"enabled": false,
|
| 29 |
+
"n_calib_utts": 200
|
| 30 |
+
},
|
| 31 |
"dist_config": {
|
| 32 |
"dist_backend": "nccl",
|
| 33 |
"dist_url": "tcp://localhost:54321",
|
monarch_full/g_best
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2811538
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c9a34fe8ba46ad1c41ac474010eca2a8bbaadf30d334901af81146b93cc95ba7
|
| 3 |
size 2811538
|
monarch_full/g_best.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:640d277c5843df8c4e1b0518e20c29a7f377847a436b62f02ae0ff43e4b6cd04
|
| 3 |
+
size 2853656
|
monarch_full/g_best_fp32.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:accb5c6dfc79dde3f7772ed90b67ce9b9dc3fcb06b26de9784d4f0d100099b64
|
| 3 |
+
size 2830166
|
wide_monarch/config.json
CHANGED
|
@@ -24,6 +24,10 @@
|
|
| 24 |
"hop_size": 256,
|
| 25 |
"win_size": 512,
|
| 26 |
"num_workers": 8,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
"dist_config": {
|
| 28 |
"dist_backend": "nccl",
|
| 29 |
"dist_url": "tcp://localhost:54321",
|
|
|
|
| 24 |
"hop_size": 256,
|
| 25 |
"win_size": 512,
|
| 26 |
"num_workers": 8,
|
| 27 |
+
"quant": {
|
| 28 |
+
"enabled": false,
|
| 29 |
+
"n_calib_utts": 200
|
| 30 |
+
},
|
| 31 |
"dist_config": {
|
| 32 |
"dist_backend": "nccl",
|
| 33 |
"dist_url": "tcp://localhost:54321",
|
wide_monarch/g_best
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 9432786
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e9ad0dda8f30258d8a9dfa42fd900c4e418bc97bdc2a2ed9a6aae709ab6542d7
|
| 3 |
size 9432786
|
wide_monarch/g_best.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc5ac41831080f05d188ca695b9b57a77bf2ee3092008be5fd9ce64f5ecfeb58
|
| 3 |
+
size 9458215
|
wide_monarch/g_best_fp32.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1af01d6864dbb59f459cd25dc77b68befb28d7963f1164dffcb42b300167fa3b
|
| 3 |
+
size 9451516
|