Install the cpu-only version of torch

This commit is contained in:
Paul Gauthier 2024-07-09 09:37:10 +01:00
parent 4da073aa08
commit 9fa70b4b05
4 changed files with 13 additions and 5 deletions

View file

@ -3,8 +3,8 @@ RUN apt-get update
RUN apt-get install -y less git build-essential RUN apt-get install -y less git build-essential
COPY requirements.txt /aider/requirements.txt COPY requirements.txt /aider/requirements.txt
COPY dev-requirements.txt /aider/dev-requirements.txt COPY dev-requirements.txt /aider/dev-requirements.txt
RUN pip install --upgrade pip RUN pip install --no-cache-dir --upgrade pip
RUN pip install -r /aider/requirements.txt RUN pip install --no-cache-dir -r /aider/requirements.txt
RUN pip install -r /aider/dev-requirements.txt RUN pip install --no-cache-dir -r /aider/dev-requirements.txt
RUN git config --global --add safe.directory /aider RUN git config --global --add safe.directory /aider
WORKDIR /aider WORKDIR /aider

View file

@ -1,9 +1,11 @@
# #
# This file is autogenerated by pip-compile with Python 3.11 # This file is autogenerated by pip-compile with Python 3.12
# by the following command: # by the following command:
# #
# pip-compile --output-file=dev-requirements.txt dev-requirements.in # pip-compile --output-file=dev-requirements.txt dev-requirements.in
# #
--extra-index-url https://download.pytorch.org/whl/cpu
alabaster==0.7.16 alabaster==0.7.16
# via sphinx # via sphinx
babel==2.15.0 babel==2.15.0

View file

@ -1,6 +1,10 @@
# #
# pip-compile requirements.in --upgrade # pip-compile requirements.in --upgrade
# #
# Install the cpu-only version of torch
--extra-index-url https://download.pytorch.org/whl/cpu
configargparse configargparse
GitPython GitPython
openai openai

View file

@ -1,9 +1,11 @@
# #
# This file is autogenerated by pip-compile with Python 3.11 # This file is autogenerated by pip-compile with Python 3.12
# by the following command: # by the following command:
# #
# pip-compile requirements.in # pip-compile requirements.in
# #
--extra-index-url https://download.pytorch.org/whl/cpu
aiohttp==3.9.5 aiohttp==3.9.5
# via # via
# huggingface-hub # huggingface-hub