orion icon indicating copy to clipboard operation
orion copied to clipboard

Reduce Warnings to a minimum

Open Delaunay opened this issue 2 years ago • 0 comments

Reduce Warnings to a minimum

Latest Warning summary:

   tests/functional/algos/test_algos.py: 492 warnings
     /home/runner/work/orion/orion/.tox/py-all/lib/python3.7/site-packages/paramz/parameterized.py:271: DeprecationWarning:Assigning the 'data' attribute is an inherently unsafe operation and will be removed in the future.
  
  tests/functional/algos/test_algos.py: 492 warnings
     /home/runner/work/orion/orion/.tox/py-all/lib/python3.7/site-packages/paramz/parameterized.py:272: DeprecationWarning:Assigning the 'data' attribute is an inherently unsafe operation and will be removed in the future.
  
  tests/functional/algos/test_algos.py: 328 warnings
     /home/runner/work/orion/orion/.tox/py-all/lib/python3.7/site-packages/paramz/core/parameter_core.py:290: DeprecationWarning:Assigning the 'data' attribute is an inherently unsafe operation and will be removed in the future.
  
  tests/functional/algos/test_algos.py: 328 warnings
     /home/runner/work/orion/orion/.tox/py-all/lib/python3.7/site-packages/paramz/core/parameter_core.py:291: DeprecationWarning:Assigning the 'data' attribute is an inherently unsafe operation and will be removed in the future.
  
  tests/functional/branching/test_branching.py: 7886 warnings
  tests/functional/commands/test_status_command.py: 16 warnings
  tests/functional/core/worker/test_experiment_functional.py: 69 warnings
  tests/functional/serving/test_trials_resource.py: 4 warnings
  tests/unittests/algo/test_evolution_es.py: 4 warnings
    /home/runner/work/orion/orion/src/orion/core/worker/trial.py:544: DeprecationWarning:
    
    Argument ignore_experiment is deprecated and will be removed in v0.3.0. Trial.id does not include experiment id since release v0.2.5.
  
  tests/functional/commands/test_plot_commands.py: 10 warnings
  tests/functional/serving/test_plots_resource.py: 10 warnings
    /home/runner/work/orion/orion/src/orion/analysis/lpi_utils.py:51: RuntimeWarning:
    
    invalid value encountered in true_divide
  
  tests/functional/configuration/test_all_options.py: 1 warning
  tests/functional/demo/test_demo.py: 1 warning
  tests/functional/storage/test_io.py: 1 warning
  tests/unittests/benchmark/test_assessments.py: 23 warnings
  tests/unittests/benchmark/test_benchmark.py: 24 warnings
  tests/unittests/benchmark/test_benchmark_client.py: 3 warnings
    /home/runner/work/orion/orion/src/orion/executor/joblib_backend.py:11: DeprecationWarning:
    
    Joblib is deprecated and will be removed in v0.4.0.Use PoolExecutor instead.
  
  tests/unittests/algo/test_configspace.py::test_orion_configspace
  tests/unittests/algo/test_configspace.py::test_orion_configspace_kwargs
    /home/runner/work/orion/orion/src/orion/algo/space/configspace.py:172: UserWarning:
    
    Setting quantization < 1 for Integer Hyperparameter 'n4' has no effect.
  
  tests/unittests/algo/test_configspace.py::test_orion_configspace
    /home/runner/work/orion/orion/src/orion/algo/space/configspace.py:155: UserWarning:
    
    Setting quantization < 1 for Integer Hyperparameter 'r1i' has no effect.
  
  tests/unittests/algo/test_configspace.py::test_orion_configspace
  tests/unittests/algo/test_configspace.py::test_orion_configspace_kwargs
    /home/runner/work/orion/orion/src/orion/algo/space/configspace.py:155: UserWarning:
    
    Setting quantization < 1 for Integer Hyperparameter 'u1i' has no effect.
  
  tests/unittests/algo/test_configspace.py::test_orion_configspace
  tests/unittests/algo/test_configspace.py::test_orion_configspace_kwargs
    /home/runner/work/orion/orion/src/orion/algo/space/configspace.py:155: UserWarning:
    
    Setting quantization < 1 for Integer Hyperparameter 'u2i' has no effect.
  
  tests/unittests/algo/test_configspace.py::test_orion_configspace
  tests/unittests/algo/test_configspace.py::test_orion_configspace_kwargs
    /home/runner/work/orion/orion/src/orion/algo/space/configspace.py:155: UserWarning:
    
    Setting quantization < 1 for Integer Hyperparameter 'u3i' has no effect.
  
  tests/unittests/algo/test_configspace.py::test_orion_configspace
  tests/unittests/algo/test_configspace.py::test_orion_configspace_kwargs
    /home/runner/work/orion/orion/src/orion/algo/space/configspace.py:155: UserWarning:
    
    Setting quantization < 1 for Integer Hyperparameter 'u4i' has no effect.
  
  tests/unittests/algo/test_configspace.py::test_orion_configspace_kwargs
    /home/runner/work/orion/orion/src/orion/algo/space/configspace.py:155: UserWarning:
    
    Setting quantization < 1 for Integer Hyperparameter 'r2i' has no effect.
  
  tests/unittests/algo/test_tpe.py::TestGMMSampler::test_get_loglikelis
    /home/runner/work/orion/orion/src/orion/algo/tpe/tpe.py:702: RuntimeWarning:
    
    divide by zero encountered in log
  
  tests/unittests/algo/pbt/test_pb2.py: 1860 warnings
    /home/runner/work/orion/orion/.tox/py-all/lib/python3.7/site-packages/paramz/parameterized.py:271: DeprecationWarning:
    
    Assigning the 'data' attribute is an inherently unsafe operation and will be removed in the future.
  
  tests/unittests/algo/pbt/test_pb2.py: 1860 warnings
    /home/runner/work/orion/orion/.tox/py-all/lib/python3.7/site-packages/paramz/parameterized.py:272: DeprecationWarning:
    
    Assigning the 'data' attribute is an inherently unsafe operation and will be removed in the future.
  
  tests/unittests/algo/pbt/test_pb2.py: 1240 warnings
    /home/runner/work/orion/orion/.tox/py-all/lib/python3.7/site-packages/paramz/core/parameter_core.py:290: DeprecationWarning:
    
    Assigning the 'data' attribute is an inherently unsafe operation and will be removed in the future.
  
  tests/unittests/algo/pbt/test_pb2.py: 1240 warnings
    /home/runner/work/orion/orion/.tox/py-all/lib/python3.7/site-packages/paramz/core/parameter_core.py:291: DeprecationWarning:
    
    Assigning the 'data' attribute is an inherently unsafe operation and will be removed in the future.
  

Delaunay avatar Dec 19 '22 16:12 Delaunay