@chenyuntc Thx! I finally found the problematic part of my code that was inappropriate use of .byte()
the line I mentioned:



 sonsus:

A = B.unsqueeze(1).repeat(1,10,1) * C.float()```


before that line there was
C= C.byte() #for this needed to be used as a mask

after removing the .byte() it works great!
after several steps of running, the problem reoccurs
true story