Skip to content

Handle uninitialized min/max values in histogram observer#27151

Closed
raghuramank100 wants to merge 1 commit intogh/raghuraman_k/3/basefrom
gh/raghuraman_k/3/head
Closed

Handle uninitialized min/max values in histogram observer#27151
raghuramank100 wants to merge 1 commit intogh/raghuraman_k/3/basefrom
gh/raghuraman_k/3/head

Conversation

@raghuramank100
Copy link
Contributor

@raghuramank100 raghuramank100 commented Oct 1, 2019

Stack from ghstack:

We need to be ab le to handle observers with no min/max data correctly as models sometimes have modules that do not get any data.

Differential Revision: D17690828

We need to be ab le to handle observers with no min/max data correctly as models sometimes have modules that do not get any data.

Differential Revision: [D17690828](https://our.internmc.facebook.com/intern/diff/D17690828/)

[ghstack-poisoned]
raghuramank100 pushed a commit that referenced this pull request Oct 1, 2019
We need to be ab le to handle observers with no min/max data correctly as models sometimes have modules that do not get any data.

Differential Revision: [D17690828](https://our.internmc.facebook.com/intern/diff/D17690828/)

ghstack-source-id: 91113403
Pull Request resolved: #27151
@raghuramank100 raghuramank100 requested a review from hx89 October 1, 2019 18:51
@raghuramank100 raghuramank100 added this to the 1.3 milestone Oct 1, 2019
Copy link

@hx89 hx89 left a comment

Choose a reason for hiding this comment

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

lgtm!

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 4abfb54.

jamesr66a pushed a commit that referenced this pull request Oct 3, 2019
Summary:
Pull Request resolved: #27151

We need to be ab le to handle observers with no min/max data correctly as models sometimes have modules that do not get any data.
ghstack-source-id: 91113403

Test Plan:
buck test caffe2/test:quantization -- test_minmax_observer

buck test caffe2/test:quantization -- test_per_channel_minmax_observer

buck test caffe2/test:quantization --test_histogram_observer

Reviewed By: csummersea

Differential Revision: D17690828

fbshipit-source-id: e95709333ea0f66d79ddb8141b7cba5a83347dbd
jamesr66a pushed a commit that referenced this pull request Oct 3, 2019
Summary:
Pull Request resolved: #27151

We need to be ab le to handle observers with no min/max data correctly as models sometimes have modules that do not get any data.
ghstack-source-id: 91113403

Test Plan:
buck test caffe2/test:quantization -- test_minmax_observer

buck test caffe2/test:quantization -- test_per_channel_minmax_observer

buck test caffe2/test:quantization --test_histogram_observer

Reviewed By: csummersea

Differential Revision: D17690828

fbshipit-source-id: e95709333ea0f66d79ddb8141b7cba5a83347dbd
jamesr66a pushed a commit that referenced this pull request Oct 3, 2019
Summary:
Pull Request resolved: #27151

We need to be ab le to handle observers with no min/max data correctly as models sometimes have modules that do not get any data.
ghstack-source-id: 91113403

Test Plan:
buck test caffe2/test:quantization -- test_minmax_observer

buck test caffe2/test:quantization -- test_per_channel_minmax_observer

buck test caffe2/test:quantization --test_histogram_observer

Reviewed By: csummersea

Differential Revision: D17690828

fbshipit-source-id: e95709333ea0f66d79ddb8141b7cba5a83347dbd
jamesr66a pushed a commit that referenced this pull request Oct 4, 2019
Summary:
Pull Request resolved: #27151

We need to be ab le to handle observers with no min/max data correctly as models sometimes have modules that do not get any data.
ghstack-source-id: 91113403

Test Plan:
buck test caffe2/test:quantization -- test_minmax_observer

buck test caffe2/test:quantization -- test_per_channel_minmax_observer

buck test caffe2/test:quantization --test_histogram_observer

Reviewed By: csummersea

Differential Revision: D17690828

fbshipit-source-id: e95709333ea0f66d79ddb8141b7cba5a83347dbd
jamesr66a pushed a commit that referenced this pull request Oct 4, 2019
Summary:
Pull Request resolved: #27151

We need to be ab le to handle observers with no min/max data correctly as models sometimes have modules that do not get any data.
ghstack-source-id: 91113403

Test Plan:
buck test caffe2/test:quantization -- test_minmax_observer

buck test caffe2/test:quantization -- test_per_channel_minmax_observer

buck test caffe2/test:quantization --test_histogram_observer

Reviewed By: csummersea

Differential Revision: D17690828

fbshipit-source-id: e95709333ea0f66d79ddb8141b7cba5a83347dbd
soumith pushed a commit that referenced this pull request Oct 7, 2019
Summary:
Pull Request resolved: #27151

We need to be ab le to handle observers with no min/max data correctly as models sometimes have modules that do not get any data.
ghstack-source-id: 91113403

Test Plan:
buck test caffe2/test:quantization -- test_minmax_observer

buck test caffe2/test:quantization -- test_per_channel_minmax_observer

buck test caffe2/test:quantization --test_histogram_observer

Reviewed By: csummersea

Differential Revision: D17690828

fbshipit-source-id: e95709333ea0f66d79ddb8141b7cba5a83347dbd
@facebook-github-bot facebook-github-bot deleted the gh/raghuraman_k/3/head branch October 28, 2019 22:18
pdlive215 pushed a commit to pdlive215/pytorch that referenced this pull request Nov 27, 2019
)

Summary:
Pull Request resolved: pytorch#27151

We need to be ab le to handle observers with no min/max data correctly as models sometimes have modules that do not get any data.
ghstack-source-id: 91113403

Test Plan:
buck test caffe2/test:quantization -- test_minmax_observer

buck test caffe2/test:quantization -- test_per_channel_minmax_observer

buck test caffe2/test:quantization --test_histogram_observer

Reviewed By: csummersea

Differential Revision: D17690828

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants