Skip to content

Commit 3aa31e9

Browse files
authored
Add Dask config to control logging (#380)
1 parent ab438a6 commit 3aa31e9

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

docker/1.5-1/final/Dockerfile.cpu

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ RUN chmod +x /tmp/plugins/endpoints-1.0.jar
5454
RUN mkdir -p /opt/ml/models
5555
RUN chmod +rwx /opt/ml/models
5656

57+
# Copy Dask configs
58+
RUN mkdir /etc/dask
59+
COPY docker/configs/dask_configs.yaml /etc/dask/
60+
5761
# Required label for multi-model loading
5862
LABEL com.amazonaws.sagemaker.capabilities.multi-models=true
5963

docker/configs/dask_configs.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
logging:
2+
distributed.comm.tcp: warning
3+
distributed.nanny: critical

0 commit comments

Comments
 (0)