Skip to content

UserWarning: Grad strides do not match bucket view strides. grad.sizes() = [384, 384, 1, 1], strides() = [384, 1, 384, 384] #63

@meetxinzhang

Description

@meetxinzhang

.14/site-packages/torch/autograd/graph.py:841: UserWarning: Grad strides do not match bucket view strides. This may indicate grad was not created according to the gradient layout contract, or that the param's strides changed since DDP was constructed. This is not an error, but may impair performance.
grad.sizes() = [384, 384, 1, 1], strides() = [384, 1, 384, 384]
bucket_view.sizes() = [384, 384, 1, 1], strides() = [384, 1, 1, 1] (Triggered internally at /pytorch/torch/csrc/distributed/c10d/reducer.cpp:334.)
return Variable._execution_engine.run_backward( # Calls into the C++ engine to run the backward pass

any suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions