Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/tritonbench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,18 @@ jobs:
run: |
set -eux

allowed_core=$(taskset -pc $$ | sed -n "s/.*: \([0-9][0-9]*\)-.*/\1/p")
echo "docker allowed core: ${allowed_core}"
# using `--cpuset-cpus <SINGLE_CPU_CORE>` is critical for stabilizing the performance
# on this runner (using SPR CPU). This might be related to task migration/Speed Select, etc.
# here, we are just picking a random CPU core (core 10).
# see https://github.com/pytorch/pytorch-integration-testing/issues/130
container_name=$(docker run \
${GPU_FLAG:-} \
-e DEVICE_NAME \
-e DEVICE_TYPE \
-e CONDA_ENV \
--cpuset-cpus "${allowed_core}" \
--ipc=host \
--tty \
--detach \
Expand Down
Loading