We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a5ebb0 commit fc9019dCopy full SHA for fc9019d
.github/workflows/tritonbench.yml
@@ -168,7 +168,8 @@ jobs:
168
run: |
169
set -eux
170
171
- taskset -pc $$
+ allowed_cores=$(sed -n "s/.*: \([0-9][0-9]*\)-.*/\1/p" $(taskset -pc $$))
172
+ echo "docker allowed core: ${allowed_core}"
173
# using `--cpuset-cpus <SINGLE_CPU_CORE>` is critical for stabilizing the performance
174
# on this runner (using SPR CPU). This might be related to task migration/Speed Select, etc.
175
# here, we are just picking a random CPU core (core 10).
@@ -178,7 +179,7 @@ jobs:
178
179
-e DEVICE_NAME \
180
-e DEVICE_TYPE \
181
-e CONDA_ENV \
- --cpuset-cpus 145 \
182
+ --cpuset-cpus "${allowed_core}" \
183
--ipc=host \
184
--tty \
185
--detach \
0 commit comments