Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bruvduroiu/dagster-llama-pipeline

Orchestrate complex Llama chains using Dagster
https://github.com/bruvduroiu/dagster-llama-pipeline

Last synced: about 9 hours ago
JSON representation

Orchestrate complex Llama chains using Dagster

Awesome Lists containing this project

README

        

# Dagster ❤️ Llama 🦙

Toy example using Dagster orchestration in conjunction with [llama.cpp](https://github.com/ggerganov/llama.cpp) to achieve a performant and observable data pipeline.

This repo is the supporting material for the blog post: [Dagster ❤️ Llama - orchestration for modern LLM pipelines](https://buduroiu.com/blog/dagster-llama-data-engineering)

## Installation

```bash
pyenv local 3.9.x

poetry config virtualenvs.in-project true --local

poetry install
```

## To run

```bash
# Start up Llama server
poetry run python -m llama_cpp.server --model ggml-model-q4_0.bin

# Start dagit
poetry run dagit -f src/__init__.py -d .
```