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

Illegal memory access in backward kernel #115

Open
5had3z opened this issue Aug 22, 2020 · 0 comments
Open

Illegal memory access in backward kernel #115

5had3z opened this issue Aug 22, 2020 · 0 comments

Comments

@5had3z
Copy link

5had3z commented Aug 22, 2020

I tried to adapt this and another variant (ARFlow https://github.com/lliuz/ARFlow), to pytorch 1.6.0 (I am also using CUDA 10.2).

When running the auxillary test, it works when I have small height and widths of a dummy input (e.g. 16x64x64x64), however if I try to have bigger HW dimensions (e.g. 16x3x96x96), I get "an illegal memory access was encountered".

I'm not sure what else I need to do to adapt this/or ARFlow's variant to pytorch 1.6.0 so I can use this. I have also tried to bring everything up to date by using torch::Tensors and AT Dispatching.

My adaptation can be found below
https://github.com/5had3z/stereo-to-all/tree/debug/correlation_pkg/nnet_training_framework/correlation_package

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

1 participant