Disable printing of the histogram when dump (#33749)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/33749
Disable printing of the histogram when dump to make the log cleaner.
Test Plan: CI
Reviewed By: amylittleyang
Differential Revision: D20087735
fbshipit-source-id: 5421cd9d25c340d92f29ce63fed2a58aefef567d