Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit 6c4c3ba

Browse files
committed
update spda import
1 parent 3d0a065 commit 6c4c3ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchchat/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ def apply_rotary_emb(x: Tensor, freqs_cis: Tensor) -> Tensor:
744744
from executorch.extension.pybindings import portable_lib as exec_lib
745745

746746
# ET changed the way it's loading the custom ops so it's not included in portable_lib but has to be loaded separately.
747-
from executorch.examples.models.llama2.custom_ops import sdpa_with_kv_cache # no-qa
747+
from executorch.extension.llm.custom_ops import sdpa_with_kv_cache # no-qa
748748

749749
class PTEModel(nn.Module):
750750
def __init__(self, config, path) -> None:

0 commit comments

Comments
 (0)