Skip to content

Update empty framework_version warning #472

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 4 commits into from
Nov 13, 2018

Conversation

laurenyu
Copy link
Contributor

This is in accordance with our new strategy around this since we're no longer making framework_version completely mandatory

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 Nov 12, 2018

Codecov Report

Merging #472 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #472      +/-   ##
==========================================
+ Coverage   94.04%   94.04%   +<.01%     
==========================================
  Files          57       57              
  Lines        4263     4268       +5     
==========================================
+ Hits         4009     4014       +5     
  Misses        254      254
Impacted Files Coverage Δ
src/sagemaker/fw_utils.py 100% <100%> (ø) ⬆️
src/sagemaker/tensorflow/estimator.py 93.83% <100%> (ø) ⬆️
src/sagemaker/mxnet/estimator.py 100% <100%> (ø) ⬆️
src/sagemaker/chainer/estimator.py 100% <100%> (ø) ⬆️
src/sagemaker/pytorch/estimator.py 100% <100%> (ø) ⬆️

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 e127797...61df428. Read the comment docs.

@@ -232,5 +232,8 @@ def model_code_key_prefix(code_location_key_prefix, model_name, image):
return '/'.join(filter(None, [code_location_key_prefix, model_name or training_job_name]))


def empty_framework_version_warning(default_version):
return EMPTY_FRAMEWORK_VERSION_WARNING.format(default_version)
def empty_framework_version_warning(default_version, latest_version):
Copy link
Contributor

Choose a reason for hiding this comment

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

Unit tests please.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added

@laurenyu laurenyu merged commit 4b34fbd into aws:master Nov 13, 2018
@laurenyu laurenyu deleted the require-framework-version branch November 13, 2018 01:24
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