Skip to content

add elastic inference test #11

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

Closed
wants to merge 2 commits into from
Closed

add elastic inference test #11

wants to merge 2 commits into from

Conversation

ChoiByungWook
Copy link
Contributor

@ChoiByungWook ChoiByungWook commented May 21, 2019

@ChoiByungWook ChoiByungWook requested a review from laurenyu May 21, 2019 02:25
test/conftest.py Outdated
@@ -33,7 +32,7 @@
def pytest_addoption(parser):
parser.addoption('--docker-base-name', default='preprod-mxnet-serving')
parser.addoption('--region', default='us-west-2')
parser.addoption('--framework-version', default=MXNet.LATEST_VERSION)
parser.addoption('--framework-version', default='1.4.0')
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd move this to a constant up top. also make sure this is noted in our internal documentation as a place where the framework version needs to be manually updated.


@pytest.mark.skip_if_non_supported_ei_region
@pytest.mark.skip_if_no_accelerator
def test_deploy_elastic_inference_with_pretrained_model(pretrained_model_data, ecr_image, sagemaker_session,
Copy link
Contributor

Choose a reason for hiding this comment

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

you could just call this test_deploy_elastic_inference. All of the tests in this repo start with a pretrained model.

@ChoiByungWook ChoiByungWook requested a review from laurenyu May 21, 2019 18:13
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.

2 participants