Mick Yang

Results 6 comments of Mick Yang

I have the same problem, my requirement is: delete only the specific server of the specified user, not all servers under that user name.I still don't know how to implement...

I want to run the codes on multi-machines with multi-GPU, and i want to know: how to recompile the code? My try: use tf.distribute.experimental.MultiWorkerMirroredStrategy() ---------------------------------------------------------------------------------------------- 10.17.8.112 ~/common/utils.py import os, json...

> ## I want to run the codes on multi-machines with multi-GPU, and i want to know: how to recompile the code? > My try: use tf.distribute.experimental.MultiWorkerMirroredStrategy() > 10.17.8.112 ~/common/utils.py...

I'm struggling with the same problem and I'm trying to solve it but I don't feel capable of doing so.

```python import torch def build_causal_attention_mask(bsz, seq_len, dtype): mask = torch.empty(bsz, seq_len, seq_len, dtype=dtype) mask.fill_(torch.tensor(torch.finfo(dtype).min)) # fill with large negative number (acts like -inf) mask = mask.triu_(1) # zero out the...