aws / sagemaker-mxnet-training-toolkit

Toolkit for running MXNet training scripts on SageMaker. Dockerfiles used for building SageMaker MXNet Containers are at https://github.com/aws/deep-learning-containers.
Apache License 2.0
60 stars 55 forks source link

install experiments sdk only for python 3.6 #147

Closed danabens closed 4 years ago

danabens commented 4 years ago

install sagemaker-experiments only for python 3.6

sagemaker-bot commented 4 years ago

AWS CodeBuild CI Report

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

danabens commented 4 years ago
=================================== FAILURES ===================================
___________________________ test_training[1-py3-cpu] ___________________________

sagemaker_session = <sagemaker.session.Session object at 0x7f12a5985208>
ecr_image = '142577830533.dkr.ecr.us-west-2.amazonaws.com/sagemaker-test:1.6.0-gpu-py3-sagemaker-mxnet-container-pr-342507ca-30d5-45ef-884a-c5d723687bcd'
instance_type = 'ml.p2.xlarge', instance_count = 1

    @pytest.mark.skip_py2_containers
    def test_training(sagemaker_session, ecr_image, instance_type, instance_count):

        sm_client = sagemaker_session.sagemaker_client

        experiment_name = "mxnet-container-integ-test-{}".format(int(time.time()))

        experiment = Experiment.create(
            experiment_name=experiment_name,
            description="Integration test experiment from sagemaker-mxnet-container",
            sagemaker_boto_client=sm_client,
        )

>       trial_name = "mxnet-container-integ-test-{}".forrmat(int(time.time()))
E       AttributeError: 'str' object has no attribute 'forrmat'

test/integration/sagemaker/test_experiments.py:46: AttributeError
___________________________ test_training[2-py3-cpu] ___________________________

sagemaker_session = <sagemaker.session.Session object at 0x7f12a5985208>
ecr_image = '142577830533.dkr.ecr.us-west-2.amazonaws.com/sagemaker-test:1.6.0-gpu-py3-sagemaker-mxnet-container-pr-342507ca-30d5-45ef-884a-c5d723687bcd'
instance_type = 'ml.p2.xlarge', instance_count = 2

    @pytest.mark.skip_py2_containers
    def test_training(sagemaker_session, ecr_image, instance_type, instance_count):

        sm_client = sagemaker_session.sagemaker_client

        experiment_name = "mxnet-container-integ-test-{}".format(int(time.time()))

        experiment = Experiment.create(
            experiment_name=experiment_name,
            description="Integration test experiment from sagemaker-mxnet-container",
            sagemaker_boto_client=sm_client,
        )

>       trial_name = "mxnet-container-integ-test-{}".forrmat(int(time.time()))
E       AttributeError: 'str' object has no attribute 'forrmat'

test/integration/sagemaker/test_experiments.py:46: AttributeError
=============================== warnings summary ===============================
/usr/local/lib/python3.6/dist-packages/_pytest/mark/structures.py:324
  /usr/local/lib/python3.6/dist-packages/_pytest/mark/structures.py:324: PytestUnknownMarkWarning: Unknown pytest.mark.skip_py2_containers - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html
    PytestUnknownMarkWarning,

/usr/local/lib/python3.6/dist-packages/_pytest/mark/structures.py:324
  /usr/local/lib/python3.6/dist-packages/_pytest/mark/structures.py:324: PytestUnknownMarkWarning: Unknown pytest.mark.skip_test_in_region - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html
    PytestUnknownMarkWarning,

-- Docs: https://docs.pytest.org/en/latest/warnings.html
============== 2 failed, 7 passed, 2 warnings in 2080.89 seconds ===============
sagemaker-bot commented 4 years ago

AWS CodeBuild CI Report

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