Li Peng
3e4da5f781
Replace deprecated pytorch methods ( #1814 )
...
* Replace deprecated pytorch methods
- torch.cuda.amp.GradScaler(...) => torch.amp.GradScaler("cuda", ...)
- torch.cuda.amp.autocast(...) => torch.amp.autocast("cuda", ...)
* Replace `with autocast(...)` with `with autocast("cuda", ...)`
Co-authored-by: Li Peng <lipeng@unisound.ai>
2024-12-16 10:24:16 +08:00
zr_jin
eb132da00d
additional instruction for the grad_scale is too small
error ( #1550 )
2024-03-14 11:33:49 +08:00
zr_jin
ef658d691e
fixes for init value of diagnostics.TensorDiagnosticOptions
( #1269 )
...
* fixes for `diagnostics`
Replace `2 ** 22` with `512` as the default value of `diagnostics.TensorDiagnosticOptions`
also black formatted some scripts
* fixed formatting issues
2023-09-24 17:06:47 +08:00
Fangjun Kuang
7b0afbdc16
Remove cur_batch_idx ( #1102 )
2023-05-30 14:49:54 +08:00
Teo Wen Shen
e63a8c27f8
CSJ pruned_transducer_stateless7_streaming ( #892 )
...
* update manifest stats
* update transcript configs
* lang_char and compute_fbanks
* save cuts in fbank_dir
* add core codes
* update decode.py
* Create local/utils
* tidy up
* parse raw in prepare_lang_char.py
* update manifest stats
* update transcript configs
* lang_char and compute_fbanks
* save cuts in fbank_dir
* add core codes
* update decode.py
* Create local/utils
* tidy up
* parse raw in prepare_lang_char.py
* working train
* Add compare_cer_transcript.py
* fix tokenizer decode, allow d2f only
* comment cleanup
* add export files and READMEs
* reword average column
* fix comments
* Update new results
2023-02-13 22:19:50 +08:00