Jesse Gross bf24498b1e ollamarunner: Check for minBatch of context space when shifting il y a 1 mois
..
common ed443a0393 Runner for Ollama engine il y a 2 mois
llamarunner 3892c3a703 llm: remove internal subprocess req and resp types (#9324) il y a 1 mois
ollamarunner bf24498b1e ollamarunner: Check for minBatch of context space when shifting il y a 1 mois
README.md ed443a0393 Runner for Ollama engine il y a 2 mois
runner.go ed443a0393 Runner for Ollama engine il y a 2 mois

README.md

runner

Note: this is a work in progress

A minimial runner for loading a model and running inference via a http web server.

./runner -model <model binary>

Completion

curl -X POST -H "Content-Type: application/json" -d '{"prompt": "hi"}' http://localhost:8080/completion

Embeddings

curl -X POST -H "Content-Type: application/json" -d '{"prompt": "turn me into an embedding"}' http://localhost:8080/embedding