Skip to content

Use int64_t for im2col and col2im#9590

Closed
ssnl wants to merge 1 commit intopytorch:masterfrom
ssnl:im2col
Closed

Use int64_t for im2col and col2im#9590
ssnl wants to merge 1 commit intopytorch:masterfrom
ssnl:im2col

Conversation

@ssnl
Copy link
Collaborator

@ssnl ssnl commented Jul 19, 2018

Fixes #9404

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 has imported 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 19, 2018
Summary:
Fixes #9404
Pull Request resolved: pytorch/pytorch#9590

Differential Revision: D8916020

Pulled By: SsnL

fbshipit-source-id: ac6758326bbb09b48642b149f4eb8f466ef7044e
ssnl added a commit that referenced this pull request Jul 19, 2018
* Use _six for inf and nan (#9500)

Summary:
Things like `float('inf')` are actually quite expensive.
```py
In [1]: import math

In [2]: %timeit -n 200 math.inf
49.3 ns ± 1.42 ns per loop (mean ± std. dev. of 7 runs, 200 loops each)

In [3]: %timeit -n 200 float('inf')
194 ns ± 39.1 ns per loop (mean ± std. dev. of 7 runs, 200 loops each)
```
Pull Request resolved: #9500

Reviewed By: soumith

Differential Revision: D8876229

Pulled By: SsnL

fbshipit-source-id: 78602b76bb53d5588910b58270930c0bd413d2d7

* use int64_t for im2col
ssnl added a commit to ssnl/pytorch that referenced this pull request Jul 22, 2018
Summary:
Fixes pytorch#9404
Pull Request resolved: pytorch#9590

Differential Revision: D8916020

Pulled By: SsnL

fbshipit-source-id: ac6758326bbb09b48642b149f4eb8f466ef7044e
jramseyer pushed a commit to jramseyer/pytorch that referenced this pull request Jul 30, 2018
Summary:
Fixes pytorch#9404
Pull Request resolved: pytorch#9590

Differential Revision: D8916020

Pulled By: SsnL

fbshipit-source-id: ac6758326bbb09b48642b149f4eb8f466ef7044e
goodlux pushed a commit to goodlux/pytorch that referenced this pull request Aug 15, 2018
Summary:
Fixes pytorch#9404
Pull Request resolved: pytorch#9590

Differential Revision: D8916020

Pulled By: SsnL

fbshipit-source-id: ac6758326bbb09b48642b149f4eb8f466ef7044e
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.

Segmentation fault with large dilated Conv2d

4 participants