Skip to content

Commit

Permalink
Merge branch 'main' into feature/pass-measured-fps-when-handling-live…
Browse files Browse the repository at this point in the history
…-stream
  • Loading branch information
grzegorz-roboflow authored Nov 14, 2024
2 parents db89ef7 + 378c3b4 commit e8ac049
Show file tree
Hide file tree
Showing 21 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions docker/dockerfiles/Dockerfile.onnx.cpu
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ RUN pip3 install --upgrade pip && pip3 install \
-r requirements.yolo_world.txt \
-r requirements.transformers.txt \
jupyterlab \
setuptools<=75.5.0 \
"setuptools<=75.5.0" \
--upgrade \
&& rm -rf ~/.cache/pip

Expand All @@ -51,7 +51,7 @@ COPY --from=base / /
WORKDIR /build
COPY . .
RUN make create_wheels
RUN pip3 install dist/inference_cli*.whl dist/inference_core*.whl dist/inference_cpu*.whl dist/inference_sdk*.whl setuptools<=75.5.0
RUN pip3 install dist/inference_cli*.whl dist/inference_core*.whl dist/inference_cpu*.whl dist/inference_sdk*.whl "setuptools<=75.5.0"

RUN if [ "${TARGETPLATFORM}" = "linux/amd64" ]; then pip3 install -r requirements/requirements.vino.txt; rm -rf ~/.cache/pip; fi

Expand Down
4 changes: 2 additions & 2 deletions docker/dockerfiles/Dockerfile.onnx.cpu.dev
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ RUN pip3 install --upgrade pip && pip3 install \
-r requirements.yolo_world.txt \
-r requirements.transformers.txt \
jupyterlab \
setuptools<=75.5.0 \
"setuptools<=75.5.0" \
--upgrade \
&& rm -rf ~/.cache/pip

Expand All @@ -51,7 +51,7 @@ COPY --from=base / /
WORKDIR /build
COPY . .
RUN make create_wheels
RUN pip3 install dist/inference_cli*.whl dist/inference_core*.whl dist/inference_cpu*.whl dist/inference_sdk*.whl setuptools<=75.5.0
RUN pip3 install dist/inference_cli*.whl dist/inference_core*.whl dist/inference_cpu*.whl dist/inference_sdk*.whl "setuptools<=75.5.0"
RUN pip3 install watchdog[watchmedo]
RUN if [ "${TARGETPLATFORM}" = "linux/amd64" ]; then pip3 install -r requirements/requirements.vino.txt; rm -rf ~/.cache/pip; fi

Expand Down
2 changes: 1 addition & 1 deletion docker/dockerfiles/Dockerfile.onnx.cpu.parallel
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ RUN pip3 install --upgrade pip && pip3 install \
-r requirements.parallel.txt \
-r requirements.cli.txt \
-r requirements.sdk.http.txt \
setuptools<=75.5.0 \
"setuptools<=75.5.0" \
--upgrade \
&& rm -rf ~/.cache/pip
RUN apt-get update && apt-get install -y lsb-release curl gpg
Expand Down
2 changes: 1 addition & 1 deletion docker/dockerfiles/Dockerfile.onnx.cpu.slim
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ RUN pip3 install --upgrade pip && pip3 install \
-r requirements.waf.txt \
-r requirements.cli.txt \
-r requirements.sdk.http.txt \
setuptools<=75.5.0 \
"setuptools<=75.5.0" \
--upgrade \
&& rm -rf ~/.cache/pip

Expand Down
2 changes: 1 addition & 1 deletion docker/dockerfiles/Dockerfile.onnx.cpu.stream_manager
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN pip3 install --upgrade pip && pip3 install \
-r _requirements.txt \
-r requirements.cpu.txt \
-r requirements.http.txt \
setuptools<=75.5.0 \
"setuptools<=75.5.0" \
--upgrade \
&& rm -rf ~/.cache/pip

Expand Down
4 changes: 2 additions & 2 deletions docker/dockerfiles/Dockerfile.onnx.gpu
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ RUN python3 -m pip install \
-r requirements.yolo_world.txt \
-r requirements.transformers.txt \
jupyterlab \
setuptools<=75.5.0 \
"setuptools<=75.5.0" \
--upgrade \
&& rm -rf ~/.cache/pip

