]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
test-backend-ops: allow loading tests from file and parsing model operators into...
authorRuben Ortlam <redacted>
Thu, 12 Mar 2026 12:26:00 +0000 (13:26 +0100)
committerGeorgi Gerganov <redacted>
Sun, 15 Mar 2026 19:50:13 +0000 (21:50 +0200)
commit05523be45d5bf1d6b1744d94db8bc49d61b26575
tree657fbf2028ebb7ca15daf79036f4e0f09314bb14
parent2f3221933399846f71f9bac67caea5170947c054
test-backend-ops: allow loading tests from file and parsing model operators into file (llama/19896)

* tests: allow loading test-backend-ops tests from json

* add error threshold based on op

* add error when file cannot be read

* add graph operator json extraction tool

* add nb parameter for non-contiguous input tensors

* fix view check

* only use view if non-contiguous/permuted, use C++ random instead of rand()

* replace internal API calls with public llama_graph_reserve call

* reduce test description length

* fix nb[0] not getting set for view

* add name to tests

* fix inplace error

* use text file instead of json

* move llama_graph_reserve function to new llama-ext header, move export-graph-ops to tests/

* fix missing declaration

* use pragma once

* fix indent

* fix Windows build
tests/test-backend-ops.cpp