awslabs / awslabs/sagemaker-debugger

TypeError: os.environ.get() takes no keyword argument (breaking all PyTorch training jobs)

Open
#419 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
165
Forks
82
PR merge metrics
No merged PRs in 30d

Description

https://github.com/awslabs/sagemaker-debugger/blob/9d2d0c3fe9c7745d532e6ec1daae9e6c094394ca/smdebug/core/logger.py#L51

I am getting this error in any kind of PyTorch training job
![Screen Shot 2021-01-08 at 7 36 22 PM](https://user-images.githubusercontent.com/1638254/104079586-88d7b580-51e9-11eb-81de-693aa0e96748.png)

Contributor guide

Open the contributing guide

Research direction

Start at smdebug/core/logger.py line 51 and inspect the os.environ.get() call against the reported TypeError. Reproduce the issue with a PyTorch training job and confirm that the job completes without this exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python, pytorch
Domain
devtools, machine-learning
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.