Skip to content

Conversation

@umanwizard
Copy link
Contributor

Should be self-explanatory. This int variable is overflowing.

Reported in #21526

@pytorchbot pytorchbot added module: cpu CPU specific problem (e.g., perf, algorithm) module: operators labels Jun 7, 2019
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.

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

def test_cat_empty(self):
self._test_cat_empty(self)

def test_cat_big(self):
Copy link
Member

Choose a reason for hiding this comment

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

Should this test be marked as slow or something like that? Also, how much memory does it need, > 2GB?

Copy link
Contributor Author

@umanwizard umanwizard Jun 7, 2019

Choose a reason for hiding this comment

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

@fmassa The test needs 5 GB and takes about 8 seconds on my machine. Do you know if there is a good way to mark tests as not running in memory-constrained environments?

Alternatively we can just land this without the test. What do you think?

Copy link
Member

Choose a reason for hiding this comment

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

I think we should have the test. Maybe at some point in the future we might consider adding a flag for memory intensive tests, both on the cpu and you

Copy link
Contributor

@gchanan gchanan left a comment

Choose a reason for hiding this comment

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

I don't know if we run slowTests on different machines, @ezyang or @yf225 would know.

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.

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

@umanwizard
Copy link
Contributor Author

At any rate, I'll make sure none of our internal tests barf on this before landing.

zdevito pushed a commit to zdevito/ATen that referenced this pull request Jun 9, 2019
…32-bit ints. (#21530)

Summary:
Should be self-explanatory. This `int` variable is overflowing.

Reported in #21526
Pull Request resolved: pytorch/pytorch#21530

Differential Revision: D15719275

Pulled By: umanwizard

fbshipit-source-id: 24e917a00a5b78bc3af29ef3b8b72eea7e89d5d5
@facebook-github-bot
Copy link
Contributor

@umanwizard merged this pull request in 74828be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged module: cpu CPU specific problem (e.g., perf, algorithm)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants