游雁
2024-06-13 d72df6cd2f1914a749db0778233f3a66f447894a
decoding
1个文件已修改
3 ■■■■ 已修改文件
funasr/train_utils/trainer_ds.py 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
funasr/train_utils/trainer_ds.py
@@ -30,8 +30,9 @@
            yield
    else:
        if dtype == torch.float16 or dtype == torch.bfloat16:
            with autocast(enabled=True, dtype=dtype):
                yield
            # with autocast(enabled=True, dtype=dtype):
            #     yield
        else:
            yield