I guess that keeping kilo as a prefix rather than converting it to 1000 is probably desired in which case maybe the problem is in the __mul__ methods for kilo/meter. Also the pretty printing for kilo ...
The associative law of multiplication should always hold for torch.mul and torch.add. And (a+b)*b*c == a*b*c + b*b*c. However, this law fails when applying associative law of multiplication to the ...