Skip to content

Commit 427c09c

Browse files
committed
get allowed core
1 parent 0551ab9 commit 427c09c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/tritonbench.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ jobs:
168168
run: |
169169
set -eux
170170
171-
allowed_core=$(sed -n "s/.*: \([0-9][0-9]*\)-.*/\1/p" $(taskset -pc $$))
171+
allowed_core=$(taskset -pc $$ | sed -n "s/.*: \([0-9][0-9]*\)-.*/\1/p")
172172
echo "docker allowed core: ${allowed_core}"
173173
# using `--cpuset-cpus <SINGLE_CPU_CORE>` is critical for stabilizing the performance
174174
# on this runner (using SPR CPU). This might be related to task migration/Speed Select, etc.

0 commit comments

Comments
 (0)