Skip to content

Conversation

@ssnl
Copy link
Collaborator

@ssnl ssnl commented Jul 9, 2018

Fixes #9264 .

There can be so many elements in the output of vol2col so it overflows int range! This PR changes 3d conv to use int64_t mostly.

Also fixes some unused var warning (cc @goldsborough )

@ssnl
Copy link
Collaborator Author

ssnl commented Jul 9, 2018

No test because it needs a really large col to trigger this.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ailzhang has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ssnl is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

zdevito pushed a commit to zdevito/ATen that referenced this pull request Jul 10, 2018
Summary:
Fixes #9264 .

There can be so many elements in the output of `vol2col` so it overflows `int` range! This PR changes 3d conv to use `int64_t` mostly.

Also fixes some unused var warning (cc goldsborough )
Pull Request resolved: pytorch/pytorch#9274

Differential Revision: D8770682

Pulled By: SsnL

fbshipit-source-id: f6e37f1aa56fe1009dd4c9bcbc042244e47252db
zdevito pushed a commit to zdevito/ATen that referenced this pull request Jul 13, 2018
Summary:
Fixes #9264 .

There can be so many elements in the output of `vol2col` so it overflows `int` range! This PR changes 3d conv to use `int64_t` mostly.

Also fixes some unused var warning (cc goldsborough )
Pull Request resolved: pytorch/pytorch#9274

Differential Revision: D8770682

Pulled By: SsnL

fbshipit-source-id: f6e37f1aa56fe1009dd4c9bcbc042244e47252db
@ssnl ssnl deleted the conv3d_int64 branch July 22, 2018 16:10
goodlux pushed a commit to goodlux/pytorch that referenced this pull request Aug 15, 2018
Summary:
Fixes pytorch#9264 .

There can be so many elements in the output of `vol2col` so it overflows `int` range! This PR changes 3d conv to use `int64_t` mostly.

Also fixes some unused var warning (cc goldsborough )
Pull Request resolved: pytorch#9274

Differential Revision: D8770682

Pulled By: SsnL

fbshipit-source-id: f6e37f1aa56fe1009dd4c9bcbc042244e47252db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dilated Conv3d segfaults (cpu)

4 participants