MCPcopy 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
14def 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

setUpMethod · 0.90
_get_recipesMethod · 0.90

Calls

no outgoing calls

Tested by 2

setUpMethod · 0.72
_get_recipesMethod · 0.72