Skip to content

0-dim t issue on multi gpus #268

@cb6e310

Description

@cb6e310

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions