Archived
serve: the model entry names the file behind the served name as root
A served name is chosen for clients and says nothing about which container is behind it. Report what --model named as `root`, the field vLLM fills with the path it loaded; left out when the server has none.
This commit is contained in:
1 parent
3a3345951f
commit
d5b584a4c1
8 files changed
+22
-3
No files matched your search
@@ -57,6 +57,10 @@ struct ServerOptions {
|
||||
* /v1/completions answer 501 naming /v1/embeddings, rather than queueing a request the engine
|
||||
* would finish after one step with no text. */
|
||||
bool embedding_model = false;
|
||||
/* What --model named, reported as the model entry's `root` the way vLLM reports the path it
|
||||
* loaded: a served name chosen for clients says nothing about which file is behind it. Empty
|
||||
* leaves the field out. */
|
||||
std::string model_path;
|
||||
std::string host = "0.0.0.0";
|
||||
int port = 8000;
|
||||
int n_threads = 0;
|
||||
|
||||
Reference in new issue
Block a user