Unverified Commit ea40933f authored by Dhruv Nair's avatar Dhruv Nair Committed by GitHub
Browse files

[CI] Unpin torch<2.5 in CI (#9961)

* update

* update
parent 0583a8d1
...@@ -28,7 +28,7 @@ ENV PATH="/opt/venv/bin:$PATH" ...@@ -28,7 +28,7 @@ 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.10 -m pip install --no-cache-dir --upgrade pip uv==0.1.11 && \ RUN python3.10 -m pip install --no-cache-dir --upgrade pip uv==0.1.11 && \
python3.10 -m uv pip install --no-cache-dir \ python3.10 -m uv pip install --no-cache-dir \
"torch<2.5.0" \ torch \
torchvision \ torchvision \
torchaudio \ torchaudio \
"onnxruntime-gpu>=1.13.1" \ "onnxruntime-gpu>=1.13.1" \
......
...@@ -29,7 +29,7 @@ ENV PATH="/opt/venv/bin:$PATH" ...@@ -29,7 +29,7 @@ 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.10 -m pip install --no-cache-dir --upgrade pip uv==0.1.11 && \ RUN python3.10 -m pip install --no-cache-dir --upgrade pip uv==0.1.11 && \
python3.10 -m uv pip install --no-cache-dir \ python3.10 -m uv pip install --no-cache-dir \
"torch<2.5.0" \ torch \
torchvision \ torchvision \
torchaudio \ torchaudio \
invisible_watermark && \ invisible_watermark && \
......
...@@ -29,7 +29,7 @@ ENV PATH="/opt/venv/bin:$PATH" ...@@ -29,7 +29,7 @@ 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.10 -m pip install --no-cache-dir --upgrade pip uv==0.1.11 && \ RUN python3.10 -m pip install --no-cache-dir --upgrade pip uv==0.1.11 && \
python3.10 -m uv pip install --no-cache-dir \ python3.10 -m uv pip install --no-cache-dir \
"torch<2.5.0" \ torch \
torchvision \ torchvision \
torchaudio \ torchaudio \
invisible_watermark \ invisible_watermark \
......
...@@ -29,7 +29,7 @@ ENV PATH="/opt/venv/bin:$PATH" ...@@ -29,7 +29,7 @@ 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.10 -m pip install --no-cache-dir --upgrade pip uv==0.1.11 && \ RUN python3.10 -m pip install --no-cache-dir --upgrade pip uv==0.1.11 && \
python3.10 -m uv pip install --no-cache-dir \ python3.10 -m uv pip install --no-cache-dir \
"torch<2.5.0" \ torch \
torchvision \ torchvision \
torchaudio \ torchaudio \
invisible_watermark && \ invisible_watermark && \
......
...@@ -29,7 +29,7 @@ ENV PATH="/opt/venv/bin:$PATH" ...@@ -29,7 +29,7 @@ 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.10 -m pip install --no-cache-dir --upgrade pip uv==0.1.11 && \ RUN python3.10 -m pip install --no-cache-dir --upgrade pip uv==0.1.11 && \
python3.10 -m pip install --no-cache-dir \ python3.10 -m pip install --no-cache-dir \
"torch<2.5.0" \ torch \
torchvision \ torchvision \
torchaudio \ torchaudio \
invisible_watermark && \ invisible_watermark && \
......
...@@ -130,7 +130,7 @@ _deps = [ ...@@ -130,7 +130,7 @@ _deps = [
"regex!=2019.12.17", "regex!=2019.12.17",
"requests", "requests",
"tensorboard", "tensorboard",
"torch>=1.4,<2.5.0", "torch>=1.4",
"torchvision", "torchvision",
"transformers>=4.41.2", "transformers>=4.41.2",
"urllib3<=2.0.0", "urllib3<=2.0.0",
......
...@@ -38,7 +38,7 @@ deps = { ...@@ -38,7 +38,7 @@ deps = {
"regex": "regex!=2019.12.17", "regex": "regex!=2019.12.17",
"requests": "requests", "requests": "requests",
"tensorboard": "tensorboard", "tensorboard": "tensorboard",
"torch": "torch>=1.4,<2.5.0", "torch": "torch>=1.4",
"torchvision": "torchvision", "torchvision": "torchvision",
"transformers": "transformers>=4.41.2", "transformers": "transformers>=4.41.2",
"urllib3": "urllib3<=2.0.0", "urllib3": "urllib3<=2.0.0",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment