mirror of
https://github.com/huggingface/diffusers.git
synced 2025-12-08 21:44:27 +08:00
Compare commits
5 Commits
save-load-
...
pin-torch
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
19fe28c2a7 | ||
|
|
43189e6cb3 | ||
|
|
3de6326088 | ||
|
|
00a9225240 | ||
|
|
1d10a7a536 |
@@ -26,9 +26,9 @@ ENV PATH="/opt/venv/bin:$PATH"
|
|||||||
# pre-install the heavy dependencies (these can later be overridden by the deps from setup.py)
|
# pre-install the heavy dependencies (these can later be overridden by the deps from setup.py)
|
||||||
RUN python3.9 -m pip install --no-cache-dir --upgrade pip && \
|
RUN python3.9 -m pip install --no-cache-dir --upgrade pip && \
|
||||||
python3.9 -m pip install --no-cache-dir \
|
python3.9 -m pip install --no-cache-dir \
|
||||||
torch==2.1.2 \
|
torch \
|
||||||
torchvision==0.16.2 \
|
torchvision \
|
||||||
torchaudio==2.1.2 \
|
torchaudio \
|
||||||
invisible_watermark && \
|
invisible_watermark && \
|
||||||
python3.9 -m pip install --no-cache-dir \
|
python3.9 -m pip install --no-cache-dir \
|
||||||
accelerate \
|
accelerate \
|
||||||
|
|||||||
@@ -25,9 +25,9 @@ ENV PATH="/opt/venv/bin:$PATH"
|
|||||||
# pre-install the heavy dependencies (these can later be overridden by the deps from setup.py)
|
# pre-install the heavy dependencies (these can later be overridden by the deps from setup.py)
|
||||||
RUN python3 -m pip install --no-cache-dir --upgrade pip && \
|
RUN python3 -m pip install --no-cache-dir --upgrade pip && \
|
||||||
python3 -m pip install --no-cache-dir \
|
python3 -m pip install --no-cache-dir \
|
||||||
torch==2.1.2 \
|
torch \
|
||||||
torchvision==0.16.2 \
|
torchvision \
|
||||||
torchaudio==2.1.2 \
|
torchaudio \
|
||||||
invisible_watermark \
|
invisible_watermark \
|
||||||
--extra-index-url https://download.pytorch.org/whl/cpu && \
|
--extra-index-url https://download.pytorch.org/whl/cpu && \
|
||||||
python3 -m pip install --no-cache-dir \
|
python3 -m pip install --no-cache-dir \
|
||||||
|
|||||||
@@ -25,9 +25,9 @@ ENV PATH="/opt/venv/bin:$PATH"
|
|||||||
# pre-install the heavy dependencies (these can later be overridden by the deps from setup.py)
|
# pre-install the heavy dependencies (these can later be overridden by the deps from setup.py)
|
||||||
RUN python3 -m pip install --no-cache-dir --upgrade pip && \
|
RUN python3 -m pip install --no-cache-dir --upgrade pip && \
|
||||||
python3 -m pip install --no-cache-dir \
|
python3 -m pip install --no-cache-dir \
|
||||||
torch==2.1.2 \
|
torch \
|
||||||
torchvision==0.16.2 \
|
torchvision \
|
||||||
torchaudio==2.1.2 \
|
torchaudio \
|
||||||
invisible_watermark && \
|
invisible_watermark && \
|
||||||
python3 -m pip install --no-cache-dir \
|
python3 -m pip install --no-cache-dir \
|
||||||
accelerate \
|
accelerate \
|
||||||
|
|||||||
@@ -25,9 +25,9 @@ ENV PATH="/opt/venv/bin:$PATH"
|
|||||||
# pre-install the heavy dependencies (these can later be overridden by the deps from setup.py)
|
# pre-install the heavy dependencies (these can later be overridden by the deps from setup.py)
|
||||||
RUN python3 -m pip install --no-cache-dir --upgrade pip && \
|
RUN python3 -m pip install --no-cache-dir --upgrade pip && \
|
||||||
python3 -m pip install --no-cache-dir \
|
python3 -m pip install --no-cache-dir \
|
||||||
torch==2.1.2 \
|
torch \
|
||||||
torchvision==0.16.2 \
|
torchvision \
|
||||||
torchaudio==2.1.2 \
|
torchaudio \
|
||||||
invisible_watermark && \
|
invisible_watermark && \
|
||||||
python3 -m pip install --no-cache-dir \
|
python3 -m pip install --no-cache-dir \
|
||||||
accelerate \
|
accelerate \
|
||||||
|
|||||||
4
setup.py
4
setup.py
@@ -126,8 +126,8 @@ _deps = [
|
|||||||
"regex!=2019.12.17",
|
"regex!=2019.12.17",
|
||||||
"requests",
|
"requests",
|
||||||
"tensorboard",
|
"tensorboard",
|
||||||
"torch>=1.4,<2.2.0",
|
"torch>=1.4",
|
||||||
"torchvision<0.17",
|
"torchvision",
|
||||||
"transformers>=4.25.1",
|
"transformers>=4.25.1",
|
||||||
"urllib3<=2.0.0",
|
"urllib3<=2.0.0",
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -38,8 +38,8 @@ deps = {
|
|||||||
"regex": "regex!=2019.12.17",
|
"regex": "regex!=2019.12.17",
|
||||||
"requests": "requests",
|
"requests": "requests",
|
||||||
"tensorboard": "tensorboard",
|
"tensorboard": "tensorboard",
|
||||||
"torch": "torch>=1.4,<2.2.0",
|
"torch": "torch>=1.4",
|
||||||
"torchvision": "torchvision<0.17",
|
"torchvision": "torchvision",
|
||||||
"transformers": "transformers>=4.25.1",
|
"transformers": "transformers>=4.25.1",
|
||||||
"urllib3": "urllib3<=2.0.0",
|
"urllib3": "urllib3<=2.0.0",
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user