92718de40c6ee67e37b25988d7f3c9f72df4dcb4,python/ray/util/sgd/torch/torch_trainer.py,TorchTrainer,__init__,#,139

Before Change


        self.add_dist_sampler = add_dist_sampler
        self.use_local = use_local

        if apex_args and not isinstance(apex_args, dict):
            raise ValueError("apex_args needs to be a dict object.")

        self.apex_args = apex_args
        self.temp_dir = tempfile.mkdtemp(prefix="raysgd")
        self._num_failures = 0
        self._last_resize = float("-inf")

After Change


                "batch size to be used across all workers.")

        if apex_args is not None:
            raise DeprecationWarning(
                "apex_args is deprecated. Pass in apex_args when calling "
                "`register` in the `setup` method of your `TrainingOperator` "
                "instead.")

        if serialize_data_creation is True:
            if log_once("serialize_data_creation"):
                logging.warning(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: ray-project/ray
Commit Name: 92718de40c6ee67e37b25988d7f3c9f72df4dcb4
Time: 2020-11-04
Author: amogkam@users.noreply.github.com
File Name: python/ray/util/sgd/torch/torch_trainer.py
Class Name: TorchTrainer
Method Name: __init__


Project Name: ray-project/ray
Commit Name: 415be78cc0d1275a29d0ceda550d0d7a7a5224ea
Time: 2020-09-08
Author: amogkam@users.noreply.github.com
File Name: python/ray/util/sgd/torch/torch_trainer.py
Class Name: TorchTrainer
Method Name: __init__


Project Name: ray-project/ray
Commit Name: 836c5d5a910920a5c7b253996151632628e3cf88
Time: 2020-12-28
Author: ekhliang@gmail.com
File Name: python/ray/experimental/dynamic_resources.py
Class Name:
Method Name: set_resource