Expand All @@ -61,7 +61,7 @@ WORKDIR /build
COPY . .
RUN ln -s /usr/bin/python3 /usr/bin/python
RUN /bin/make create_wheels_for_gpu_notebook
RUN pip3 install --no-cache-dir dist/inference_cli*.whl dist/inference_core*.whl dist/inference_gpu*.whl dist/inference_sdk*.whl setuptools<=75.5.0
RUN pip3 install --no-cache-dir dist/inference_cli*.whl dist/inference_core*.whl dist/inference_gpu*.whl dist/inference_sdk*.whl "setuptools<=75.5.0"

WORKDIR /notebooks
COPY examples/notebooks .
Expand Down
2 changes: 1 addition & 1 deletion docker/dockerfiles/Dockerfile.onnx.gpu.dev
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ RUN python3 -m pip install \
-r requirements.sdk.http.txt \
-r requirements.cli.txt \
jupyterlab \
setuptools<=75.5.0 \
"setuptools<=75.5.0" \
--upgrade \
&& rm -rf ~/.cache/pip

Expand Down
4 changes: 2 additions & 2 deletions docker/dockerfiles/Dockerfile.onnx.gpu.parallel
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ RUN pip3 install --upgrade pip && pip3 install \
-r requirements.waf.txt \
-r requirements.gaze.txt \
-r requirements.parallel.txt \
setuptools<=75.5.0 \
"setuptools<=75.5.0" \
--upgrade \
&& rm -rf ~/.cache/pip

Expand All @@ -48,7 +48,7 @@ WORKDIR /build
COPY . .
RUN ln -s /usr/bin/python3 /usr/bin/python
RUN /bin/make create_wheels_for_gpu_notebook
RUN pip3 install dist/inference_cli*.whl dist/inference_core*.whl dist/inference_gpu*.whl dist/inference_sdk*.whl setuptools<=75.5.0
RUN pip3 install dist/inference_cli*.whl dist/inference_core*.whl dist/inference_gpu*.whl dist/inference_sdk*.whl "setuptools<=75.5.0"

WORKDIR /notebooks
COPY examples/notebooks .
Expand Down
2 changes: 1 addition & 1 deletion docker/dockerfiles/Dockerfile.onnx.gpu.slim
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN pip3 install --upgrade pip && pip3 install \
-r requirements.waf.txt \
-r requirements.cli.txt \
-r requirements.sdk.http.txt \
setuptools<=75.5.0 \
"setuptools<=75.5.0" \
--upgrade \
&& rm -rf ~/.cache/pip

Expand Down
2 changes: 1 addition & 1 deletion docker/dockerfiles/Dockerfile.onnx.gpu.stream_manager
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN pip3 install --upgrade pip && pip3 install \
-r _requirements.txt \
-r requirements.http.txt \
-r requirements.gpu.txt \
setuptools<=75.5.0 \
"setuptools<=75.5.0" \
--upgrade \
&& rm -rf ~/.cache/pip

Expand Down
2 changes: 1 addition & 1 deletion docker/dockerfiles/Dockerfile.onnx.jetson.4.5.0
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ RUN python3.8 -m pip install --upgrade pip wheel Cython && python3.8 -m pip inst
-r requirements.sdk.http.txt \
-r requirements.yolo_world.txt \
jupyterlab \
setuptools<=75.5.0 \
"setuptools<=75.5.0" \
--upgrade \
&& rm -rf ~/.cache/pip

Expand Down
2 changes: 1 addition & 1 deletion docker/dockerfiles/Dockerfile.onnx.jetson.4.6.1
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ RUN python3.9 -m pip install --upgrade pip "h5py<=3.10.0" && python3.9 -m pip in
-r requirements.sdk.http.txt \
-r requirements.yolo_world.txt \
jupyterlab \
setuptools<=75.5.0 \
"setuptools<=75.5.0" \
--upgrade \
&& rm -rf ~/.cache/pip

Expand Down
2 changes: 1 addition & 1 deletion docker/dockerfiles/Dockerfile.onnx.jetson.5.1.1
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ RUN python3.9 -m pip install --upgrade pip && python3.9 -m pip install \
-r requirements.sdk.http.txt \
-r requirements.yolo_world.txt \
jupyterlab \
setuptools<=75.5.0 \
"setuptools<=75.5.0" \
--upgrade \
&& rm -rf ~/.cache/pip

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ RUN pip3 install --upgrade pip && pip3 install \
-r _requirements.txt \
-r requirements.clip.txt \
-r requirements.http.txt \
setuptools<=75.5.0 \
"setuptools<=75.5.0" \
--upgrade \
&& rm -rf ~/.cache/pip

Expand Down
4 changes: 2 additions & 2 deletions docker/dockerfiles/Dockerfile.onnx.jetson.6.0.0
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ RUN python3 -m pip install --upgrade pip && \
-r requirements/requirements.sdk.http.txt \
-r requirements/requirements.yolo_world.txt \
-r requirements/requirements.jetson.txt \
setuptools<=75.5.0
"setuptools<=75.5.0"

# Build the application
WORKDIR /build
Expand All @@ -46,7 +46,7 @@ RUN rm -f dist/* && \
python3 .release/pypi/inference.gpu.setup.py bdist_wheel && \
python3 .release/pypi/inference.sdk.setup.py bdist_wheel && \
python3 .release/pypi/inference.cli.setup.py bdist_wheel && \
python3 -m pip install dist/inference_cli*.whl dist/inference_core*.whl dist/inference_gpu*.whl dist/inference_sdk*.whl setuptools<=75.5.0
python3 -m pip install dist/inference_cli*.whl dist/inference_core*.whl dist/inference_gpu*.whl dist/inference_sdk*.whl "setuptools<=75.5.0"

# Set up the application runtime
WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion docker/dockerfiles/Dockerfile.onnx.lambda
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ RUN pip3 install \
-r requirements.sdk.http.txt \
-r requirements.yolo_world.txt \
mangum \
setuptools<=75.5.0 \
"setuptools<=75.5.0" \
--upgrade \
--target "${LAMBDA_TASK_ROOT}" \
&& rm -rf ~/.cache/pip
Expand Down
2 changes: 1 addition & 1 deletion docker/dockerfiles/Dockerfile.onnx.lambda.slim
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ RUN pip3 install \
-r requirements.hosted.txt \
-r requirements.sdk.http.txt \
mangum \
setuptools<=75.5.0 \
"setuptools<=75.5.0" \
--upgrade \
--target "${LAMBDA_TASK_ROOT}" \
&& rm -rf ~/.cache/pip
Expand Down
2 changes: 1 addition & 1 deletion docker/dockerfiles/Dockerfile.onnx.trt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ RUN pip install --upgrade pip && pip install \
-r requirements.doctr.txt \
-r requirements.groundingdino.txt \
-r requirements.sdk.http.txt \
setuptools<=75.5.0 \
"setuptools<=75.5.0" \
--upgrade \
&& rm -rf ~/.cache/pip

Expand Down
2 changes: 1 addition & 1 deletion docker/dockerfiles/Dockerfile.onnx.udp.gpu
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN pip3 install --upgrade pip && pip3 install \
-r requirements.clip.txt \
-r requirements.http.txt \
-r requirements.gpu.txt \
setuptools<=75.5.0 \
"setuptools<=75.5.0" \
--upgrade \
&& rm -rf ~/.cache/pip

Expand Down
2 changes: 1 addition & 1 deletion docker/dockerfiles/Dockerfile.stream_management_api
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN pip3 install --upgrade pip && pip3 install \
-r _requirements.txt \
-r requirements.cpu.txt \
-r requirements.http.txt \
setuptools<=75.5.0 \
"setuptools<=75.5.0" \
--upgrade \
&& rm -rf ~/.cache/pip

Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements.waf.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
metlo~=0.1.5
metlo>=0.0.17,<=0.1.5

0 comments on commit e8ac049

Please sign in to comment.