-
Notifications
You must be signed in to change notification settings - Fork 520
Fix to execute efa tests on mainline #1083
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
Conversation
|
SM local tests are passing now and SM remote tests are running |
| f"pytest -rA {integration_path} --region {region} --processor {processor} {docker_base_arg} " | ||
| f"{sm_remote_docker_base_name} --tag {tag} {framework_version_arg} {framework_version} " | ||
| f"{aws_id_arg} {account_id} {instance_type_arg} {instance_type} --junitxml {test_report}" | ||
| f"{aws_id_arg} {account_id} {instance_type_arg} {instance_type} {efa_flag} --junitxml {test_report}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
efa is just needed for SM training remote tests
| parser.addoption('--tag', default=None) | ||
| parser.addoption('--generate-coverage-doc', default=False, action='store_true', | ||
| help='use this option to generate test coverage doc') | ||
| parser.addoption( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was added for local SM tests, but we dont have EFA for local SM tests
Issue #, if available:
PR Checklist
Pytest Marker Checklist
@pytest.mark.model("<model-type>")to the new tests which I have added, to specify the Deep Learning model that is used in the test (use"N/A"if the test doesn't use a model)@pytest.mark.integration("<feature-being-tested>")to the new tests which I have added, to specify the feature that will be tested@pytest.mark.multinode(<integer-num-nodes>)to the new tests which I have added, to specify the number of nodes used on a multi-node test@pytest.mark.processor(<"cpu"/"gpu"/"eia"/"neuron">)to the new tests which I have added, if a test is specifically applicable to only one processor typeEIA/NEURON Checklist
src/config/build_config.pyin my PR branch by settingENABLE_EI_MODE = TrueorENABLE_NEURON_MODE = TrueBenchmark Checklist
src/config/test_config.pyin my PR branch by settingENABLE_BENCHMARK_DEV_MODE = TrueReviewer Checklist
Description:
Tests run:
DLC image/dockerfile:
Additional context:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.