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

inplace_abn does not seem to support Pytorch 1.12.1 #228

Open
gdippolito opened this issue Sep 21, 2022 · 1 comment
Open

inplace_abn does not seem to support Pytorch 1.12.1 #228

gdippolito opened this issue Sep 21, 2022 · 1 comment

Comments

@gdippolito
Copy link

I'm getting the following error when running a training job that was working fine in Pytorch 1.11 with 1.12:

  File "/pip-dl_inplace_abn/inplace_abn/functions.py", line 227, in inplace_abn
    return InPlaceABN.apply(
  File "/pip-dl_inplace_abn/inplace_abn/functions.py", line 86, in forward
    mean, var, count = _backend.statistics(x)
RuntimeError: Tensors of type TensorImpl do not have sizes

Is inplace_abn not compatible with Pytorch 1.12 or is the problem somewhere else?

@GhostDragon124
Copy link

I think the reason is that the inplace-abn extension is too old

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