The thing is that if I load the CPU model on my Windows machine using python with
torch.jit.load

then, the output is correct, which seems to indicate that model tracing was done correctly. A libtorch problem then ?