You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
container_log_level does not work in TensorFlow estimator #1875
I expect now logs lower than WARNING will be included in the training job logs. However, a lot of INFO level logs are observed. Particularly, a lot of INFO logs related to frequent checkpoint uploading (from instance to S3) are observed, which makes the entire log super long. I tried logging.ERROR and no luck either.
Expected behavior
No log except WARNING and ERROR level ones should be observed.
Screenshots or logs
If applicable, add screenshots or logs to help explain your problem.
System information
A description of your system. Please provide:
SageMaker Python SDK version: 2.5.1
Framework name (eg. PyTorch) or algorithm (eg. KMeans): TensorFlow
With the above logic, as long as logging level >= logging.INFO, boto3 and s3transfer will ALWAYS have logging.INFO and botocore will always have logging.WARN.
We should pass the log_level as it is to training-toolkit's logger configure
Activity
chuyang-deng commentedon Sep 20, 2020
logger config in sagemaker-training-toolkit does not seem to be configured correctly with log levels: https://github.com/aws/sagemaker-training-toolkit/blob/master/src/sagemaker_training/logging_config.py#L39
With the above logic, as long as logging level >=
logging.INFO, boto3 and s3transfer will ALWAYS havelogging.INFOand botocore will always havelogging.WARN.We should pass the
log_levelas it is to training-toolkit's logger configureicywang86rui commentedon Nov 23, 2020
Fix is merged. Closing the issue. Feel free to reopen if the problem still persists.
Release PySDK V3
Release PySDK V3