mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-26 06:07:43 +00:00
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>
This commit is contained in:
parent
6832e8a658
commit
b6ebbe1bc0
13 changed files with 5579 additions and 679 deletions
159
requirements-ollama.txt
Normal file
159
requirements-ollama.txt
Normal file
|
@ -0,0 +1,159 @@
|
|||
# This file was autogenerated by uv via the following command:
|
||||
# uv export --frozen --no-hashes --no-emit-project --output-file=requirements-ollama.txt --no-annotate --no-default-groups --extra ollama
|
||||
accelerate==1.7.0
|
||||
aiohappyeyeballs==2.5.0
|
||||
aiohttp==3.11.13
|
||||
aiosignal==1.3.2
|
||||
aiosqlite==0.21.0
|
||||
annotated-types==0.7.0
|
||||
anyio==4.8.0
|
||||
async-timeout==5.0.1 ; python_full_version < '3.11.3'
|
||||
attrs==25.1.0
|
||||
autoevals==0.0.122
|
||||
backoff==2.2.1
|
||||
braintrust-core==0.0.58
|
||||
certifi==2025.1.31
|
||||
chardet==5.2.0
|
||||
charset-normalizer==3.4.1
|
||||
chevron==0.14.0
|
||||
chromadb-client==1.0.12
|
||||
click==8.1.8
|
||||
colorama==0.4.6 ; sys_platform == 'win32'
|
||||
contourpy==1.3.2
|
||||
cycler==0.12.1
|
||||
datasets==3.3.2
|
||||
deprecated==1.2.18
|
||||
dill==0.3.8
|
||||
distro==1.9.0
|
||||
dnspython==2.7.0
|
||||
ecdsa==0.19.1
|
||||
emoji==2.14.1
|
||||
exceptiongroup==1.2.2 ; python_full_version < '3.11'
|
||||
faiss-cpu==1.11.0
|
||||
fastapi==0.115.8
|
||||
filelock==3.17.0
|
||||
fire==0.7.0
|
||||
fonttools==4.58.1
|
||||
frozenlist==1.5.0
|
||||
fsspec==2024.12.0
|
||||
googleapis-common-protos==1.67.0
|
||||
greenlet==3.2.2
|
||||
grpcio==1.71.0
|
||||
h11==0.16.0
|
||||
hf-xet==1.1.2 ; (platform_machine == 'aarch64' and sys_platform != 'darwin') or (platform_machine == 'amd64' and sys_platform != 'darwin') or (platform_machine == 'arm64' and sys_platform != 'darwin') or (platform_machine == 'x86_64' and sys_platform != 'darwin')
|
||||
httpcore==1.0.9
|
||||
httpx==0.28.1
|
||||
httpx-sse==0.4.0
|
||||
huggingface-hub==0.29.0 ; sys_platform == 'darwin'
|
||||
huggingface-hub==0.32.3 ; sys_platform != 'darwin'
|
||||
idna==3.10
|
||||
importlib-metadata==8.0.0 ; sys_platform != 'darwin'
|
||||
importlib-metadata==8.5.0 ; sys_platform == 'darwin'
|
||||
jinja2==3.1.6
|
||||
jiter==0.8.2
|
||||
joblib==1.5.1
|
||||
jsonschema==4.23.0
|
||||
jsonschema-specifications==2024.10.1
|
||||
kiwisolver==1.4.8
|
||||
langdetect==1.0.9
|
||||
levenshtein==0.27.1
|
||||
llama-stack-client==0.2.9
|
||||
markdown-it-py==3.0.0
|
||||
markupsafe==3.0.2
|
||||
matplotlib==3.10.3
|
||||
mcp==1.3.0
|
||||
mdurl==0.1.2
|
||||
mpmath==1.3.0
|
||||
multidict==6.1.0
|
||||
multiprocess==0.70.16
|
||||
networkx==3.4.2
|
||||
nltk==3.9.1
|
||||
numpy==1.26.4
|
||||
ollama==0.5.1
|
||||
openai==1.71.0
|
||||
opentelemetry-api==1.26.0 ; sys_platform != 'darwin'
|
||||
opentelemetry-api==1.30.0 ; sys_platform == 'darwin'
|
||||
opentelemetry-exporter-otlp-proto-common==1.26.0 ; sys_platform != 'darwin'
|
||||
opentelemetry-exporter-otlp-proto-common==1.30.0 ; sys_platform == 'darwin'
|
||||
opentelemetry-exporter-otlp-proto-grpc==1.26.0 ; sys_platform != 'darwin'
|
||||
opentelemetry-exporter-otlp-proto-grpc==1.30.0 ; sys_platform == 'darwin'
|
||||
opentelemetry-exporter-otlp-proto-http==1.26.0 ; sys_platform != 'darwin'
|
||||
opentelemetry-exporter-otlp-proto-http==1.30.0 ; sys_platform == 'darwin'
|
||||
opentelemetry-proto==1.26.0 ; sys_platform != 'darwin'
|
||||
opentelemetry-proto==1.30.0 ; sys_platform == 'darwin'
|
||||
opentelemetry-sdk==1.26.0 ; sys_platform != 'darwin'
|
||||
opentelemetry-sdk==1.30.0 ; sys_platform == 'darwin'
|
||||
opentelemetry-semantic-conventions==0.47b0 ; sys_platform != 'darwin'
|
||||
opentelemetry-semantic-conventions==0.51b0 ; sys_platform == 'darwin'
|
||||
orjson==3.10.18
|
||||
overrides==7.7.0
|
||||
packaging==24.2
|
||||
pandas==2.1.4
|
||||
peft==0.15.2
|
||||
pillow==11.1.0
|
||||
posthog==4.2.0
|
||||
prompt-toolkit==3.0.50
|
||||
propcache==0.3.0
|
||||
protobuf==4.25.8 ; sys_platform != 'darwin'
|
||||
protobuf==5.29.3 ; sys_platform == 'darwin'
|
||||
psutil==7.0.0
|
||||
psycopg2-binary==2.9.10
|
||||
pyaml==25.1.0
|
||||
pyarrow==19.0.1
|
||||
pyasn1==0.4.8
|
||||
pydantic==2.10.6
|
||||
pydantic-core==2.27.2
|
||||
pydantic-settings==2.8.1
|
||||
pygments==2.19.1
|
||||
pymongo==4.13.0
|
||||
pyparsing==3.2.3
|
||||
pypdf==5.3.1
|
||||
pythainlp==5.1.2
|
||||
python-dateutil==2.9.0.post0
|
||||
python-dotenv==1.0.1
|
||||
python-jose==3.4.0
|
||||
python-multipart==0.0.20
|
||||
pytz==2025.1
|
||||
pyyaml==6.0.2
|
||||
rapidfuzz==3.12.2
|
||||
redis==6.2.0
|
||||
referencing==0.36.2
|
||||
regex==2024.11.6
|
||||
requests==2.32.2 ; (python_full_version < '3.11' and sys_platform == 'darwin') or (python_full_version >= '3.11' and sys_platform == 'linux') or (platform_machine != 'aarch64' and sys_platform == 'linux') or (sys_platform != 'darwin' and sys_platform != 'linux')
|
||||
requests==2.32.3 ; (python_full_version < '3.11' and platform_machine == 'aarch64' and sys_platform == 'linux') or (python_full_version >= '3.11' and sys_platform == 'darwin')
|
||||
rich==13.9.4
|
||||
rpds-py==0.22.3
|
||||
rsa==4.9
|
||||
safetensors==0.5.3
|
||||
scikit-learn==1.6.1
|
||||
scipy==1.15.3
|
||||
sentencepiece==0.2.0
|
||||
setuptools==80.8.0
|
||||
six==1.17.0
|
||||
sniffio==1.3.1
|
||||
sqlalchemy==2.0.41
|
||||
sse-starlette==2.2.1
|
||||
starlette==0.45.3
|
||||
sympy==1.13.1
|
||||
tenacity==9.1.2
|
||||
termcolor==2.5.0
|
||||
threadpoolctl==3.6.0
|
||||
tiktoken==0.9.0
|
||||
tokenizers==0.21.1
|
||||
torch==2.6.0 ; sys_platform == 'darwin'
|
||||
torch==2.6.0+cpu ; sys_platform != 'darwin'
|
||||
tqdm==4.67.1
|
||||
transformers==4.50.3 ; sys_platform == 'darwin'
|
||||
transformers==4.52.4 ; sys_platform != 'darwin'
|
||||
tree-sitter==0.24.0
|
||||
trl==0.18.1
|
||||
typing-extensions==4.12.2
|
||||
tzdata==2025.1
|
||||
urllib3==2.1.0 ; (python_full_version < '3.11' and platform_machine == 'aarch64' and sys_platform == 'linux') or (python_full_version >= '3.11' and sys_platform == 'darwin')
|
||||
urllib3==2.3.0 ; (python_full_version < '3.11' and sys_platform == 'darwin') or (python_full_version >= '3.11' and sys_platform == 'linux') or (platform_machine != 'aarch64' and sys_platform == 'linux') or (sys_platform != 'darwin' and sys_platform != 'linux')
|
||||
uvicorn==0.34.0
|
||||
wcwidth==0.2.13
|
||||
wrapt==1.17.2
|
||||
xxhash==3.5.0
|
||||
yarl==1.18.3
|
||||
zipp==3.21.0
|
Loading…
Add table
Add a link
Reference in a new issue