rin2401

Results 3 comments of rin2401

```python def _get_unpad_data(attention_mask): seqlens_in_batch = attention_mask.sum(dim=-1, dtype=torch.int32).flatten() indices = torch.nonzero(attention_mask.flatten(), as_tuple=False).flatten() max_seqlen_in_batch = seqlens_in_batch.max().item() cu_seqlens = F.pad(torch.cumsum(seqlens_in_batch.flatten(), dim=0, dtype=torch.int32), (1, 0)) return ( indices, cu_seqlens, max_seqlen_in_batch, ) ``` i flatten...

i have the same problem, when input username after verification code +84... 手机号码格式不正确,请重新输入 The mobile phone number format is incorrect, please re-enter it.

> [@dogeeelin](https://github.com/dogeeelin) Currently, the released wheel is built upon ubuntu 22.04, which has higher version of `glibc`. Before compiling env solved, you can build the wheels from sources or try...