facebookresearch / facebookresearch/fvcore

NotImplementedError during FlopCountAnalysis if submodule decorated by torch.compile

Open
#137 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.