Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DINO traning error when using internimage #251

Open
winpih opened this issue Apr 10, 2023 · 2 comments
Open

DINO traning error when using internimage #251

winpih opened this issue Apr 10, 2023 · 2 comments

Comments

@winpih
Copy link

winpih commented Apr 10, 2023

The following error occurs.
Please check.

/usr/local/lib/python3.8/dist-packages/torch/autograd/init.py:173: 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() = [1280, 1, 3, 3], strides() = [9, 1, 3, 1]
bucket_view.sizes() = [1280, 1, 3, 3], strides() = [9, 9, 3, 1] (Triggered internally at ../torch/csrc/distributed/c10d/reducer.cpp:326.)
Variable._execution_engine.run_backward( # Calls into the C++ engine to run the backward pass

@rentainhe
Copy link
Collaborator

The following error occurs. Please check.

/usr/local/lib/python3.8/dist-packages/torch/autograd/init.py:173: 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() = [1280, 1, 3, 3], strides() = [9, 1, 3, 1] bucket_view.sizes() = [1280, 1, 3, 3], strides() = [9, 9, 3, 1] (Triggered internally at ../torch/csrc/distributed/c10d/reducer.cpp:326.) Variable._execution_engine.run_backward( # Calls into the C++ engine to run the backward pass

OK, we will check the bug recently~

@winpih
Copy link
Author

winpih commented Apr 11, 2023

The following error occurs. Please check.
/usr/local/lib/python3.8/dist-packages/torch/autograd/init.py:173: 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() = [1280, 1, 3, 3], strides() = [9, 1, 3, 1] bucket_view.sizes() = [1280, 1, 3, 3], strides() = [9, 9, 3, 1] (Triggered internally at ../torch/csrc/distributed/c10d/reducer.cpp:326.) Variable._execution_engine.run_backward( # Calls into the C++ engine to run the backward pass

OK, we will check the bug recently~

Thank you sir!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants