mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
add
This commit is contained in:
parent
f5a176e334
commit
21343a55da
@ -981,6 +981,7 @@ class LLMASR4(nn.Module):
|
|||||||
|
|
||||||
self.length_normalized_loss = length_normalized_loss
|
self.length_normalized_loss = length_normalized_loss
|
||||||
self.beam_search = None
|
self.beam_search = None
|
||||||
|
import os
|
||||||
|
|
||||||
rank = int(os.environ.get("RANK", 0))
|
rank = int(os.environ.get("RANK", 0))
|
||||||
logging.info(f"rank: {rank}, model is builded.")
|
logging.info(f"rank: {rank}, model is builded.")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user