Fix incorrect attempt to import FB code in OSS (#176337)
Summary:
Suppresses an uninformative message that looks like "ModuleNotFoundError: No module named 'torchbenchmark.models.fb'" any time a misspelled model name is put in the benchmark runner in the OSS side.
Also fixes lint noticed by Ruff.
X-link: https://github.com/pytorch/pytorch/pull/176337
Approved by: https://github.com/Lucaskabela
Reviewed By: wdvr
Differential Revision: D95300343
fbshipit-source-id: 78f582d040a71019d9a515a83a70fe8096c45865
Author
generatedunixname499836121