Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9547a35

Browse filesBrowse files
committed
Try arm64 python
1 parent fa2f1fd commit 9547a35
Copy full SHA for 9547a35

File tree

Expand file treeCollapse file tree

2 files changed

+2
-7
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-7
lines changed

‎.github/workflows/test.yaml

Copy file name to clipboardExpand all lines: .github/workflows/test.yaml
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
runs-on: macos-latest
6161
strategy:
6262
matrix:
63-
python-version: ["3.8", "3.9", "3.10", "3.11"]
63+
python-version: ["3.11"]
6464

6565
steps:
6666
- uses: actions/checkout@v3
@@ -70,7 +70,7 @@ jobs:
7070
uses: actions/setup-python@v4
7171
with:
7272
python-version: ${{ matrix.python-version }}
73-
architecture: x86
73+
architecture: arm64
7474
- name: Install dependencies
7575
run: |
7676
python3 -m pip install --upgrade pip

‎CMakeLists.txt

Copy file name to clipboardExpand all lines: CMakeLists.txt
-5Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ project(llama_cpp)
44

55
option(BUILD_LLAMA_CPP "Build llama.cpp shared library and install alongside python package" ON)
66

7-
if (APPLE)
8-
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=native -mtune=native")
9-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native -mtune=native")
10-
endif()
11-
127
if (BUILD_LLAMA_CPP)
138
set(BUILD_SHARED_LIBS "On")
149
add_subdirectory(vendor/llama.cpp)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.