This commit is contained in:
游雁 2024-08-08 11:21:05 +08:00
parent 29fa4e4789
commit f5a176e334

View File

@ -982,6 +982,9 @@ class LLMASR4(nn.Module):
self.length_normalized_loss = length_normalized_loss
self.beam_search = None
rank = int(os.environ.get("RANK", 0))
logging.info(f"rank: {rank}, model is builded.")
def forward(
self,
speech: torch.Tensor = None,