Skip to content

Commit 4039b50

Browse files
committed
Fix more typos
Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags:
1 parent c27b4eb commit 4039b50

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.ci/scripts/test_llama.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ cmake_install_executorch_libraries() {
5858
fi
5959
retry cmake -DBUCK2="$BUCK" \
6060
-DCMAKE_INSTALL_PREFIX=cmake-out \
61-
-DCMAKE_PREFIX_PATH=$($PYTHON_EXECUTABLE -c "from distutils.sysconfig import get_python_lib; get_python_lib()")
61+
-DCMAKE_PREFIX_PATH=$($PYTHON_EXECUTABLE -c "from distutils.sysconfig import get_python_lib; get_python_lib()") \
6262
-DCMAKE_BUILD_TYPE=Release \
6363
-DEXECUTORCH_BUILD_CUSTOM=ON \
6464
-DEXECUTORCH_BUILD_EXTENSION_MODULE=ON \

examples/models/llama2/custom_ops/sdpa_with_kv_cache.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
if "CMAKE_INSTALL_PREFIX" in os.environ:
2222
prefix = Path(os.environ["CMAKE_INSTALL_PREFIX"])
2323
else:
24-
prefix = Path(__file__).parent.parent.parent.parent.parent.resolve() / "cmake-out"
24+
prefix = (
25+
Path(__file__).parent.parent.parent.parent.parent.resolve() / "cmake-out"
26+
)
2527
lib_path = prefix / "lib" / "libcustom_ops_aot_lib.so"
2628
assert lib_path.exists(), f"{lib_path} does not exist, please run cmake --install"
2729
torch.ops.load_library(lib_path)

0 commit comments

Comments
 (0)