LocalAI/pkg/model
Ettore Di Giacinto 791c3ace72
feat: add endpoint to list system informations (#3449)
* feat: add endpoint to list system informations

For now, it lists the available backends, but can be expanded later on
to include more system informations (such as GPU devices detected, RAM,
threads configured, and so on so forth).

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

* show also external backends

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

* add test

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

---------

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2024-09-05 20:44:30 +02:00
..
initializers.go feat: add endpoint to list system informations (#3449) 2024-09-05 20:44:30 +02:00
loader_test.go chore(model-loader): increase test coverage of model loader (#3433) 2024-08-30 15:20:39 +02:00
loader.go chore(model-loader): increase test coverage of model loader (#3433) 2024-08-30 15:20:39 +02:00
model_suite_test.go tests: add template tests (#2063) 2024-04-18 10:57:24 +02:00
model.go chore(model-loader): increase test coverage of model loader (#3433) 2024-08-30 15:20:39 +02:00
options.go chore: fix go.mod module (#2635) 2024-06-23 08:24:36 +00:00
process.go fix(model-loading): keep track of open GRPC Clients (#3377) 2024-08-25 14:36:09 +02:00
template_test.go fix(model-loading): keep track of open GRPC Clients (#3377) 2024-08-25 14:36:09 +02:00
template.go fix(model-loading): keep track of open GRPC Clients (#3377) 2024-08-25 14:36:09 +02:00
watchdog.go fix(model-loading): keep track of open GRPC Clients (#3377) 2024-08-25 14:36:09 +02:00