Fix import error in torchbench
Summary:
In fbcode we can't access torch._inductor.config, we need to import config from torch._inductor first
Created from CodeHub with https://fburl.com/edit-in-codehub
Reviewed By: xuzhao9
Differential Revision: D54841657
fbshipit-source-id: 77443713575158e82e92b4518bebb902561a96f8