Spaces:
Runtime error
Runtime error
|
Download examples/advanced/hadrware-optimized-image.md from expressapi/chroma: direct link, hf CLI and curl.
- Browser
- Download file 397 Bytes
-
https://huggingface.co/spaces/expressapi/chroma/resolve/main/examples/advanced/hadrware-optimized-image.md
- Command line
-
hf download hf://spaces/expressapi/chroma/examples/advanced/hadrware-optimized-image.md
-
curl -L -o hadrware-optimized-image.md https://huggingface.co/spaces/expressapi/chroma/resolve/main/examples/advanced/hadrware-optimized-image.md
397 Bytes
Building Hardware Optimized ChromaDB Image
The default Chroma DB image comes with binary distribution of hnsw lib which is not optimized to take advantage of certain CPU architectures (Intel-based) with AVX support. This can be improved by building an image with hnsw rebuilt from source. To do that run:
docker build -t chroma-test1 --build-arg REBUILD_HNSWLIB=true --no-cache .