llama.swiftui : add bench button

This commit is contained in:
Georgi Gerganov 2023-12-15 12:38:30 +02:00
parent 6744dbe924
commit afd336f7a6
No known key found for this signature in database
GPG key ID: 449E073F9DC10735
3 changed files with 43 additions and 12 deletions

View file

@ -161,6 +161,10 @@ actor LlamaContext {
return new_token_str
}
func bench() -> String{
return "bench not implemented"
}
func clear() {
tokens_list.removeAll()
temporary_invalid_cchars.removeAll()