fix modeling_chatglm.py error: `-` operator, with a bool tensor is not supported
#67
by
shibing624
- opened
688行:full_attention_mask -= padding_mask.unsqueeze(-1) - 1
-》 full_attention_mask -= padding_mask.unsqueeze(-1).int() - 1
GLM4里面这个bug依旧没有解决?