Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build-stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:

- name: build package
run: |
pip install --upgrade build
python -m build
pip install --upgrade uv
uv build

- name: Install qemu dependency
run: |
Expand Down
2 changes: 1 addition & 1 deletion build/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WORKDIR /opt/app-root/src

COPY dist dist

RUN pip install ./dist/podman_ai_lab_stack-0.12.0.tar.gz
RUN pip install --extra-index-url https://download.pytorch.org/whl/cpu/ ./dist/podman_ai_lab_stack-0.12.0.tar.gz
RUN \
mkdir -p $HOME/.llama/providers.d/remote/inference && \
cp /opt/app-root/lib64/python3.11/site-packages/podman_ai_lab_stack/providers.d/remote/inference/podman-ai-lab.yaml \
Expand Down
31 changes: 30 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,26 @@ name = "podman-ai-lab-stack"
version = "0.12.0"
description = "Podman AI Lab provider for Llama Stack"
requires-python = ">=3.10"
dynamic = ["dependencies"]
dependencies = [
"aiosqlite>=0.21.0",
"autoevals>=0.0.130",
"blobfile>=3.1.0",
"chardet>=5.2.0",
"datasets>=4.1.1",
"faiss-cpu>=1.12.0",
"fastapi>=0.118.0",
"greenlet>=3.2.4",
"llama-stack>=0.2.9",
"mcp>=1.15.0",
"ollama>=0.6.0",
"opentelemetry-api>=1.37.0",
"opentelemetry-exporter-otlp>=1.37.0",
"opentelemetry-sdk>=1.37.0",
"pydantic>=2.11.9",
"sentence-transformers>=5.1.1",
"sqlalchemy>=2.0.43",
"torch>=2.7.0",
]

[tool.setuptools]
package-dir = { "" = "src" }
Expand All @@ -21,3 +40,13 @@ dependencies = { file = ["requirements.txt"] }

[tool.ruff]
extend-exclude = ["*.ipynb"]

[[tool.uv.index]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true

[tool.uv.sources]
torch = [
{ index = "pytorch-cpu" },
]
Loading