[test_fx_const_fold] Remove dependencies on acc_* (#72810)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/72810
Test Plan: CI
Reviewed By: hl475
Differential Revision: D34220004
fbshipit-source-id: c58e287cb140411dcb5a6795c179004612e4016c
(cherry picked from commit 0f7c99f00498f224c60b7d5ecd2c3d902d5d6785)