mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
Install the cpu-only version of torch
This commit is contained in:
parent
4da073aa08
commit
9fa70b4b05
4 changed files with 13 additions and 5 deletions
|
@ -3,8 +3,8 @@ RUN apt-get update
|
|||
RUN apt-get install -y less git build-essential
|
||||
COPY requirements.txt /aider/requirements.txt
|
||||
COPY dev-requirements.txt /aider/dev-requirements.txt
|
||||
RUN pip install --upgrade pip
|
||||
RUN pip install -r /aider/requirements.txt
|
||||
RUN pip install -r /aider/dev-requirements.txt
|
||||
RUN pip install --no-cache-dir --upgrade pip
|
||||
RUN pip install --no-cache-dir -r /aider/requirements.txt
|
||||
RUN pip install --no-cache-dir -r /aider/dev-requirements.txt
|
||||
RUN git config --global --add safe.directory /aider
|
||||
WORKDIR /aider
|
||||
|
|
|
@ -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:
|
||||
#
|
||||
# pip-compile --output-file=dev-requirements.txt dev-requirements.in
|
||||
#
|
||||
--extra-index-url https://download.pytorch.org/whl/cpu
|
||||
|
||||
alabaster==0.7.16
|
||||
# via sphinx
|
||||
babel==2.15.0
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
#
|
||||
# pip-compile requirements.in --upgrade
|
||||
#
|
||||
|
||||
# Install the cpu-only version of torch
|
||||
--extra-index-url https://download.pytorch.org/whl/cpu
|
||||
|
||||
configargparse
|
||||
GitPython
|
||||
openai
|
||||
|
|
|
@ -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:
|
||||
#
|
||||
# pip-compile requirements.in
|
||||
#
|
||||
--extra-index-url https://download.pytorch.org/whl/cpu
|
||||
|
||||
aiohttp==3.9.5
|
||||
# via
|
||||
# huggingface-hub
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue