Spaces:
Running
on
L4
Running
on
L4
update flow model to l20
Browse files
cosyvoice/cli/cosyvoice.py
CHANGED
@@ -163,5 +163,5 @@ class CosyVoice2(CosyVoice):
|
|
163 |
if load_onnx:
|
164 |
self.model.load_onnx('{}/flow.decoder.estimator.fp32.onnx'.format(model_dir))
|
165 |
if load_trt:
|
166 |
-
self.model.load_trt('{}/flow.decoder.estimator.fp16.
|
167 |
del configs
|
|
|
163 |
if load_onnx:
|
164 |
self.model.load_onnx('{}/flow.decoder.estimator.fp32.onnx'.format(model_dir))
|
165 |
if load_trt:
|
166 |
+
self.model.load_trt('{}/flow.decoder.estimator.fp16.l20.plan'.format(model_dir))
|
167 |
del configs
|