File tree Expand file tree Collapse file tree 6 files changed +16
-16
lines changed
diffusers-pytorch-compile-cuda
diffusers-pytorch-xformers-cuda Expand file tree Collapse file tree 6 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -26,9 +26,9 @@ ENV PATH="/opt/venv/bin:$PATH"
26
26
# pre-install the heavy dependencies (these can later be overridden by the deps from setup.py)
27
27
RUN python3.9 -m pip install --no-cache-dir --upgrade pip && \
28
28
python3.9 -m pip install --no-cache-dir \
29
- torch==2.1.2 \
30
- torchvision==0.16.2 \
31
- torchaudio==2.1.2 \
29
+ torch \
30
+ torchvision \
31
+ torchaudio \
32
32
invisible_watermark && \
33
33
python3.9 -m pip install --no-cache-dir \
34
34
accelerate \
Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ ENV PATH="/opt/venv/bin:$PATH"
25
25
# pre-install the heavy dependencies (these can later be overridden by the deps from setup.py)
26
26
RUN python3 -m pip install --no-cache-dir --upgrade pip && \
27
27
python3 -m pip install --no-cache-dir \
28
- torch==2.1.2 \
29
- torchvision==0.16.2 \
30
- torchaudio==2.1.2 \
28
+ torch \
29
+ torchvision \
30
+ torchaudio \
31
31
invisible_watermark \
32
32
--extra-index-url https://download.pytorch.org/whl/cpu && \
33
33
python3 -m pip install --no-cache-dir \
Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ ENV PATH="/opt/venv/bin:$PATH"
25
25
# pre-install the heavy dependencies (these can later be overridden by the deps from setup.py)
26
26
RUN python3 -m pip install --no-cache-dir --upgrade pip && \
27
27
python3 -m pip install --no-cache-dir \
28
- torch==2.1.2 \
29
- torchvision==0.16.2 \
30
- torchaudio==2.1.2 \
28
+ torch \
29
+ torchvision \
30
+ torchaudio \
31
31
invisible_watermark && \
32
32
python3 -m pip install --no-cache-dir \
33
33
accelerate \
Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ ENV PATH="/opt/venv/bin:$PATH"
25
25
# pre-install the heavy dependencies (these can later be overridden by the deps from setup.py)
26
26
RUN python3 -m pip install --no-cache-dir --upgrade pip && \
27
27
python3 -m pip install --no-cache-dir \
28
- torch==2.1.2 \
29
- torchvision==0.16.2 \
30
- torchaudio==2.1.2 \
28
+ torch \
29
+ torchvision \
30
+ torchaudio \
31
31
invisible_watermark && \
32
32
python3 -m pip install --no-cache-dir \
33
33
accelerate \
Original file line number Diff line number Diff line change 126
126
"regex!=2019.12.17" ,
127
127
"requests" ,
128
128
"tensorboard" ,
129
- "torch>=1.4,<2.2.0 " ,
130
- "torchvision<0.17 " ,
129
+ "torch>=1.4" ,
130
+ "torchvision" ,
131
131
"transformers>=4.25.1" ,
132
132
"urllib3<=2.0.0" ,
133
133
]
Original file line number Diff line number Diff line change 38
38
"regex" : "regex!=2019.12.17" ,
39
39
"requests" : "requests" ,
40
40
"tensorboard" : "tensorboard" ,
41
- "torch" : "torch>=1.4,<2.2.0 " ,
42
- "torchvision" : "torchvision<0.17 " ,
41
+ "torch" : "torch>=1.4" ,
42
+ "torchvision" : "torchvision" ,
43
43
"transformers" : "transformers>=4.25.1" ,
44
44
"urllib3" : "urllib3<=2.0.0" ,
45
45
}
You can’t perform that action at this time.
0 commit comments