Skip to content

Fix bug in local mode #429

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 15, 2018
Merged

Fix bug in local mode #429

merged 3 commits into from
Oct 15, 2018

Conversation

icywang86rui
Copy link
Contributor

@icywang86rui icywang86rui commented Oct 12, 2018

Issue #421 , if available:

Description of changes:
We had the default value flipped for additional_env_vars and additional_volumes. This change also adds a unit test for this code path.

Merge Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works (if appropriate)
  • I have updated the changelog with a description of my changes (if appropriate)
  • I have updated any necessary documentation (if appropriate)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@codecov-io
Copy link

codecov-io commented Oct 12, 2018

Codecov Report

Merging #429 into master will increase coverage by 0.15%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #429      +/-   ##
==========================================
+ Coverage   93.56%   93.71%   +0.15%     
==========================================
  Files          55       55              
  Lines        4008     4010       +2     
==========================================
+ Hits         3750     3758       +8     
+ Misses        258      252       -6
Impacted Files Coverage Δ
src/sagemaker/local/image.py 90.76% <100%> (+1.91%) ⬆️
src/sagemaker/utils.py 90.29% <100%> (+0.19%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eea56fc...a8f160c. Read the comment docs.

@laurenyu laurenyu changed the title Fix bug in localmode Fix bug in local mode Oct 12, 2018
Copy link
Contributor

@laurenyu laurenyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changelog?

laurenyu
laurenyu previously approved these changes Oct 12, 2018
@icywang86rui icywang86rui merged commit 385d40a into aws:master Oct 15, 2018
pdasamzn pushed a commit to pdasamzn/sagemaker-python-sdk that referenced this pull request Nov 1, 2018
* Fix bug in localmode
Set correct default values for  additional_env_vars and additional_volumes and add unit test.

* Modify changelog
apacker pushed a commit to apacker/sagemaker-python-sdk that referenced this pull request Nov 15, 2018
* Make pytorch notebooks compatible with pytorch preview. Add documentation on how to use it.

* Use full framework version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants