Update python_utils.py (#1718)
Summary:
Python 3.11 full compatible on pytorch 2.0.1
Pull Request resolved: https://github.com/pytorch/benchmark/pull/1718
Reviewed By: FindHao
Differential Revision: D46652350
Pulled By: xuzhao9
fbshipit-source-id: f1174459e41ddee9bfb83764ab92de723cb66c1f