Commit Graph

5 Commits

Author SHA1 Message Date
Georgi Gerganov
5378ea0d3c
ggml : reorganize source code + improve CMake (#865)
* scripts : update sync [no ci]

* ggml : move headers one up [no ci]

* files : reorganize + update CMake

ggml-ci

* cmake : build normal ggml library

ggml-ci

* cmake : link math library to test + remove ci for code cov

ggml-ci

* files : move public headers to include

ggml-ci
2024-06-26 19:33:53 +03:00
Georgi Gerganov
af32597662 examples : fix CUBLAS leftovers (#0)
ggml-ci
2024-03-27 13:20:00 +02:00
ochafik
548aa504e0 Added some tests to python example + fixed numpy on scalar tensors 2023-08-14 02:17:29 +01:00
ochafik
6d33164233 Simple python stub (*.pyi) generator for cffi 2023-08-13 20:05:13 +01:00
ochafik
53a0003018 Add python example w/ cffi-generated bindings
Add python example w/ cffi-generated bindings

Features:

- Seamless copies between tensors (ggml & numpy alike) with automatic (de/re)quantization
- Access to full C API (incl. CUDA, MPI, OpenCL, Metal, alloc... and any local API changes)
- Trivial regeneration with `python regenerate.py` (uses llama.cpp headers by default, README.md for options)
2023-08-13 20:05:13 +01:00