diff --git a/Dockerfile.tmpl b/Dockerfile.tmpl index 75a2418d..b36eef2c 100644 --- a/Dockerfile.tmpl +++ b/Dockerfile.tmpl @@ -37,6 +37,9 @@ ARG TORCHVISION_VERSION # Disable pesky logs like: KMP_AFFINITY: pid 6121 tid 6121 thread 0 bound to OS proc set 0 # See: https://stackoverflow.com/questions/57385766/disable-tensorflow-log-information ENV KMP_WARNINGS=0 +# Also make the KMP logs noverbose. +# https://stackoverflow.com/questions/70250304/stop-tensorflow-from-printing-warning-message +ENV KMP_AFFINITY="granularity=fine,noverbose,compact,1,0" ADD clean-layer.sh /tmp/clean-layer.sh ADD patches/nbconvert-extensions.tpl /opt/kaggle/nbconvert-extensions.tpl