Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/executorch
/ is_fbcode
Function
is_fbcode
export/utils.py:14–15 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
12
13
14
def
is_fbcode() -> bool:
15
return
not hasattr(torch.version,
"git_version"
)
16
17
18
# Check if lowering for CoreML is supported on the current platform
Callers
2
setUp
Method · 0.90
_get_recipes
Method · 0.90
Calls
no outgoing calls
Tested by
2
setUp
Method · 0.72
_get_recipes
Method · 0.72