Skip to content

change: enable Neo integ tests #1309

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 2 commits into from
Feb 25, 2020
Merged

Conversation

laurenyu
Copy link
Contributor

Issue #, if available:

Description of changes:
These tests were introduced as part of re:Invent 2018 (#513). We have the necessary AWS SDK version for these tests, and so after 15 months I think we should probably enable them 😂

This change also fixes the logic for generating a model name when compiling a model if self.name is not already set.

Testing done:
pytest tests/integ/test_neo_mxnet.py

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.

General

  • I have read the CONTRIBUTING doc
  • I used the commit message format described in CONTRIBUTING
  • I have used the regional endpoint when creating S3 and/or STS clients (if appropriate)
  • I have updated any necessary documentation, including READMEs and API docs (if appropriate)

Tests

  • I have added tests that prove my fix is effective or that my feature works (if appropriate)
  • I have checked that my tests are not configured for a specific region or account (if appropriate)
  • I have used unique_name_from_base to create resource names in integ tests (if appropriate)

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

This change also fixes the logic for generating a
model name when compiling a model if self.name is
not already set.
@laurenyu laurenyu requested a review from knakad February 25, 2020 01:50
@sagemaker-bot
Copy link
Collaborator

AWS CodeBuild CI Report

  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@sagemaker-bot
Copy link
Collaborator

AWS CodeBuild CI Report

  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@sagemaker-bot
Copy link
Collaborator

AWS CodeBuild CI Report

  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@sagemaker-bot
Copy link
Collaborator

AWS CodeBuild CI Report

  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@@ -286,7 +286,7 @@ def alternative_cpu_instance_type(sagemaker_session, request):

@pytest.fixture(scope="session")
def cpu_instance_family(cpu_instance_type):
"_".join(cpu_instance_type.split(".")[0:2])
return "_".join(cpu_instance_type.split(".")[0:2])
Copy link
Contributor

Choose a reason for hiding this comment

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

lol



### NOTE: this function cannot use MXNet
# NOTE: this function cannot use MXNet
Copy link
Contributor

Choose a reason for hiding this comment

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

[INFO] For prod code, I'd probably also modify this to actually print something out, because that's much more discoverable than the comment. Not worth the effort for a test script, though.

@laurenyu laurenyu merged commit 99b7b48 into aws:master Feb 25, 2020
@laurenyu laurenyu deleted the enable-neo-tests branch February 25, 2020 17:12
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