LocalAI/core/cli
Ettore Di Giacinto d9c1db2b87
feat: add (experimental) fine-tuning support with TRL (#9088)
* feat: add fine-tuning endpoint

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

* feat(experimental): add fine-tuning endpoint and TRL support

This changeset defines new GRPC signatues for Fine tuning backends, and
add TRL backend as initial fine-tuning engine. This implementation also
supports exporting to GGUF and automatically importing it to LocalAI
after fine-tuning.

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

* commit TRL backend, stop by killing process

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

* move fine-tune to generic features

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

* add evals, reorder menu

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

* Fix tests

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

---------

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2026-03-21 02:08:02 +01:00
..
context chore: allow to set local-ai log format, default to custom one (#7679) 2025-12-21 21:21:59 +01:00
worker feat(mlx-distributed): add new MLX-distributed backend (#8801) 2026-03-09 17:29:32 +01:00
agent.go feat: Add standalone agent run mode inspired by LocalAGI (#9056) 2026-03-18 14:04:20 +01:00
agent_test.go feat: Add standalone agent run mode inspired by LocalAGI (#9056) 2026-03-18 14:04:20 +01:00
backends.go chore(refactor): move logging to common package based on slog (#7668) 2025-12-21 19:33:13 +01:00
cli.go feat: Add standalone agent run mode inspired by LocalAGI (#9056) 2026-03-18 14:04:20 +01:00
completion.go feat: Add shell completion support for bash, zsh, and fish (#8851) 2026-03-08 09:32:39 +01:00
completion_test.go feat: Add shell completion support for bash, zsh, and fish (#8851) 2026-03-08 09:32:39 +01:00
deprecations.go chore: Standardize CLI flag naming to kebab-case (M12) (#8912) 2026-03-09 22:15:39 +01:00
explorer.go chore(refactor): move logging to common package based on slog (#7668) 2025-12-21 19:33:13 +01:00
federated.go chore: Standardize CLI flag naming to kebab-case (M12) (#8912) 2026-03-09 22:15:39 +01:00
models.go fix(cli): import via CLI needs system state (#7746) 2025-12-27 11:10:28 +01:00
run.go feat: add (experimental) fine-tuning support with TRL (#9088) 2026-03-21 02:08:02 +01:00
soundgeneration.go fix: Remove debug print statement from soundgeneration.go (C2) (#8843) 2026-03-08 08:49:29 +01:00
transcript.go fix: rename json_verbose to verbose_json (#8627) 2026-02-23 17:57:06 +00:00
tts.go chore(refactor): move logging to common package based on slog (#7668) 2025-12-21 19:33:13 +01:00
util.go chore: Standardize CLI flag naming to kebab-case (M12) (#8912) 2026-03-09 22:15:39 +01:00