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

Commit 1e47737

Browse files
committed
bug fixes
1 parent 430fb7a commit 1e47737

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

install/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ tiktoken
1212
# Miscellaneous
1313
snakeviz
1414
sentencepiece
15-
numpy==1.23.5
15+
numpy==1.21.3
1616
gguf
1717
lm-eval==0.4.2
1818
blobfile

torchchat/model.py

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

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

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

0 commit comments

Comments
 (0)