Closed
Description
I had the experience that printing to STDOUT with Python is way slower than writing to a file. I think this is due to buffering.
Due to AWS Cloudwatch only logging the STDOUT / STDERR, Sagemaker projects have to print instead of writing to files.
Is it really a good idea to have PYTHONUNBUFFERED=TRUE
(and is it really TRUE
or rather 1
?). Will performance suffer from this?
Metadata
Metadata
Assignees
Labels
No labels