Skip to content

Commit 79f9a1d

Browse files
Merge pull request #1361 from roboflow/revert-1360-revert-1323-dependabot/pip/requirements/pip-2f1c845765
Update torch requirement from <2.7.0,>=2.0.1 to >=2.0.1,<2.8.0 in /requirements in the pip group across 1 directory
2 parents dfc1b02 + 76bae33 commit 79f9a1d

4 files changed

Lines changed: 8 additions & 6 deletions

File tree

docker/dockerfiles/Dockerfile.onnx.jetson.4.6.1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ RUN apt-get update -y && apt-get upgrade -y && apt-get install -y \
1515
curl \
1616
libbz2-dev \
1717
software-properties-common \
18-
rustc \
19-
cargo \
2018
&& rm -rf /var/lib/apt/lists/*
2119

20+
RUN curl https://sh.rustup.rs -sSfy | sh
21+
2222
RUN wget https://www.python.org/ftp/python/3.9.0/Python-3.9.0.tar.xz && tar -xf Python-3.9.0.tar.xz && rm Python-3.9.0.tar.xz
2323
WORKDIR ./Python-3.9.0
24-
RUN ./configure && make altinstall
24+
RUN ./configure --enable-shared && make altinstall
2525

2626
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y \
2727
lshw \
@@ -95,4 +95,4 @@ ENV ENABLE_PROMETHEUS=True
9595
ENV ENABLE_STREAM_API=True
9696
ENV STREAM_API_PRELOADED_PROCESSES=2
9797

98-
ENTRYPOINT uvicorn gpu_http:app --workers $NUM_WORKERS --host $HOST --port $PORT
98+
ENTRYPOINT uvicorn gpu_http:app --workers $NUM_WORKERS --host $HOST --port $PORT

requirements/_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ pymodbus>=3.6.9,<=3.8.3
4545
backoff~=2.2.0
4646
filelock>=3.12.0,<=3.17.0
4747
onvif-zeep-async==2.0.0 # versions > 2.0.0 will not work with Python 3.9 despite docs
48-
simple-pid~=2.0.1
48+
simple-pid~=2.0.1

requirements/requirements.sam.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
rf-segment-anything==1.0
22
samv2==0.0.4
33
rasterio~=1.4.0
4+
# TODO: update to 2.8.0 once pre-built flashattn is available
45
torch>=2.0.1,<2.7.0
56
torchvision>=0.15.2

requirements/requirements.transformers.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# TODO: update to 2.8.0 once pre-built flashattn is available
12
torch>=2.0.1,<2.7.0
23
torchvision>=0.15.0
34
transformers>=4.50.0,<4.52.0
@@ -8,4 +9,4 @@ peft~=0.11.1
89
num2words~=0.5.14
910
bitsandbytes>=0.42.0,<0.46.0
1011
num2words~=0.5.14
11-
pyvips>=2.2.3
12+
pyvips>=2.2.3

0 commit comments

Comments
 (0)