llama-stack-mirror/llama_stack/providers/registry
Sébastien Han b6ebbe1bc0
prototype: use pyproject and uv to build distribution
Goals:

* remove the need of a custom tool to install a collection of python
  packages AKA `llama stack build`
* use the power of 'uv', which was designed to manage dependencies
* `llama stack build` can "probably" go away and be replaced with uv

Howto, with the pyproject, you can install an Ollama distribution in a
virtual env like so:

```
uv venv --python 3.10 ollama-distro
source ollama-distro/bin/activate
uv sync --extra ollama
llama stack run llama_stack/templates/ollama/run.yaml
```

Caveats:

* external provider, we could still use a build file or add
the known external providers to the pyproject?
* growth of the uv.lock?

We create a requirements.txt for convenience as some users are most
familiar with this format than looking at pyproject.

Signed-off-by: Sébastien Han <seb@redhat.com>
2025-06-20 10:01:29 +02:00
..
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
agents.py feat: add deps dynamically based on metastore config (#2405) 2025-06-05 14:07:25 -07:00
datasetio.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
eval.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
files.py feat: reference implementation for files API (#2330) 2025-06-02 21:54:24 -07:00
inference.py prototype: use pyproject and uv to build distribution 2025-06-20 10:01:29 +02:00
post_training.py feat: add huggingface post_training impl (#2132) 2025-05-16 14:41:28 -07:00
safety.py feat(providers): sambanova safety provider (#2221) 2025-05-21 15:33:02 -07:00
scoring.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
telemetry.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
tool_runtime.py chore: remove usage of load_tiktoken_bpe (#2276) 2025-06-02 07:33:37 -07:00
vector_io.py feat: File search tool for Responses API (#2426) 2025-06-13 14:32:48 -04:00