Skip to content

Commit 6040daf

Browse files
Merge pull request #62 from MichaelClifford/uv
add pyproject, uv.lock and updated instructions
2 parents 731cdfa + 5f8eced commit 6040daf

3 files changed

Lines changed: 970 additions & 0 deletions

File tree

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,13 @@ A `kustomization.yaml` file exists to launch all required Kubernetes objects for
1313
oc new-project llama-serve
1414
oc apply -k kubernetes
1515
```
16+
## Running Demos and Notebooks
17+
18+
This project uses `uv` as its package manager for the python based notebooks and demo scripts. You can quickly set up your working environment by following these steps:
19+
20+
1) `pip install uv`
21+
2) `uv sync`
22+
3) `source .venv/bin/activate`
23+
24+
Once you are using the virtual environment, you should be good to run any script in `app/src`.
25+

pyproject.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[project]
2+
name = "llama-stack-on-ocp"
3+
version = "0.1.0"
4+
description = "llama-stack-on-ocp"
5+
readme = "README.md"
6+
requires-python = ">=3.12"
7+
dependencies = [
8+
"llama-stack-client==0.1.9",
9+
"python-dotenv>=1.1.0",
10+
"streamlit>=1.44.1",
11+
]

0 commit comments

Comments
 (0)