Zack Saadioui
8/27/2024
1
2
bash
curl -fsSL https://ollama.com/download/ollama-darwin.zip | sh
1
2
bash
curl -fsSL https://ollama.com/install.sh | sh
1
2
bash
ollama run llama3.1
1
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
yaml
version: '3'
services:
airflow:
image: apache/airflow:2.6.0
restart: always
ports:
- "8080:8080"
environment:
- AIRFLOW__CORE__EXECUTOR=LocalExecutor
volumes:
- ./airflow:/opt/airflow
command: airflow webserver
1
docker-compose.yaml
1
2
bash
docker-compose up -d
1
ollama_dag.py
1 2 3
run_llama = BashOperator( task_id='run_llama', bash_command='ollama run llama3.1 --prompt
Copyright © Arsturn 2024