Skip to content

feat: Llama 3.1 support, Phi-3 support #273

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jul 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@
"browser": false,
"es6": true
},
"ignorePatterns": ["/dist", "/llama", "/docs-site", "/packages/create-node-llama-cpp/dist"],
"ignorePatterns": [
"/dist",
"/llama",
"/docs-site",
"/packages/create-node-llama-cpp/dist",
"/packages/@node-llama-cpp/*/dist"
],
"extends": [
"eslint:recommended",
"plugin:jsdoc/recommended"
Expand Down Expand Up @@ -133,7 +139,9 @@
"no-duplicate-imports": ["error", {
"includeExports": true
}],
"camelcase": ["warn"],
"camelcase": ["warn", {
"allow": ["\\d+_\\d+"]
}],
"jsx-quotes": ["warn"],
"yoda": ["error", "never", {
"exceptRange": true
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
os: windows-2022
artifact: "win-arm"
- name: "Ubuntu"
os: ubuntu-20.04
os: ubuntu-22.04
artifact: "linux"
- name: "macOS"
os: macos-13
Expand Down Expand Up @@ -131,8 +131,8 @@ jobs:
- name: Install Vulkan SDK on Ubuntu
if: matrix.config.name == 'Ubuntu'
run: |
wget -qO - https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo apt-key add -
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-focal.list https://packages.lunarg.com/vulkan/lunarg-vulkan-focal.list
wget -qO- https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo tee /etc/apt/trusted.gpg.d/lunarg.asc
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-jammy.list https://packages.lunarg.com/vulkan/lunarg-vulkan-jammy.list
sudo apt update
sudo apt install vulkan-sdk

Expand Down Expand Up @@ -513,7 +513,7 @@ jobs:
- name: "Windows"
os: windows-2022
- name: "Ubuntu"
os: ubuntu-20.04
os: ubuntu-22.04
- name: "macOS"
os: macos-13

Expand Down
2 changes: 1 addition & 1 deletion llama/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ if (GGML_METAL)
)
endif()

file(GLOB SOURCE_FILES "addon.cpp" ${GPU_INFO_SOURCES})
file(GLOB SOURCE_FILES "addon/*.cpp" "addon/**/*.cpp" ${GPU_INFO_SOURCES})

if(APPLE)
set(CMAKE_SKIP_BUILD_RPATH FALSE)
Expand Down
Loading
Loading