-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
In librispeech_conformer the model_fn returns logits_batch as a Tuple of tensors, not a tensor.
The return type is hence wrong:
Line 119 in ddf5efc
| update_batch_norm: bool) -> Tuple[spec.Tensor, spec.ModelAuxiliaryState]: |
It should be:
def model_fn(...) -> Tuple[Tuple[spec.Tensor, spec.Tensor], spec.ModelAuxiliaryState]:
As insignificant as it seems, this caused me quite some trouble debugging an OOM issue. Might be useful for other ppl too.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels