Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
4fb2556
Update to upstream eacdeb5b (#2)
olyasir Aug 15, 2025
3c9c254
Merge remote-tracking branch 'tetherto/master' into QVAC-4552
jpgaribotti Aug 15, 2025
ab5cdba
Applied port patches
jpgaribotti Aug 13, 2025
ce64880
Export mtmd target
jpgaribotti Aug 13, 2025
ab269c4
Merge pull request #4 from jpgaribotti/QVAC-4552
yuranich Aug 28, 2025
e394035
Rebase temp-load-from-buffer and merge into master (#7)
jesusmb1995 Aug 28, 2025
ec234e5
Add option to build only mtmd library (#8)
jpgaribotti Aug 28, 2025
e2daa39
Add approval-check-worker workflow
kapilsingh421 Aug 29, 2025
c31c211
Merge pull request #10 from kapildev421/main
chetasr Sep 2, 2025
94e2cad
Add CODEOWNERS file (#9)
chetasr Sep 4, 2025
aed384a
Applied port patches
jpgaribotti Aug 13, 2025
6f8ff7a
Export mtmd target
jpgaribotti Aug 13, 2025
70950bd
Rebase temp-load-from-buffer and merge into master (#7)
jesusmb1995 Aug 28, 2025
bd3607a
Add option to build only mtmd library (#8)
jpgaribotti Aug 28, 2025
6e49b17
Add approval-check-worker workflow
kapilsingh421 Aug 29, 2025
5cc3e0d
Add CODEOWNERS file (#9)
chetasr Sep 4, 2025
220c7d4
Create merging_strategy.md
olyasir Sep 11, 2025
9c882ed
Tune python scripts
jesusmb1995 Sep 17, 2025
977ced4
remove_unneeded_script
jesusmb1995 Sep 17, 2025
8af1732
Fix CMakeLists to support building with LLAMA_MTMD on or off
jpgaribotti Sep 23, 2025
36087e9
Corrected build interface for libmtmd
jpgaribotti Sep 23, 2025
e9355cd
Make LLAMA_MTMD dependent on LLAMA_BUILD_TOOLS if not specified
jpgaribotti Sep 23, 2025
55c27e4
char_buff_stream
jesusmb1995 Sep 19, 2025
49ba04c
fix_include
jesusmb1995 Sep 30, 2025
6a71970
remove_check
jesusmb1995 Sep 30, 2025
b35cf2c
Fix CI: macos13_x64 (disable blas)
jesusmb1995 Oct 1, 2025
c24dc51
fix_ci_cmake_pkg
jesusmb1995 Oct 1, 2025
fdd1447
fix_cmake_linking
jesusmb1995 Oct 1, 2025
2ad5155
fix_ci_android
jesusmb1995 Oct 1, 2025
8b357a1
implement logging redirection
ogad-tether Oct 7, 2025
112fec1
rerouting common logs to callback
ogad-tether Oct 16, 2025
4709d14
Add compile flag to force vk performance logging
jpgaribotti Oct 9, 2025
7b3166e
Enable the FORCE_GGML_VK_PERF_LOGGER flag through an option
jpgaribotti Oct 9, 2025
bee34ab
Fix for hanging on model load on Windows
DmitryMalishev Oct 20, 2025
130f64f
fix multimodal backend
gianni-cor Oct 21, 2025
4ae7269
Redirected performance logging to GGML_LOG
jpgaribotti Oct 23, 2025
344204a
add debug info vulkan
gianni-cor Sep 8, 2025
3130b6a
enable sched debug
gianni-cor Sep 5, 2025
05e5af1
vk profiling triplet
gianni-cor Sep 12, 2025
501dfbc
add python script to analyze log profilings
Sep 12, 2025
f7602e8
Amend vk profiling triplet
gianni-cor Sep 12, 2025
ac52f18
Install vulkan profiling analyzer
jpgaribotti Nov 4, 2025
f29b47b
default_dl_search
jesusmb1995 Oct 30, 2025
e52d363
log
jesusmb1995 Oct 30, 2025
e68544f
force_SHARD_LIBSON
jesusmb1995 Oct 30, 2025
31db325
adreno_logic
jesusmb1995 Oct 31, 2025
7d0a663
optimizedCpuEntries
jesusmb1995 Nov 4, 2025
3b8bc89
backend_selection
jesusmb1995 Nov 4, 2025
2497a6d
disable_ci_test_for_cmake
jesusmb1995 Nov 5, 2025
e702b97
disable_flaky_shift_disabled_short_prompt
jesusmb1995 Nov 6, 2025
c87d67f
disable_tests_failing_repositories
jesusmb1995 Nov 6, 2025
802e8a6
supress_test_sanitizer
jesusmb1995 Nov 6, 2025
222a23b
fix_flake8_linter
jesusmb1995 Nov 6, 2025
bd49f02
fix_absolute_install
jesusmb1995 Nov 7, 2025
76354b4
fix_absolute_install
jesusmb1995 Nov 7, 2025
b0c8d37
remove_cache
jesusmb1995 Nov 10, 2025
d4f390b
Refactored llama-model to adapt upstream's unique_ptr vs raw pointer …
iancris Nov 13, 2025
6be77a8
Code clean-up: removed unused functions
iancris Nov 14, 2025
4e1c841
Handled scenario: build common but curl is off
iancris Nov 14, 2025
c94291f
fixup clip_logger_state
jesusmb1995 Dec 3, 2025
799f086
Remove unused parameter
jesusmb1995 Dec 4, 2025
84e3092
Vulkan: Add build option for Adreno-specific fixes
Oct 10, 2025
0a9719d
Vulkan: Add QUALCOMM_ADRENO to vk_device_architecture list
Oct 10, 2025
bacb992
Vulkan: disable subgroups on Adreno
Oct 10, 2025
cb74a22
Vulkan: disable mul_mat_l on adreno
Oct 10, 2025
42aa69a
Vulkan: disable rms_norm fusion on Adreno
Oct 10, 2025
02020d4
Vulkan: generate Adreno-specific shader variants
Aug 22, 2025
df05fb1
Vulkan: Add Q4_K Adreno variant for mul_mat_vec
Oct 21, 2025
58019fb
vendor: add Vulkan Memory Allocator 3.3.0
bl4ckb0ne Nov 14, 2025
621a823
vulkan: use VMA for buffer allocation
bl4ckb0ne Dec 12, 2025
7dc83a0
vulkan: drop uma check for buffer read/write
bl4ckb0ne Jan 6, 2026
73901bc
vulkan: add eShaderDeviceAddress usage to device buffer creation
bl4ckb0ne Jan 9, 2026
352de2d
VMA create aligned buffers (#89)
bl4ckb0ne Jan 14, 2026
58a58dc
Merge pull request #91 from tetherto/temp-inference-collabora
jpgaribotti Jan 14, 2026
f08f4de
Merge tag 'v7248.0.0' into master
jpgaribotti Jan 26, 2026
38e6f54
Merge tag 'v7248.1.0' into master
jpgaribotti Jan 26, 2026
bf1af8c
Merge pull request #94 from jpgaribotti/fabric-master
jpgaribotti Jan 27, 2026
c87f5e9
update readme (#93)
gianni-cor Jan 27, 2026
3166928
Upgrade linux runner for ubuntu-24-cmake-vulkan
gianni-cor Mar 11, 2026
dd9c316
Update build.yml
gianni-cor Mar 11, 2026
ceb37fe
Merge LoRA finetuning and Bitnet (#102)
gianni-cor Mar 12, 2026
35977df
Update readme and remove patch (#105)
gianni-cor Mar 12, 2026
4a22b7c
toggle DLLAMA BUILD EXAMPLES to ON to included llama-finetune binarie…
akshaypn Mar 13, 2026
23e870a
Remove Artifacts with error on the release workflow. (#107)
akshaypn Mar 13, 2026
a905685
fix vulkan dynamic backend name on windows builds
gianni-cor Mar 13, 2026
7cc33f0
Update release.yml
gianni-cor Mar 13, 2026
afa49ba
Add android gradle build (#108)
akshaypn Mar 13, 2026
57d4c98
Fix editorconfig violations across the codebase
gianni-cor Mar 14, 2026
c262379
Update BitNet model link in README.md
elchiapp Mar 16, 2026
a218e05
Merge pull request #109 from elchiapp/master
elchiapp Mar 16, 2026
7515434
cuda: restrict out_prod support to f32 inputs
Mar 19, 2026
580e371
cuda: support mixed-type out_prod inputs
Mar 19, 2026
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
2 changes: 1 addition & 1 deletion .ecrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Exclude": ["^\\.gitmodules$", "stb_image\\.h"],
"Exclude": ["^\\.gitmodules$", "stb_image\\.h", "^vendor/"],
"Disable": {
"IndentSize": true
}
Expand Down
1 change: 1 addition & 0 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ exclude =
build,
# This contains builds that we don't want to check
dist # This is generated with `python build .` for package releases
scripts/tune
# max-complexity = 10
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @tetherto/ai-runtime-bk-models
19 changes: 19 additions & 0 deletions .github/workflows/approval-check-worker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Approval Check Worker

on:
pull_request_review:
types: [submitted, dismissed]

jobs:
check-approvals:
permissions:
contents: write
pull-requests: write
statuses: write
issues: write

uses: tetherto/qvac-devops/.github/workflows/approval-check-worker.yml@production-workflows-tag
secrets: inherit
with:
pr_number: ${{ github.event.pull_request.number }}
pr_sha: ${{ github.event.pull_request.head.sha }}
4 changes: 2 additions & 2 deletions .github/workflows/build-cmake-pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
cmake --build build --config Release
cmake --install build --prefix "$PREFIX" --config Release

export LLAMA_CONFIG="$PREFIX"/lib/cmake/llama/llama-config.cmake
export LLAMA_CONFIG="$PREFIX"/share/llama/llama-config.cmake
tclsh <<'EOF'
set build(commit) [string trim [exec git rev-parse --short HEAD]]
set build(number) [string trim [exec git rev-list --count HEAD]]
Expand All @@ -47,5 +47,5 @@ jobs:
EOF

cd examples/simple-cmake-pkg
cmake -S . -B build -DCMAKE_PREFIX_PATH="$PREFIX"/lib/cmake
cmake -S . -B build -DCMAKE_PREFIX_PATH="$PREFIX"/share
cmake --build build
1 change: 1 addition & 0 deletions .github/workflows/build-linux-cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
workflow_call:

jobs:
# Disabled. Fails to install some dependencies from arch-specific repositories.
# ubuntu-24-riscv64-cpu-cross:
# runs-on: ubuntu-24.04

Expand Down
78 changes: 50 additions & 28 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ on:
paths: [
'.github/workflows/build.yml',
'.github/workflows/build-linux-cross.yml',
'.github/workflows/build-cmake-pkg.yml',
# Disable. There are some modifications in the fork
# so that ggml dynamic builds work with vcpkg.
# '.github/workflows/build-cmake-pkg.yml',
'**/CMakeLists.txt',
'**/.cmake',
'**/*.h',
Expand All @@ -28,7 +30,9 @@ on:
paths: [
'.github/workflows/build.yml',
'.github/workflows/build-linux-cross.yml',
'.github/workflows/build-cmake-pkg.yml',
# Disable. There are some modifications in the fork
# so that ggml dynamic builds work with vcpkg.
# '.github/workflows/build-cmake-pkg.yml',
'**/CMakeLists.txt',
'**/.cmake',
'**/*.h',
Expand Down Expand Up @@ -117,8 +121,9 @@ jobs:
-DLLAMA_CURL=OFF \
-DLLAMA_BUILD_BORINGSSL=ON \
-DGGML_METAL=OFF \
-DGGML_RPC=ON \
-DCMAKE_OSX_DEPLOYMENT_TARGET=13.3
-DCMAKE_OSX_DEPLOYMENT_TARGET=13.3 \
-DGGML_BLAS=OFF \
-DGGML_RPC=ON
cmake --build build --config Release -j $(sysctl -n hw.logicalcpu)

- name: Test
Expand Down Expand Up @@ -269,11 +274,12 @@ jobs:
id: checkout
uses: actions/checkout@v4

- name: ccache
uses: ggml-org/ccache-action@v1.2.16
with:
key: ubuntu-latest-cmake-sanitizer-${{ matrix.sanitizer }}
evict-old-files: 1d
# ccache disabled for sanitizer builds to ensure clean builds with correct sanitizer flags
# - name: ccache
# uses: ggml-org/ccache-action@v1.2.16
# with:
# key: ubuntu-latest-cmake-sanitizer-${{ matrix.sanitizer }}
# evict-old-files: 1d

- name: Dependencies
id: depends
Expand Down Expand Up @@ -308,6 +314,16 @@ jobs:

- name: Test
id: cmake_test
env:
# AddressSanitizer options
ASAN_OPTIONS: "verbosity=1:abort_on_error=1:print_stats=1:check_initialization_order=1:strict_init_order=1:detect_stack_use_after_return=1:print_summary=1:print_scariness=1:print_legend=1"
# ThreadSanitizer options
TSAN_OPTIONS: "verbosity=1:abort_on_error=1:print_stats=1:print_summary=1:print_legend=1"
# UndefinedBehaviorSanitizer options
# Note: abort_on_error=0 allows UBSAN to print full diagnostics before aborting
UBSAN_OPTIONS: "verbosity=2:abort_on_error=1:print_stacktrace=1:print_summary=1:halt_on_error=1:report_error_type=1:silence_unsigned_overflow=0"
# Common options for all sanitizers
MSAN_OPTIONS: "verbosity=1:abort_on_error=1:print_stats=1"
run: |
cd build
ctest -L main --verbose --timeout 900
Expand Down Expand Up @@ -354,6 +370,7 @@ jobs:
id: checkout
uses: actions/checkout@v4

# Reduce false pass/failure on CI
# - name: ccache
# uses: ggml-org/ccache-action@v1.2.16
# with:
Expand Down Expand Up @@ -389,11 +406,12 @@ jobs:
id: checkout
uses: actions/checkout@v4

- name: ccache
uses: ggml-org/ccache-action@v1.2.16
with:
key: ubuntu-24-cmake-vulkan-deb
evict-old-files: 1d
# Reduce false pass/failure on CI
# - name: ccache
# uses: ggml-org/ccache-action@v1.2.16
# with:
# key: ubuntu-24-cmake-vulkan
# evict-old-files: 1d

- name: Dependencies
id: depends
Expand All @@ -417,7 +435,7 @@ jobs:
cmake --build build -j $(nproc)

ubuntu-24-cmake-vulkan:
runs-on: ubuntu-24.04
runs-on: ai-run-linux-gpu

steps:
- name: Clone
Expand All @@ -435,7 +453,7 @@ jobs:
run: |
sudo add-apt-repository -y ppa:kisak/kisak-mesa
sudo apt-get update -y
sudo apt-get install -y build-essential mesa-vulkan-drivers libxcb-xinput0 libxcb-xinerama0 libxcb-cursor-dev libssl-dev
sudo apt-get install -y build-essential mesa-vulkan-drivers libxcb-xinput0 libxcb-xinerama0 libxcb-cursor-dev libssl-dev cmake

- name: Get latest Vulkan SDK version
id: vulkan_sdk_version
Expand Down Expand Up @@ -483,11 +501,12 @@ jobs:
id: checkout
uses: actions/checkout@v4

- name: ccache
uses: ggml-org/ccache-action@v1.2.16
with:
key: ubuntu-24-cmake-webgpu
evict-old-files: 1d
# Reduce false pass/failure on CI
# - name: ccache
# uses: ggml-org/ccache-action@v1.2.16
# with:
# key: ubuntu-24-cmake-webgpu
# evict-old-files: 1d

- name: Dependencies
id: depends
Expand Down Expand Up @@ -602,11 +621,12 @@ jobs:
sudo apt-get update
sudo apt-get install -y build-essential git cmake rocblas-dev hipblas-dev libssl-dev rocwmma-dev

- name: ccache
uses: ggml-org/ccache-action@v1.2.16
with:
key: ubuntu-22-cmake-hip
evict-old-files: 1d
# Reduce false pass/failure on CI
# - name: ccache
# uses: ggml-org/ccache-action@v1.2.16
# with:
# key: ubuntu-22-cmake-hip
# evict-old-files: 1d

- name: Build with native CMake HIP support
id: cmake_build
Expand Down Expand Up @@ -753,8 +773,10 @@ jobs:
build-linux-cross:
uses: ./.github/workflows/build-linux-cross.yml

build-cmake-pkg:
uses: ./.github/workflows/build-cmake-pkg.yml
# Disable. There are some modifications in the fork
# so that ggml dynamic builds work with vcpkg.
# build-cmake-pkg:
# uses: ./.github/workflows/build-cmake-pkg.yml

macOS-latest-cmake-ios:
runs-on: macos-latest
Expand Down
Loading
Loading