facebookresearch / facebookresearch/fvcore
NotImplementedError during FlopCountAnalysis if submodule decorated by torch.compile
Open
- Dominant language
- Python
- Stars
- 2.3k
- Forks
- 236
- PR merge metrics
- No merged PRs in 30d
Description
If the model parsed to FlopCountAnalysis contains submodules/functions decorated by torch.compile, the program raises the following errors:
NotImplementedError: Could not run 'aten::_local_scalar_dense' with arguments from the 'Meta' backend. This could be because the operator doesn't exist for this backend, or was omitted during the selective/custom build process (if using custom build). If you are a Facebook employee using PyTorch on mobile, please visit .......
Contributor guide
Assessment
This issue has not been assessed yet.