Introduce C-style API (#370)

* Major refactoring - introduce C-style API

* Clean up

* Add <cassert>

* Add <iterator>

* Add <algorithm> ....

* Fix timing reporting and accumulation

* Measure eval time only for single-token calls

* Change llama_tokenize return meaning
This commit is contained in:
Georgi Gerganov authored and GitHub committed 2023-03-22 07:32:36 +02:00
1 parent da0e9fe90c
commit f5a77a629b
14 files changed
+1953 -1751

No files matched your search

+1565
View File
File diff suppressed because it is too large. Load diff