llama.cpp
527b6fba - llama : make model stateless and context stateful (llama_state) (#1797)

Commit
2 years ago
llama : make model stateless and context stateful (llama_state) (#1797) * llama : make model stateless and context stateful * llama : minor cleanup * llama : update internal API declaration * Apply suggestions from code review fix style Co-authored-by: Georgi Gerganov <ggerganov@gmail.com> * Missing model memory release * Fix style * Add deprecated warning for public API function llama_init_from_file * Update public API use cases: move away from deprecated llama_init_from_file * Deprecate public API function llama_apply_lora_from_file --------- Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
Author
Parents
  • examples
    • File
      common.cpp
    • File
      common.h
    • embedding
      • File
        embedding.cpp
    • main
      • File
        main.cpp
    • perplexity
      • File
        perplexity.cpp
    • quantize-stats
      • File
        quantize-stats.cpp
    • save-load-state
      • File
        save-load-state.cpp
    • server
      • File
        server.cpp
    • simple
      • File
        simple.cpp
    • train-text-from-scratch
      • File
        train-text-from-scratch.cpp
  • File
    llama.cpp
  • File
    llama.h
  • tests
    • File
      test-tokenizer-0.cpp