Clean up CPU test in test_torchinductor.py for fbcode (#87783)
cc @jansel @mlazos @soumith @voznesenskym @yanboliang @penguinwu @anijain2305
Pull Request resolved: https://github.com/pytorch/pytorch/pull/87783
Approved by: https://github.com/bertmaher