Skip to content
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
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@
# Patch fixtures preserve mail-format signature separators and blank context
# lines byte-for-byte; their trailing spaces are test data, not source style.
scripts/tests/fixtures/rewriter-patch*/** -whitespace

# Authoritative mail patches contain blank diff-context lines and signature
# separators whose spaces are part of the digest-bound patch bytes.
llama_cpp/patches/*.patch -whitespace
llama_cpp/patches/model_support/*.patch -whitespace
llama_cpp/patches/generated/*.patch -whitespace
168 changes: 141 additions & 27 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,23 @@ llama-prepare:
llama-build: llama-prepare
@scripts/build-llama.sh

# Includes placement, released-page compaction, sampling-pool, and row-list
# operator regressions. Accelerator qualification selects its backend explicitly.
native-full-replay backend="cpu": llama-prepare
@LLAMA_STAGE_BACKEND="{{ backend }}" LLAMA_STAGE_FULL_REPLAY=ON scripts/build-llama.sh

cache-reuse-smoke base_url model prompt_file output wave="4":
@cargo run --locked -p skippy-correctness -- open-ai-cache-reuse --base-url "{{ base_url }}" --model "{{ model }}" --prompt-file "{{ prompt_file }}" --wave "{{ wave }}" > "{{ output }}"

kv-matrix-build native_lib_dir: llama-prepare
#!/usr/bin/env bash
set -euo pipefail
source_dir="$(cd "{{ llama_dir }}" && pwd)"
cmake -S evals/kv-validation/native -B target/kv-validation -G Ninja \
-DCMAKE_BUILD_TYPE=Release -DNATIVE_SOURCE="$source_dir" \
-DNATIVE_LIB_DIR="{{ native_lib_dir }}"
cmake --build target/kv-validation --parallel

skippy-ffi-bindgen-check: llama-prepare
@SKIPPY_FFI_BINDGEN=check SKIPPY_FFI_BINDGEN_SELFTEST=1 cargo check -p skippy-ffi

Expand Down
Loading
Loading