Fix the flooding log issues (#38356)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/38356
Reduce the log size
ghstack-source-id: 103997991
Test Plan: CI
Reviewed By: jspark1105
Differential Revision: D21532296
fbshipit-source-id: d5ab5a8acc18a2b4210131d0d6b932e293c303a9