Skip to content

Commit

Permalink
Rebuild Docker images for txtai 7.4, closes #14
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmezzetti committed Sep 6, 2024
1 parent c096dad commit 112aae1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ RUN \
rm -rf /var/lib/apt/lists && \
apt-get -y autoremove && \
\
# Install base requirements, latest Transformers (Llama 3.1)
python -m pip install --no-cache-dir -r requirements.txt transformers --upgrade
# Install base requirements
python -m pip install --no-cache-dir -r requirements.txt

# Start streamlit application
ENTRYPOINT ["streamlit", "run", "rag.py"]
5 changes: 5 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# Current version of AutoAWQ requires torch==2.3.1
autoawq; platform_machine == "x86_64" or platform_machine == "AMD64"
torch==2.3.1; platform_machine == "x86_64" or platform_machine == "AMD64"
torchvision==0.18.1; platform_machine == "x86_64" or platform_machine == "AMD64"

# Base requirements
matplotlib
streamlit
txtai[graph,pipeline-data,pipeline-llm]

0 comments on commit 112aae1

Please sign in to comment.