llama-stack/docs/source
Ashwin Bharambe dc84bc755a
fix: revert to using faiss for ollama distro (#1530)
This is unfortunate because `sqlite-vec` seems promising. But its PIP
package is not quite complete. It does not have binary for arm64 (I
think, or maybe it even lacks 64 bit builds?) which results in the arm64
container resulting in
```
File "/usr/local/lib/python3.10/site-packages/sqlite_vec/init.py", line 17, in load
    conn.load_extension(loadable_path())
sqlite3.OperationalError: /usr/local/lib/python3.10/site-packages/sqlite_vec/vec0.so: wrong ELF class: ELFCLASS32
```

To get around I tried to install from source via `uv pip install
sqlite-vec --no-binary=sqlite-vec` however it even lacks a source
distribution which makes that impossible.

## Test Plan

Build the container locally using: 

```bash
LLAMA_STACK_DIR=. llama stack build --template ollama --image-type container
```

Run the container as: 

```
podman run --privileged -it -p $LLAMA_STACK_PORT:$LLAMA_STACK_PORT \
   -v ~/.llama:/root/.llama \
    --env INFERENCE_MODEL=$INFERENCE_MODEL \
    --env OLLAMA_URL=http://host.containers.internal:11434 \
    -v ~/local/llama-stack:/app/llama-stack-source 
    localhost/distribution-ollama:dev --port $LLAMA_STACK_PORT
```

Verify the container starts up correctly. Without this patch, it would
encounter the ELFCLASS32 error.
2025-03-10 16:15:17 -07:00
..
building_applications docs: improve eval doc (#1501) 2025-03-10 11:38:07 -07:00
concepts fix: update the open benchmark eval doc (#1497) 2025-03-07 15:05:27 -08:00
contributing fix: update testing documentation 2025-03-05 17:41:13 -08:00
distributions fix: revert to using faiss for ollama distro (#1530) 2025-03-10 16:15:17 -07:00
getting_started docs: update test_agents to use new Agent SDK API (#1402) 2025-03-06 15:21:12 -08:00
introduction Update index.md (#888) 2025-01-28 04:55:41 -08:00
playground fix!: update eval-tasks -> benchmarks (#1032) 2025-02-13 16:40:58 -08:00
providers feat: add Milvus vectorDB (#1467) 2025-03-06 20:59:31 -08:00
references fix: update the open benchmark eval doc (#1497) 2025-03-07 15:05:27 -08:00
conf.py fix: fetched latest pypi version when building documentation 2025-03-06 21:15:15 -08:00
index.md feat: add Milvus vectorDB (#1467) 2025-03-06 20:59:31 -08:00