0-dim t issue on multi gpus

Author: cb6e310Created Apr 16, 2025Updated Apr 16, 2025

Hi, I ran into a problem when using nn.parallel model sampling. odeint's t parameter needs to be 1-D, and integrate() needs to be put into a t0, which is 0-dim. So this goes against the design of nn.parallel, which requires that scala not be passed in. How to solve this? Thanks. This is my code. Image This is the tricky spot. Image Chunk error will rise when self.func is wrapped by parallel.