Skip to content

slow speed on torch.DataParallel models #30

Description

@tzzcl

Hi,

I try to use this framework to compute FFT with torch.DataParallel(model)

but it seems that with the same batch_size in one GPU and 4 GPUs, the fft will consume much more time:

with batch_size 16 on one GPU [784 X 8192 size with 1d fft]:

it will cost about 0.60s in fft, 0.21s in ifft.

but with batch_size 64 on 4 GPUs:

it will cost 4s in fft, and 1s in ifft.

So could you provide enhancements to multigpu FFT? thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions