bhanc commited on
Commit
4fe3d71
·
1 Parent(s): b5349fe

supertonic-3: reexport MLX pte with SymInt slice fix

Browse files

VectorEstimatorModel.forward() used data-dependent bslicing (v[:bsz]) and expand(bsz, ...) which produce SymInt stop values that the MLX slice handler cannot process at runtime (Error::Internal).

Fixed by:
- Replacing v[:bsz]/v[bsz:] with v.narrow(0,0,1)/v.narrow(0,1,1)
- Replacing expand(bsz,...) with expand_as() to avoid lifting SymInts into the graph

All 4 sub-models fully delegate to MLX (1 subgraph each, all ops supported).

4 files changed +8 -8
Files changed (4)
supertonic3_mlx_fp32/duration_predictor_mlx_fp32.pte+2-2
supertonic3_mlx_fp32/text_encoder_mlx_fp32.pte+2-2
supertonic3_mlx_fp32/vector_estimator_mlx_fp32.pte+2-2
supertonic3_mlx_fp32/vocoder_mlx_fp32.pte+2-2