284946801da501eb0dfa73315563fb6bd6677db3,tests/test_ops/test_environments/test_experiments.py,TestExperimentEnvironmentsConfigs,test_horovod_config,#TestExperimentEnvironmentsConfigs#,144

Before Change


        // Adding custom resources for worker 4
        config_dict["worker"] = [{
            "index": 4,
            "resources": PodResourcesConfig(
                cpu=K8SResourcesConfig(0.5, 1),
                memory=K8SResourcesConfig(256, 400)).to_dict()
        }]
        config = HorovodConfig.from_dict(config_dict)
        assert_equal_dict(config_dict, config.to_light_dict())

After Change



        // Add default worker resources
        config_dict["default_worker"] = {
            "resources": {
                "requests": {"cpu": 0.5, "gpu": 2, "tpu": 2},
                "limits": {"cpu": 1, "gpu": 4, "tpu": 8},
            }
        }
        config = HorovodConfig.from_dict(config_dict)
        assert_equal_dict(config_dict, config.to_dict())
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: polyaxon/polyaxon
Commit Name: 284946801da501eb0dfa73315563fb6bd6677db3
Time: 2019-08-15
Author: mouradmourafiq@gmail.com
File Name: tests/test_ops/test_environments/test_experiments.py
Class Name: TestExperimentEnvironmentsConfigs
Method Name: test_horovod_config


Project Name: polyaxon/polyaxon
Commit Name: 284946801da501eb0dfa73315563fb6bd6677db3
Time: 2019-08-15
Author: mouradmourafiq@gmail.com
File Name: tests/test_ops/test_environments/test_base.py
Class Name: TestEnvironmentsConfigs
Method Name: test_environment_config


Project Name: polyaxon/polyaxon
Commit Name: 284946801da501eb0dfa73315563fb6bd6677db3
Time: 2019-08-15
Author: mouradmourafiq@gmail.com
File Name: tests/test_ops/test_environments/test_experiments.py
Class Name: TestExperimentEnvironmentsConfigs
Method Name: test_horovod_config


Project Name: polyaxon/polyaxon
Commit Name: 284946801da501eb0dfa73315563fb6bd6677db3
Time: 2019-08-15
Author: mouradmourafiq@gmail.com
File Name: tests/test_ops/test_environments/test_experiments.py
Class Name: TestExperimentEnvironmentsConfigs
Method Name: test_pytorch_config