Skip to content

Commit 4cc1cd5

Browse files
authored
1 parent 3cbacc0 commit 4cc1cd5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile.tmpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ ARG TORCHVISION_VERSION
3737
# Disable pesky logs like: KMP_AFFINITY: pid 6121 tid 6121 thread 0 bound to OS proc set 0
3838
# See: https://stackoverflow.com/questions/57385766/disable-tensorflow-log-information
3939
ENV KMP_WARNINGS=0
40+
# Also make the KMP logs noverbose.
41+
# https://stackoverflow.com/questions/70250304/stop-tensorflow-from-printing-warning-message
42+
ENV KMP_AFFINITY="granularity=fine,noverbose,compact,1,0"
4043

4144
ADD clean-layer.sh /tmp/clean-layer.sh
4245
ADD patches/nbconvert-extensions.tpl /opt/kaggle/nbconvert-extensions.tpl

0 commit comments

Comments
 (0)