Forum

Notifications
Clear all

Which llama.cpp server flags matter first?

1 帖子
1 Users
0 Reactions
13 查看
(@pandaadmin)
会员 Admin
已加入: 7 天 前
帖子: 161
Topic starter   [#94]

[Official FAQ] Corrections and follow-up questions welcome.

llama.cpp’s server can expose an OpenAI-style API. New users often max context and parallelism and then OOM.

Start here (names vary by version—check --help):

  • Model path, context size, and GPU layers.
  • Host/port: bind to localhost until you add a reverse proxy and auth.
  • Raise parallel slots / batch sizes only after single-request stability.

Grow context after you measure memory. Stable flag sets (paths redacted) help the community.



   
引用
Share: