Skip to content

Commit 7c1e27f

Browse files
committed
inf2 test
1 parent c74a29e commit 7c1e27f

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

.github/workflows/benchmark_nightly.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,18 @@ name: Benchmark torchserve nightly
22

33
on:
44
# run every day at 2:15am
5-
schedule:
6-
- cron: '15 02 * * *'
5+
# schedule:
6+
# - cron: '15 02 * * *'
7+
push:
8+
branch:
9+
- inf2_fix
710

811
jobs:
912
nightly:
1013
strategy:
1114
fail-fast: false
1215
matrix:
13-
hardware: [cpu, gpu, inf2]
16+
hardware: [inf2] #[cpu, gpu, inf2]
1417
runs-on:
1518
- self-hosted
1619
- ${{ matrix.hardware }}

docker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ RUN --mount=type=cache,id=apt-dev,target=/var/cache/apt \
6060
RUN python$PYTHON_VERSION -m venv /home/venv
6161
ENV PATH="/home/venv/bin:$PATH"
6262

63-
RUN python -m pip install -U pip setuptools
63+
RUN python -m pip install -U pip setuptools==69.5.1
6464

6565
# This is only useful for cuda env
6666
RUN export USE_CUDA=1

docker/Dockerfile.neuron.dev

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ RUN --mount=type=cache,id=apt-dev,target=/var/cache/apt \
4949
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1 \
5050
&& update-alternatives --install /usr/local/bin/pip pip /usr/local/bin/pip3 1
5151

52-
RUN pip install -U pip setuptools
52+
RUN pip install -U pip setuptools==69.5.1
5353

5454
RUN echo "deb https://apt.repos.neuron.amazonaws.com bionic main" > /etc/apt/sources.list.d/neuron.list
5555
RUN wget -qO - https://apt.repos.neuron.amazonaws.com/GPG-PUB-KEY-AMAZON-AWS-NEURON.PUB | apt-key add -

kubernetes/kserve/Dockerfile.dev

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ RUN --mount=type=cache,id=apt-dev,target=/var/cache/apt \
4949
&& update-alternatives --install /usr/bin/python python /usr/bin/python3.8 1
5050

5151
#ADD "https://www.random.org/cgi-bin/randbyte?nbytes=10&format=h" skipcache
52-
RUN python -m pip install -U pip setuptools
52+
RUN python -m pip install -U pip setuptools==69.5.1
5353

5454
# Build Dev Image
5555
FROM compile-image AS dev-image

0 commit comments

Comments
 (0)