Upgrade all inductor workflows to CUDA 12.1 / gcc9 (#106876)
gcc7 is too old to build fbgemm
Signed-off-by: Edward Z. Yang <ezyang@meta.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/106876
Approved by: https://github.com/msaroufim, https://github.com/anijain2305
ghstack dependencies: #106900