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
@@ -2212,6 +2212,7 @@ static json model_card(const ModelCard& c) {
|
||||
m["created"] = c.created;
|
||||
m["owned_by"] = "radiance";
|
||||
if (c.max_model_len > 0) m["max_model_len"] = c.max_model_len;
|
||||
if (!c.root.empty()) m["root"] = c.root;
|
||||
return m;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user