MCPcopy Create free account
hub / github.com/pytorch/executorch / is_update_cache_node

Function is_update_cache_node

backends/vulkan/patterns/sdpa.py:22–23  ·  view source on GitHub ↗
(node: Any)

Source from the content-addressed store, hash-verified

20
21
22def is_update_cache_node(node: Any) -> bool:
23 return utils.node_has_target(node, "llama::update_cache")
24
25
26def is_custom_sdpa_node(node: Any) -> bool:

Callers 2

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected